GNU bug report logs - #60646
28.2; delete-selection-mode

Previous Next

Package: emacs;

Reported by: "Redekopp, Eric" <err291 <at> mail.usask.ca>

Date: Sun, 8 Jan 2023 07:06:01 UTC

Severity: wishlist

Found in version 28.2

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Visuwesh <visuweshm <at> gmail.com>
To: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
Cc: luangruo <at> yahoo.com, err291 <at> mail.usask.ca, 60646 <at> debbugs.gnu.org,
 drew.adams <at> oracle.com
Subject: Re: bug#60646: 28.2; delete-selection-mode
Date: Sun, 15 Jan 2023 14:55:39 +0530
[சனி ஜனவரி 14, 2023] Kévin Le Gouguec wrote:

>  > The _only_ problem I personally have with delete-selection-mode is
>  > that it also replaces the region created by the likes of "C-x C-x",
>  > something that "most software out there" does not and cannot do.  If
>  > we were to change delete-selection-mode to replace only highlighted
>  > text created by mouse selections or by shift-selections, I think we
>  > could then enable it by default without much resistance, because
>  > typing a character or DEL after explicitly selecting text is many
>  > orders of magnitude less probable to be a mistake than when we make
>  > the region active by other means.
>  — <83o9d5q1bi.fsf <at> gnu.org>
>
>  Enlightening; I personally C-x C-x C-g without a second thought when
>  all I want is to "jump to mark" (or I use C-u C-SPC).  I use C-x C-x
>  mostly for its region-activating effect (typically after C-y), rather
>  than for its point-mark-swap effect, and I expect delete-selection-mode
>  to clobber stuff I highlight with region-activating commands (C-M-SPC,
>  C-x h, C-M-h, M-h, C-SPC + [move around]).
>
>  But I understand how adding an option to control that would make sense)

I had the same problem with delete-selection-mode: mark and region is
different from how "selection" works in other editors so deleting the
active region in all cases was more disruptive than I anticipated.
I hope delete-selection-temporary-region solves this problem for
everyone like it did for me when I proposed the patch. 




This bug report was last modified 1 year and 258 days ago.

Previous Next


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