unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: David Reitter <david.reitter@gmail.com>
Cc: 18412@debbugs.gnu.org
Subject: bug#18412: 24.3.93 regression: undo boundary inserted by delete-selection-mode (CUA)
Date: Wed, 09 Sep 2020 11:50:56 +0200	[thread overview]
Message-ID: <87v9gnffcv.fsf@gnus.org> (raw)
In-Reply-To: <DD830153-3AE7-4539-8935-1975B856DE03@gmail.com> (David Reitter's message of "Fri, 5 Sep 2014 12:37:06 -0400")

David Reitter <david.reitter@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@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





      parent reply	other threads:[~2020-09-09  9:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-05 16:37 bug#18412: 24.3.93 regression: undo boundary inserted by delete-selection-mode (CUA) David Reitter
2014-09-08  2:04 ` Stefan Monnier
2020-09-09  9:50 ` Lars Ingebrigtsen [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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v9gnffcv.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=18412@debbugs.gnu.org \
    --cc=david.reitter@gmail.com \
    /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.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).