emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Simen Heggestøyl" <simenheg@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Blocks spill their background color [8.3beta (release_8.3beta-1145-g45555d @ /home/simen/src/org-mode/lisp/)]
Date: Mon, 18 May 2015 09:19:14 +0200	[thread overview]
Message-ID: <87d21y73pp.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <1431868742.13648.0@smtp.gmail.com> ("Simen \=\?utf-8\?Q\?Heggest\?\= \=\?utf-8\?Q\?\=C3\=B8yl\=22's\?\= message of "Sun, 17 May 2015 15:19:02 +0200")

Hello,

Simen Heggestøyl <simenheg@gmail.com> writes:

> When positioned at the end of an outline node, blocks will spill their
> background color (defined by the `org-block-end-line' face) when the
> node is folded.
>
> To see this, paste the following lines into an Org buffer, and make
> sure that a background color is set for `org-block-end-line':
>
>
> * One
> #+BEGIN_SRC
> #+END_SRC
> This is OK, it won't spill. * Two This will spill.
> #+BEGIN_SRC
> #+END_SRC
> * Three
> Spill is gone now.
>
>
> When the node "Two" is folded, the background color will still be
> painted all the way to the right fringe (as can be viewed here:
> http://folk.uio.no/simenheg/org-spill.png). This becomes especially
> prominent when using a theme that sets a background color for
> `org-block-end-line', for instance the built-in Leuven theme.

AFAICT, there's not much we can do about it. It seems to be inherent to
how overlays and text properties work.

You can insert a blank line after your second block.

Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2015-05-18  7:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-17 13:19 Bug: Blocks spill their background color [8.3beta (release_8.3beta-1145-g45555d @ /home/simen/src/org-mode/lisp/)] Simen Heggestøyl
2015-05-18  7:19 ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d21y73pp.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=simenheg@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).