From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Fontification of blocks Date: Tue, 08 Feb 2011 21:14:57 +0100 Message-ID: <80oc6mz3jy.fsf@missioncriticalit.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Dan, Dan Davison wrote: > S=C3=A9bastien Vauban writes: >> Dan Davison wrote: >>> S=C3=A9bastien Vauban writes: >>>> Dan Davison wrote: >>>>> 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, contain= ing >>>>> many src blocks, I could see the coloured backgrounds "poking out" of >>>>> the folded sections, extending to the right of the screen. Do you see >>>>> that? >>> >>> I would say this is a bug. >> >> Indeed, that's definitely a bug. >> Can you send me your file, for me to test if I have the same problem? > > I don't have that file any longer, but the problem occurs with all > files. It is somewhat unpredictable -- I mess about with block > show/hide, and global visibility cycling, and it happens eventually if > not at first. 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: --8<---------------cut here---------------start------------->8--- * heading #+begin_src emacs-lisp 1 #+end_src * other heading --8<---------------cut here---------------end--------------->8--- also exhibits the problem, but this one: --8<---------------cut here---------------start------------->8--- * heading #+begin_src emacs-lisp 1 #+end_src * other heading --8<---------------cut here---------------end--------------->8--- 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? Knowing this, do you have an idea on how to fix it? If not, I'll try havin= g a play with the patched file. Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode