[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undo-tree.el
From: |
Stefan Monnier |
Subject: |
Re: undo-tree.el |
Date: |
Sun, 29 Nov 2009 21:45:14 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
> 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