[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] grouped undo
From: |
Carsten Dominik |
Subject: |
Re: [Orgmode] grouped undo |
Date: |
Wed, 11 Feb 2009 11:34:07 +0100 |
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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode