emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Fontification of blocks


From: Dan Davison
Subject: [Orgmode] Re: Fontification of blocks
Date: Wed, 09 Feb 2011 08:40:17 +0000
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (darwin)

>>>>>> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]