From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas 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 03:10:51 -0700 Message-ID: References: <3c83c124-95a9-9dc6-a7a6-6e357c7574e4@orange.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35648"; mail-complaints-to="usenet@ciao.gmane.io" To: David Ponce , 56530@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 13 12:12:30 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 1oBZM5-00099f-Of for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 12:12:29 +0200 Original-Received: from localhost ([::1]:56044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBZM4-00025x-Lh for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 06:12:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBZKg-00024y-Lo for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 06:11:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBZKg-0006b4-DG for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 06:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBZKg-00016Y-9E for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 06:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jul 2022 10:11: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.16577070604237 (code B ref 56530); Wed, 13 Jul 2022 10:11:02 +0000 Original-Received: (at 56530) by debbugs.gnu.org; 13 Jul 2022 10:11:00 +0000 Original-Received: from localhost ([127.0.0.1]:44479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBZKe-00016H-0E for submit@debbugs.gnu.org; Wed, 13 Jul 2022 06:11:00 -0400 Original-Received: from mail-pf1-f171.google.com ([209.85.210.171]:33782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBZKb-00015y-D9 for 56530@debbugs.gnu.org; Wed, 13 Jul 2022 06:10:57 -0400 Original-Received: by mail-pf1-f171.google.com with SMTP id v7so7762298pfb.0 for <56530@debbugs.gnu.org>; Wed, 13 Jul 2022 03:10:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:in-reply-to:references:mime-version:date:message-id:subject:to; bh=q9eE4gV/9/3qHdHkwyIkweRTd/1Y83h95Rz0yIj3MY0=; b=hWTA5f/5b8smfgrIqkZs1lNh8dlKuGhK+KlG+1Cw3B3LRuR/qfkLx8+EubQ4LeKdu7 a6J6W8W7dx8gktfcR196tLJ9i9vglza1AaPObgdq8V6T8l2IJIUQ+7JVtwtW5s0cDvou dUix/5Vp1lo8j9eprq39EptoZ05tDUN/mgVqvaPGwBInaccvTPAZfEc8QqgNci7FR6XC 17gdRH0bCmXeZGMvvEnj79RecT3y3S1p2bQoei++CrKmQtKORvmUiICBwdX9CkuBrtdz 2yDnbhNbquxuBugxibw7tniqc5uXftcjJR0v4ir82GhsMxd/TzxGJJHQ84HDTXEPmXde JV9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to; bh=q9eE4gV/9/3qHdHkwyIkweRTd/1Y83h95Rz0yIj3MY0=; b=NNvOq7nPjicIvWX6j2dB5jyzhZfiiYrSdmKyg+IdERFTGNt3mcr0OTwfSIDfl5SBns WfY/KQbfRgvSrsxsCzIp/rAqWukoTWR22zfN+Oakl1dP1CfdhT6yJIxAdcfAYK26oZSJ N/qeluj4mKHc2E6OuAVe9eV7aeonH40DhoqTNvt3MV5vK5souvy4EIwT8/6trRUXb5T6 hLGumadGgUZJx44CSGno7J2qMKiUDOsEv89ljRIrVFa1OBsW+ZjevfaRFQAQuf65ImUI ltR4YlttmRDUM38PgSqythjX9pb2a8R+Oxg5t9K9TCDXRjLrbcPOmHdIm2ThXxSkuTmd biUg== X-Gm-Message-State: AJIora++MYz35Wb06gvxaNbIduAzDroejXWgdPJ7owP6sb3smWHtpBnA IqxnfDFfnY1wjFzbUfgLwKU0opM47POVfe92FT0= X-Google-Smtp-Source: AGRyM1svHEtzM40TAw4/OSHy66OxzgqfAtffj4vq75ZKuPhajn9c9l8lZZsoa98u4lQwBxEM/VIrJ+a7hZz7WYchMuM= X-Received: by 2002:aa7:8e17:0:b0:528:9f8d:ad38 with SMTP id c23-20020aa78e17000000b005289f8dad38mr2426135pfr.4.1657707051613; Wed, 13 Jul 2022 03:10:51 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 13 Jul 2022 03:10:51 -0700 In-Reply-To: <3c83c124-95a9-9dc6-a7a6-6e357c7574e4@orange.fr> 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:236847 Archived-At: David Ponce writes: > I noticed that now, when cua-mode is enabled, when I select a region > (with mouse or keyboard), then use mouse-2 click on another point to > insert the selected text, the active region is cut before to insert text > at the mouse-2 click for the first time. As far as I remember this is a > new behavior, and previously the selected region was not cut, but > copied, like when cua-mode is disabled. > > The woraround is to first deselect the region before to click mouse-2 to > insert the previously selected text. This way the initially selected > text is not cut. I can reproduce this on current master, but not on Emacs 27. I think it's a bug.