emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

extended background on org-block-end-line


From: Al Haji-Ali
Subject: extended background on org-block-end-line
Date: Tue, 08 Nov 2022 17:52:00 +0000

I'll admit this "bug" is not critical, but it is visually annoying (at least to 
me).
When hiding an org entry, source blocks with extended backgrounds remain 
visible.

To re-produce:

0. Run `emacs -Q`

1. Create a buffer with this content and ensure `org-mode` is on
------------------------------------------------------------
* One
#+begin_src emacs-lisp
#+end_src
* Two
#+begin_src emacs-lisp
#+end_src
------------------------------------------------------------

2. Change the face `org-block-end-line` to have an extended background on the 
end-line of the
org-block

(set-face-attribute
   'org-block-end-line nil
   :extend t
   :background "#4e5079")

4. Go to "One" and press tab

5. Notice how the background colour now appears next to "One".

Is there a way to fix this? Note that if the org-block is not the last line in 
the entry (for example if there's an empty line before "* Two") then the visual 
artefact is not present.  

-- Al



reply via email to

[Prev in Thread] Current Thread [Next in Thread]