From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Fontification of blocks Date: Wed, 09 Feb 2011 08:40:17 +0000 Message-ID: References: <80aakevw4w.fsf@missioncriticalit.com> <8739q1ihas.fsf@gmail.com> <80r5dlpfj6.fsf@missioncriticalit.com> <87ei9jkl0l.fsf@gmail.com> <80sjw7qxem.fsf@missioncriticalit.com> <80pqra2nqj.fsf@missioncriticalit.com> <80sjvzsjq7.fsf@missioncriticalit.com> <80oc6mz3jy.fsf@missioncriticalit.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=38018 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pn5b8-0008J6-VH for emacs-orgmode@gnu.org; Wed, 09 Feb 2011 03:40:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pn5b7-0006pr-ON for emacs-orgmode@gnu.org; Wed, 09 Feb 2011 03:40:26 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:46666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pn5b7-0006pa-H0 for emacs-orgmode@gnu.org; Wed, 09 Feb 2011 03:40:25 -0500 Received: by wyj26 with SMTP id 26so7023623wyj.0 for ; Wed, 09 Feb 2011 00:40:24 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: emacs org-mode mailing list >>>>>> Just quickly, one thing I noticed is that the begin/end lines were >>>>>> visible even inside folded trees. I.e., in a folded org file, containing >>>>>> many src blocks, I could see the coloured backgrounds "poking out" of >>>>>> the folded sections, extending to the right of the screen. [...] >> E.g. this file >> >> --------------------------------- >> * heading >> #+begin_src emacs-lisp >> 1 >> #+end_src >> --------------------------------- > > I could reproduce it with your above file, if the file ends on the end_src > line. > > The following: > > * heading > > #+begin_src emacs-lisp > 1 > #+end_src > * other heading > > also exhibits the problem, but this one: > > * heading > > #+begin_src emacs-lisp > 1 > #+end_src > > * other heading > > does not. > > So, it is related to the fact that the block is the last line of the subtree > or of the file. > > As I always have newlines before headings, I don't see such a problem on my > docs. > > Dan, can you confirm the above observation? Confirm. Good point. > > Knowing this, do you have an idea on how to fix it? No. I do see things like this from time to time with outline-minor-mode. Can anyone suggest how to solve this folding/overlay/visibility problem? Dan > If not, I'll try having a > play with the patched file. > > Best regards, > Seb