From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#56530: 29.0.50; mouse-2 cut selected text when cua-mode is enabled Date: Wed, 13 Jul 2022 22:14:44 +0300 Organization: LINKOV.NET Message-ID: <86y1wwg6zf.fsf@mail.linkov.net> References: <3c83c124-95a9-9dc6-a7a6-6e357c7574e4@orange.fr> <877d4hmjdh.fsf@gmail.com> <87lesxtivx.fsf@gnus.org> <87wnchl1fm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16673"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: David Ponce , Lars Ingebrigtsen , 56530@debbugs.gnu.org, Visuwesh To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 13 21:30:18 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 1oBi3t-0004Ci-Ra for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 21:30:17 +0200 Original-Received: from localhost ([::1]:34140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBi3s-0000Yy-Mz for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 15:30:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBi3e-0000YR-Vu for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 15:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53875) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBi3e-0005OE-Lr for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 15:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBi3e-0005iN-G0 for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 15:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jul 2022 19:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56530 X-GNU-PR-Package: emacs Original-Received: via spool by 56530-submit@debbugs.gnu.org id=B56530.165774057921902 (code B ref 56530); Wed, 13 Jul 2022 19:30:02 +0000 Original-Received: (at 56530) by debbugs.gnu.org; 13 Jul 2022 19:29:39 +0000 Original-Received: from localhost ([127.0.0.1]:47769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBi3H-0005hC-5W for submit@debbugs.gnu.org; Wed, 13 Jul 2022 15:29:39 -0400 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:46367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBi3F-0005gp-3P for 56530@debbugs.gnu.org; Wed, 13 Jul 2022 15:29:37 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id B8663240003; Wed, 13 Jul 2022 19:29:28 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Wed, 13 Jul 2022 04:30:19 -0700") 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:236927 Archived-At: >> AFAICT, the recipe produces what I had in my mind when I proposed. The >> behaviour might seems slightly odd since mouse-yank-at-point is set to >> nil in OP's case. It shouldn't be hard to take this defcustom into >> account tho. > > I think that neither Emacs nor `cua-mode' should behave differently from > other X programs in this regard, certainly not by default. Could we > please avoid that? The entire point of `cua-mode' is to be /more/ like > other software, not less. I'd like to know what programs do you mean. In every program I see the same behavior: 1. Select a region 2. Choose "Copy" from the context menu 3. Select another region 4. Choose "Paste" on the region from the context menu It always deletes the region before pasting the text from the clipboard.