emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* extended background on org-block-end-line
@ 2022-11-08 17:52 Al Haji-Ali
  2022-11-09  2:26 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Al Haji-Ali @ 2022-11-08 17:52 UTC (permalink / raw)
  To: emacs-orgmode


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-10  1:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-08 17:52 extended background on org-block-end-line Al Haji-Ali
2022-11-09  2:26 ` Ihor Radchenko
2022-11-09 14:14   ` Abdul-Lateef Haji-Ali
2022-11-10  1:38     ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).