On Feb 11, 2009, at 8:01 AM, Nicholas Sandow wrote:
Hi,
I've noticed that in org-mode, undo undoes one character at a time.
Normally in Emacs, undo is done in chunks. To quote from the manual:
Usually each editing command makes a separate entry in the undo
records, but some commands such as `query-replace' divide their
changes into multiple entries for flexibility in undoing.
Meanwhile, self-inserting characters are usually grouped to make
undoing less tedious.
So to undo a sentence that you've typed in, only a few "undos" are
required. In org-mode, though, it seems self-inserting characters
aren't grouped, and my undos are thus more tedious.
Is this a feature or a bug? I like the grouped undo feature.
Hi Nicolas,
good observation.
The reason for this is that Org binds all characters
to a function different from self-insert-command, which
the the one arranging for the special undo behavior.
Maybe it is possible to fix this, by adding a property
to the command or so, but I am not aware of a solution.
- Carsten
In outline mode, the undo is still grouped, so it seems this is an
undo-specific thing. I am running version 6.22b
Thanks,
Nick
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode