From: Carsten Dominik <dominik@science.uva.nl>
To: Nicholas Sandow <njsand@internode.on.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: grouped undo
Date: Wed, 11 Feb 2009 11:34:07 +0100 [thread overview]
Message-ID: <58F3528B-4BF0-495F-B84B-1904838D1FF5@uva.nl> (raw)
In-Reply-To: <60199D7B-EA1D-442F-9BF0-F90FC8DE446C@internode.on.net>
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
prev parent reply other threads:[~2009-02-11 10:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-11 7:01 grouped undo Nicholas Sandow
2009-02-11 10:34 ` Carsten Dominik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58F3528B-4BF0-495F-B84B-1904838D1FF5@uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=njsand@internode.on.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).