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#56421: [PATCH] Make mouse-2 respect delete-selection mode Date: Thu, 07 Jul 2022 12:17:06 +0530 Message-ID: <87r12x4dxx.fsf@gmail.com> References: <87r12yxp7b.fsf@gmail.com> <87mtdmxoe6.fsf@gmail.com> <87edyyxmbm.fsf@gmail.com> <86a69mt98o.fsf@mail.linkov.net> <87v8s94let.fsf@gmail.com> <86zghlihn0.fsf@mail.linkov.net> 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="5662"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56421@debbugs.gnu.org, Stefan Kangas To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 07 08:48:39 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 1o9LJX-0001Mm-Oa for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Jul 2022 08:48:39 +0200 Original-Received: from localhost ([::1]:39882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9LJW-0000IT-BF for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Jul 2022 02:48:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9LIw-0000HC-Fv for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 02:48:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33443) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9LIw-0004Ti-6r for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 02:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o9LIw-000758-2j for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 02:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jul 2022 06:48: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 moreinfo Original-Received: via spool by 56421-submit@debbugs.gnu.org id=B56421.165717646527118 (code B ref 56421); Thu, 07 Jul 2022 06:48:02 +0000 Original-Received: (at 56421) by debbugs.gnu.org; 7 Jul 2022 06:47:45 +0000 Original-Received: from localhost ([127.0.0.1]:55572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9LIf-00073I-9R for submit@debbugs.gnu.org; Thu, 07 Jul 2022 02:47:45 -0400 Original-Received: from mail-pg1-f196.google.com ([209.85.215.196]:41672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9LIb-00072N-LS for 56421@debbugs.gnu.org; Thu, 07 Jul 2022 02:47:44 -0400 Original-Received: by mail-pg1-f196.google.com with SMTP id 23so16782379pgc.8 for <56421@debbugs.gnu.org>; Wed, 06 Jul 2022 23:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :user-agent:mime-version:content-transfer-encoding; bh=ovyB7rTFmi2EDNcc8m9h83Wd6qy0ZEsJIeinEjYtzrU=; b=U3+Jp3UGLPRs6N4h+hCLa7UMduFuKXhErOpEtOtrAwz+inADLHSXDfTgM2Thm4oJnp EYgaMCNdGSzg6SFkIZ/6QDDK3nShm68yOrCJErwSB7CtPOwGmD8ifIk7dI2Zz4hgMu1H Ab+RQq5uiSZtrBaAIGc8K90znmJAQYZaT3cWai/P81V1UE/XF0BVZEnIiPeXBSEXRRDm vrfC6JqnWNTFVQsnR4b2jsxLXgPtbdNN9pFCJy7lSJ7Ys4L6cH4BRA6HvHkfcrdc2JM8 WDDUT1FlrbTM4v2KRoNXJG+4hPsWhO37aRBYiOBy4sfrOPyvfsfALkCr06Kq+Hiio/Pd xEjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:user-agent:mime-version:content-transfer-encoding; bh=ovyB7rTFmi2EDNcc8m9h83Wd6qy0ZEsJIeinEjYtzrU=; b=NFFB7vF/RMrwFixpSZd0m/re2WdgCHKa1/+m+b+Eau8Wy3Hbwcpv+pRoRXivdbuEbc /yC/oc1qUuxl/kjdP5vzHYeAt+ddHU+GQrW+u/V1Wch7jgGihfIx6HN1ECTDqUIOjXd8 /w6e+4s0ldfBZxm4JvsdR1hMVfkndfAV8ZHvE4MvGnBV7bO8ewsM6vXmlfUzThAwmeLX TQI58UUyO1iGfzxmHP7AzK32DsLCilmFXh2RGklAYGfSRvxprgam2cIkaHoy7S3OOvtN OkMpG6dNOr6klPw6SaYybK7Mdkt5OvRJT79ppAc2Peg6f+CTSRfjMCNznIpQkd9/aZ3X oLGg== X-Gm-Message-State: AJIora9CSVu5uhvu3guPm6YdjrUnOJwT92heqXK+kfB6yTS58CjRQQgE mWr5dxcNLgZlFHRxTC6Z9o8= X-Google-Smtp-Source: AGRyM1stA4UcpecnwBeINDP0dqS/GZdwPZjrt6lcFyGDfaRQfIHuIMVPGSGwtrrCf/p19rt9/Y+koQ== X-Received: by 2002:a63:1921:0:b0:412:407f:f012 with SMTP id z33-20020a631921000000b00412407ff012mr17785744pgl.125.1657176455678; Wed, 06 Jul 2022 23:47:35 -0700 (PDT) Original-Received: from localhost ([49.204.134.82]) by smtp.gmail.com with ESMTPSA id ik19-20020a170902ab1300b0015e8d4eb1f7sm27039771plb.65.2022.07.06.23.47.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jul 2022 23:47:33 -0700 (PDT) In-Reply-To: <86zghlihn0.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 07 Jul 2022 09:23:31 +0300") 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:236319 Archived-At: [=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE=9C= =E0=AF=82=E0=AE=B2=E0=AF=88 07, 2022] Juri Linkov wrote: >> It is really convenient to follow up with a mouse-2 after a multi-click >> mouse-1 to replace the region IMO. No need to take your hands off the >> mouse. > > Do you have additional customization that allows you to achieve this > convenient behavior? Such as setting select-active-regions to nil. I can't think of any that is particularly special about my customisation, but I have delete-selection-temporary-region, and mouse-yank-at-point set to t. I also have select-enable-clipboard set to nil since I like to separate Emacs' kill-ring and the Xorg clipboard but I don't think that is relevant here.