From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou 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 Message-ID: <87d21y73pp.fsf@nicolasgoaziou.fr> References: <1431868742.13648.0@smtp.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuFJ9-0007s1-Se for emacs-orgmode@gnu.org; Mon, 18 May 2015 03:17:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YuFJ8-0005la-TB for emacs-orgmode@gnu.org; Mon, 18 May 2015 03:17:51 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:53485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuFJ8-0005lR-NI for emacs-orgmode@gnu.org; Mon, 18 May 2015 03:17:50 -0400 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") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Simen =?utf-8?Q?Heggest=C3=B8yl?= Cc: emacs-orgmode@gnu.org Hello, Simen Heggest=C3=B8yl 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, --=20 Nicolas Goaziou