emacs-orgmode
[Top][All Lists]
Advanced

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

[O] save folded state


From: John Kitchin
Subject: [O] save folded state
Date: Mon, 26 Jan 2015 19:54:04 -0500

I am trying to map over a buffer with headlines in various states of
folded, and get context around certain elements. I find I need to fully
expand the buffer to get the context in the way I am currently doing it
(e.g. getting the lines around the element), but I would like to put the
buffer back to the way it was when I am finished. This is not done with
the usual macros like save-excursion, save-restriction, etc... Is there
a way to do this other than a temp buffer?

thanks,

--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



reply via email to

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