all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: undo-tree.el
       [not found] ` <mailman.11743.1259444366.2239.gnu-emacs-sources@gnu.org>
@ 2009-11-30  2:45   ` Stefan Monnier
  0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2009-11-30  2:45 UTC (permalink / raw
  To: help-gnu-emacs

> does not store it) is visibility.  If you are in org-mode, and you
> undo, you want the folding state of subtrees to be as it was, else you
> can undo stuff that is hidden etc.  I wonder if that is possible, or,
> if not, if Emacs can be made to support it for your package.

Since folding state is usually kept in overlays, and overlay state is
not tracked in the undo log, this doesn't happen automatically, indeed.
But org-mode could save those modifications manually by adding the
relevant entries to the undo-log.


        Stefan


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-30  2:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20091128155106.GK7458@c3po>
     [not found] ` <mailman.11743.1259444366.2239.gnu-emacs-sources@gnu.org>
2009-11-30  2:45   ` undo-tree.el Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.