Hi Dan, Dan Davison wrote: > Sébastien Vauban <wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org> > writes: >> Dan Davison wrote: >>> Sébastien Vauban >>> <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw-XMD5yJDbdMSQIYZ4X/+iSw@public.gmane.orgrg> >>> 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, containing >>>>> 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 having a play with the patched file. Best regards, Seb -- Sébastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode