emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] undo and folding


From: Carsten Dominik
Subject: Re: [Orgmode] undo and folding
Date: Mon, 24 Nov 2008 22:09:50 +0100

Not that I know.  Maybe some advice around the undo function,
to make at least point visible after an undo command?  This is
untested, and may be incomplete since it does not take into
account the range in the buffer that was really affected by the undo.
But it may already help:

(defadvice undo (after org-undo-reveal activate)
  "Make point and context visible after an undo command in Org-mode."
  (and (org-mode-p) (org-reveal)))


HTH

- Carsten


On Nov 24, 2008, at 8:44 PM, Samuel Wales wrote:

Very often, I will hit undo, only to find that all of the changes it
makes are hidden in a folded subtree.  Combined with the lack of a
non-buggy true redo, this makes things very confusing.

Is there a way to fix this?

--
Myalgic encephalomyelitis denialists are knowingly causing further
suffering and death by opposing biomedical research on this
fast-spreading serious disease.  Do you care about the world?
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

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