From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: grouped undo Date: Wed, 11 Feb 2009 11:34:07 +0100 Message-ID: <58F3528B-4BF0-495F-B84B-1904838D1FF5@uva.nl> References: <60199D7B-EA1D-442F-9BF0-F90FC8DE446C@internode.on.net> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXCQ2-0001zZ-W8 for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 05:34:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXCQ0-0001z0-J2 for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 05:34:13 -0500 Received: from [199.232.76.173] (port=50011 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXCQ0-0001yr-AG for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 05:34:12 -0500 Received: from mail-ew0-f20.google.com ([209.85.219.20]:41123) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LXCPz-0007X7-NW for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 05:34:12 -0500 Received: by ewy13 with SMTP id 13so202619ewy.18 for ; Wed, 11 Feb 2009 02:34:10 -0800 (PST) In-Reply-To: <60199D7B-EA1D-442F-9BF0-F90FC8DE446C@internode.on.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicholas Sandow Cc: emacs-orgmode@gnu.org 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