GNU bug report logs - #23785
Emacs 25: "Undo" overdoes things.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Fri, 17 Jun 2016 15:03:01 UTC

Severity: normal

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 23785 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Phillip Lord <phillip.lord <at> russet.org.uk>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 23785 <at> debbugs.gnu.org
Subject: Re: bug#23785: Emacs 25: "Undo" overdoes things.
Date: Sat, 18 Jun 2016 17:41:36 +0000
Hello, Phil.

On Fri, Jun 17, 2016 at 10:23:51PM +0100, Phillip Lord wrote:
> Alan Mackenzie <acm <at> muc.de> writes:

> > I don't think it's all that minor an issue.  `undo' can no longer be
> > depended upon to restore a buffer to its unchanged state.

> > I've suffered several similar annoyances with `undo' in the emacs-25
> > branch.

> If you report them, then I will look at them, and I would appreciate if
> you do report them.

For example, at times I've deleted a character, moved point, then deleted
another character.  Undo has undone both deletions as a single operation,
despite the point movement between them.

> I changed undo in a way that *was* supposed to change its semantics,
> and this may have had negative side effects. Or my changes may have
> caused unexpected changes in semantics that I did not intend.

The lack of configurability seems to be a problem.  There have been
times, testing times, when I've felt that each deletion of a character is
its own atomic operation.  Yet I can't configure undo to respect this
wish.

[ .... ]

> I will investigate.

> Phil

-- 
Alan Mackenzie (Nuremberg, Germany).




This bug report was last modified 4 years and 261 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.