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#56421: [PATCH] Make mouse-2 respect delete-selection mode Date: Wed, 6 Jul 2022 17:11:35 +0200 Message-ID: References: <87r12yxp7b.fsf@gmail.com> 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="29953"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56421@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 06 17:13:16 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 1o96iK-0007fJ-Ia for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jul 2022 17:13:16 +0200 Original-Received: from localhost ([::1]:44014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o96iJ-0004Gy-3z for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jul 2022 11:13:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o96i6-0004GU-Tk for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 11:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60958) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o96i6-0005GI-Kj for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 11:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o96i6-0007V1-Fo for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 11:13: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, 06 Jul 2022 15:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56421 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 56421-submit@debbugs.gnu.org id=B56421.165712033028753 (code B ref 56421); Wed, 06 Jul 2022 15:13:02 +0000 Original-Received: (at 56421) by debbugs.gnu.org; 6 Jul 2022 15:12:10 +0000 Original-Received: from localhost ([127.0.0.1]:54855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o96hF-0007Th-Mz for submit@debbugs.gnu.org; Wed, 06 Jul 2022 11:12:09 -0400 Original-Received: from mail-pf1-f170.google.com ([209.85.210.170]:40751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o96gy-0007SN-SL for 56421@debbugs.gnu.org; Wed, 06 Jul 2022 11:12:07 -0400 Original-Received: by mail-pf1-f170.google.com with SMTP id y141so14615373pfb.7 for <56421@debbugs.gnu.org>; Wed, 06 Jul 2022 08:11:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JSNK95SRjiOBToiKVXNMr0w8i/fQ5QXgl29WTOHmgmg=; b=6uqYXJ6OAWSh5aiJVj4je8NHI0wciqI3VAj2wuLGnJF2a3m+lil3YzZ07Vf3cFBQum b8E0a8iTwWt8qyF37JEts6TbpRCX+uZsDcTRX1kIfs8vLnf697VDtDcW1/ZAN9T//KEH GdPyz2MqUo/TcEEtlJmx3YxESrOQ7LXlJE0pHE8a8z3AiesRs0MyEi+rbw0MCA71Z5Or blJew1vXYkNM6iA2GMDTKB7ABtnoPyzLbM3KyDDw9XSOOCyZn90aWTQCvp+xdnvvYmYQ 89xjxYbGPx16rAVqFntjf6eLW07w29Tqfnh4o5g9z2BEaJ3h73ST8SM4FHV6F/Lf18O5 qPkw== X-Gm-Message-State: AJIora88CJu93XPPHPaLAxjgxKHfJmDe6ks6ACS8w8ZnwX/qL/YgUxqc UlY55w9J6yv0Q9cG9VlJH2mj5EiJoHFXIKPF2jQ= X-Google-Smtp-Source: AGRyM1t0YJM7WRptixd/b4Ss2ptVtG86n5GCCrp5bYFfG1NLb2S+UgUtY0bX2SCw5w31DiKgCJHhOJHt0YQbUdLyl+c= X-Received: by 2002:a05:6a00:b48:b0:525:348b:438b with SMTP id p8-20020a056a000b4800b00525348b438bmr47949639pfo.2.1657120307168; Wed, 06 Jul 2022 08:11:47 -0700 (PDT) In-Reply-To: <87r12yxp7b.fsf@gmail.com> 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:236262 Archived-At: severity 56421 wishlist thanks Visuwesh writes: > Yanking with the mouse (i.e., mouse-2) does not replace the selected > region if delete-selection-mode is turned on. Attached patch makes the > mouse yank commands delete-selection-mode aware. What does other software in X do here? From some light testing, it seems to me like it does not replace the selection?