From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55692: 29.0.50; delete-selection-mode: Replace region only if set using the mouse Date: Sat, 28 May 2022 22:10:08 +0300 Message-ID: <83ilpplbhr.fsf@gnu.org> References: <87zgj1v9xc.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5553"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55692@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 28 21:11:31 2022 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 1nv1qU-0001Kj-89 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 May 2022 21:11:30 +0200 Original-Received: from localhost ([::1]:51850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nv1qS-000877-Sy for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 May 2022 15:11:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nv1q2-00086p-JG for bug-gnu-emacs@gnu.org; Sat, 28 May 2022 15:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45006) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nv1q2-0000ZI-45 for bug-gnu-emacs@gnu.org; Sat, 28 May 2022 15:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nv1q2-0004tw-0H for bug-gnu-emacs@gnu.org; Sat, 28 May 2022 15:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 May 2022 19:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55692 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 55692-submit@debbugs.gnu.org id=B55692.165376502418797 (code B ref 55692); Sat, 28 May 2022 19:11:01 +0000 Original-Received: (at 55692) by debbugs.gnu.org; 28 May 2022 19:10:24 +0000 Original-Received: from localhost ([127.0.0.1]:38903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nv1pQ-0004t6-FP for submit@debbugs.gnu.org; Sat, 28 May 2022 15:10:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nv1pM-0004ss-JK for 55692@debbugs.gnu.org; Sat, 28 May 2022 15:10:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:32898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nv1pH-0000R5-Du; Sat, 28 May 2022 15:10:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=25N628ay1OcEmPlsCoL48H9P4ZyZFEfTsGM0XvHnMr0=; b=VZ57u10K/Z+z lQgRuJJ0MoR5jAslNXLgjyGvAnDlym5/pRweyLIeCoZbYHmvNMGawv+wvyogzqX0kQqNYQOmz3KJa rhwzIkYKPkXp/ELv335EhB2WT5DIan5v0CRkphrzK1ly+NaB6mtFAsxczakJDg2GKtjq5QUf7twPn w7uLxZBfpTCGNS8Ge6fKfhUsBp3GpP51/gZYSKWWtOqvgEbsl06rHvOSpV9pldSylEqUnIvCoibPV pn18VzrMcfbgRf0ZxAjy5gU6qDAZdF1XclWZu2h2AkxNKYLdEquchQkkJeSQo1Jb+wie5nZLKR0jV sSBo706Mz714YrWcs/a5yg==; Original-Received: from [87.69.77.57] (port=2689 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nv1pC-00050o-Dl; Sat, 28 May 2022 15:10:15 -0400 In-Reply-To: <87zgj1v9xc.fsf@gmail.com> (message from Visuwesh on Sat, 28 May 2022 23:03:51 +0530) 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" Xref: news.gmane.io gmane.emacs.bugs:233274 Archived-At: > From: Visuwesh > Date: Sat, 28 May 2022 23:03:51 +0530 > > Motivation: I often find myself annoyed by `delete-selection-mode' when > using the keyboard since the region in Emacs does not translate to text > selections in other applications. On the contrary, I find myself > wanting the behaviour of `delete-selection-mode' for regions set using > the mouse. Attached patch adds an user option to do that. IMO, we shouldn't distinguish between the mouse and shift-selection methods of defining the region. So this feature, if accepted, should also treat both methods of defining the region the same.