help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Is there a save-outline-visibility excursion or so?


From: Jambunathan K
Subject: Re: Is there a save-outline-visibility excursion or so?
Date: Wed, 22 May 2013 14:48:00 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

C-h f save-restriction

You will find plenty of examples in Orgmode codebase.



Thorsten Jolitz <tjolitz@gmail.com> writes:

> Hi List, 
>
> I wonder if there is something like a 'save-excursion' for outline
> visibility around? A kind of 'save-outline-visibility' function/macro
> that would enable to change visibility state of an outlined buffer, do
> some actions that depend on that visibility state in a program, and go
> back to that exact state of folded and unfolded subtrees afterwards. 
>
> I'm not talking about global visibility cycling, more about something
> similar to what window managers do - go from one complicated visibility
> state to another (maybe simple) state (like show-all or hide-all), but
> be able to go back to that complicated state with exactly the same
> subtrees folded or unfolded like before. 



reply via email to

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