[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Is there a save-outline-visibility excursion or so?
From: |
Thorsten Jolitz |
Subject: |
Is there a save-outline-visibility excursion or so? |
Date: |
Wed, 22 May 2013 11:13:08 +0200 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) |
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.
--
cheers,
Thorsten