emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Visibility cycling applied on several windows


From: Bastien
Subject: Re: [O] Visibility cycling applied on several windows
Date: Wed, 03 Apr 2013 11:42:51 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)


Hi Francesco,

"Francesco Pizzolante"
<fpz-djc/address@hidden> writes:

> Hi Christopher and Thorsten,
>
> Thanks for your replies.
>
> Christopher Schmidt wrote:
>> Thorsten Jolitz <address@hidden> writes:
>>> maybe this is what you need (untested):
>>>
>>> http://www.gnu.org/software/emacs/manual/html_node/emacs/Indirect-Buffers.html
>>
>> No, an indirect buffer shares its parent's text properties.
>
> It's true: the indirect buffer shares its parent's text properties.

Org-mode relies on outline-mode for visibility cycling, and
outline-mode uses overlay to set the visibility of various parts
of the buffer.

> But, the visibility cycling is applied only in the active window: either in
> the main buffer or in the indirect buffer but not in both windows at the same
> time. So, it works as expected to me. Thanks for the trick!
>
> But this trick seems like a workaround to meĀ : using visibility cycling in one
> window should not affect another window, isn't it?

Overlays are inherited at cloning time, but not each time they are
modified, either in the window displaying the base buffer, or in the
window displaying an indirect buffer -- while text properties are
inherited each time they are modified in any buffer.

HTH,

-- 
 Bastien




reply via email to

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