[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to do proper folding and semantic markup
From: |
Nick Dokos |
Subject: |
Re: [O] How to do proper folding and semantic markup |
Date: |
Tue, 05 Apr 2016 18:04:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Eduardo Mercovich <address@hidden> writes:
> Hi Adam.
>
>>> Also less known that it deserves, for focusing I do use narrowing a
>>> lot: [...]
>
>> Yeah, that's basically what tree-to-indirect does, it makes an indirect
>> buffer and then narrows it. So you can widen the indirect buffer and get
>> another view of the whole buffer. [...]
>
> Excuse me if this sounds almost philosophical, but in which situation an
> indirect buffer may be better that just focusing on the same (original)
> buffer? For example, when you are toying with potentially big
> modifications and don't want to replace the original? Is it like opening
> a parallel path to try things without worries?
>
No - if you change the indirect buffer, you change the base buffer as
well. See
(info "(elisp) Indirect buffers")
For some uses, see
https://www.emacswiki.org/emacs/IndirectBuffers
--
nick