all messages for Emacs-related lists mirrored at yhetil.org
 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; 5+ 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] 5+ messages in thread

end of thread, other threads:[~2024-04-08 14:18 UTC | newest]

Thread overview: 5+ 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
2024-04-08 14:18   ` Ihor Radchenko

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.