GNU bug report logs - #18412
24.3.93 regression: undo boundary inserted by delete-selection-mode (CUA)

Previous Next

Package: emacs;

Reported by: David Reitter <david.reitter <at> gmail.com>

Date: Fri, 5 Sep 2014 16:38:02 UTC

Severity: normal

Tags: wontfix

Found in version 24.3.93

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Reitter <david.reitter <at> gmail.com>
Cc: 18412 <at> debbugs.gnu.org
Subject: Re: bug#18412: 24.3.93 regression: undo boundary inserted by
 delete-selection-mode (CUA)
Date: Wed, 09 Sep 2020 11:50:56 +0200
David Reitter <david.reitter <at> gmail.com> writes:

> This is a regression in the 24.4 pretest compared to 24.3.
>
> M-x cua-mode
> (enter and) select a word “hello", e.g., via double-click
> enter single char, e.g., “x”
> C-_   (undo)
>
> In Emacs 24.3, the undo will restore “hello”.
>
> In Emacs 24.3.93 pretest, the undo will only delete “x”, but not restore “hello”.

Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> Indeed, that's a difference between delete-selection-mode and cua's
> earlier reimplementation of the feature.
>
> To the extent that noone complained about it for delete-selection-mode,
> I think this bug is not super-urgent to fix.  IOW, we should take the
> time to think how to fix it right.

This was six years ago, and cua-mode still works the same way, so at
this point, I think changing the behaviour now would probably be a
regression?

So I'm closing this bug as a "wontfix".

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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