From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#60646: 28.2; delete-selection-mode Date: Sun, 15 Jan 2023 14:55:39 +0530 Message-ID: <871qnwp2ss.fsf@gmail.com> References: <878ri5dihq.fsf@yahoo.com> <87sfgd8hb6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2006"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: luangruo@yahoo.com, err291@mail.usask.ca, 60646@debbugs.gnu.org, drew.adams@oracle.com To: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 15 10:27:09 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pGzID-0000O1-3X for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Jan 2023 10:27:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGzI8-0002BW-4A; Sun, 15 Jan 2023 04:27:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGzI6-0002BN-Ld for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2023 04:27:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGzI6-0005SW-DH for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2023 04:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pGzI6-0003c7-7h for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2023 04:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Jan 2023 09:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60646 X-GNU-PR-Package: emacs Original-Received: via spool by 60646-submit@debbugs.gnu.org id=B60646.167377476413774 (code B ref 60646); Sun, 15 Jan 2023 09:27:02 +0000 Original-Received: (at 60646) by debbugs.gnu.org; 15 Jan 2023 09:26:04 +0000 Original-Received: from localhost ([127.0.0.1]:56110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGzHA-0003a5-4A for submit@debbugs.gnu.org; Sun, 15 Jan 2023 04:26:04 -0500 Original-Received: from mail-pf1-f193.google.com ([209.85.210.193]:44900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGzH8-0003Zc-Ps for 60646@debbugs.gnu.org; Sun, 15 Jan 2023 04:26:03 -0500 Original-Received: by mail-pf1-f193.google.com with SMTP id w2so3604138pfc.11 for <60646@debbugs.gnu.org>; Sun, 15 Jan 2023 01:26:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gPrxeOXWiXnAStc7oBo4zRCVts069jPmmufJES0eEIg=; b=U4HKT2ghW79L/uOEeakhggwcaEg/fLqhE6tOfnTcTUTXNayGkWuUgqoGBfJo0vzFct kAXhP6tAb76qkBt8LxY+xbAC+7SbZc8ZxssXlasOs7xGA853BzLf3wxbhex25FXBguWI 0Ee2PZId/1yTlQJNA96GRTMippyDRoFqCavXG76yzU9DIll+GUxmE4CdkHjcwuZb8o49 +GB74eDtibXQRGtmVeShXvCzrKa/4U9xAy5tuYz/vA/KFjzWIuZwt0PQQj8ISqdFIPPT DeKE5VeP9RSgwdVLwtRqKPxGlC7XbVSx+1R3rm+TPHm2aE59jktLkX0bcvNm2AHhlE4O pnjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=gPrxeOXWiXnAStc7oBo4zRCVts069jPmmufJES0eEIg=; b=LdS5jZQF7qHAJeLTtzgVrfrXpv+0puQkiNRc/rtzT3oLIPDzpqCxhO6MsZl68d0ehh d2sNDJtq92aOScno7mIvOWUX4Z2n2CWPoR3W0/now5lBt3GB5Ib6CJsHGLfX7Hapx87c SUhrT920BpTeFpCbQSxJhYHfPbSqt/aUbhJEKcnZajcviZZdjV8GHcThkYUkP0sSisp5 wZ+npN6u4S4Ynt4a6i8QgeTsFVF0Y2deTNS8wrmkA8BXwURQvN3G8+/n1h3+Wjzp+QSj dgjWU2bKArjxnw8yGBoyUiYAMi5DYxxdlnILzvFSOJP1IVapBiTNYFnnVwBInIa6Exml 1ctA== X-Gm-Message-State: AFqh2kryClVqhlKjORmCqMpoNRIN+bMVykrYHLdIruXWBrOsD75nUqth IvWga1UDc2LDZPnlkcn+jIAZSY5TT5c= X-Google-Smtp-Source: AMrXdXu+yNvqksYRJ08EcRvVtdrQKRiuJQkWwUkPn1yNRmFkYa+EnJCVLgbRRXef2Tf3XUiUtvf03g== X-Received: by 2002:a05:6a00:e8f:b0:58b:bf9a:fa81 with SMTP id bo15-20020a056a000e8f00b0058bbf9afa81mr6755984pfb.4.1673774757081; Sun, 15 Jan 2023 01:25:57 -0800 (PST) Original-Received: from localhost ([118.185.152.162]) by smtp.gmail.com with ESMTPSA id w29-20020aa7955d000000b0058d926cef4csm1101642pfq.7.2023.01.15.01.25.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Jan 2023 01:25:56 -0800 (PST) In-Reply-To: <87sfgd8hb6.fsf@gmail.com> ("=?UTF-8?Q?K=C3=A9vin?= Le Gouguec"'s message of "Sat, 14 Jan 2023 12:51:57 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:253417 Archived-At: [=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=9C=E0=AE=A9=E0=AE=B5=E0=AE=B0=E0=AE=BF = 14, 2023] K=C3=A9vin 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. > =E2=80=94 <83o9d5q1bi.fsf@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.=20