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#11680: flyspell should use mouse-3 instead of mouse-2 Date: Fri, 14 Aug 2020 18:08:59 -0700 Message-ID: References: <87imo3ihjk.fsf@skangas.se> <83ftj7l8jj.fsf@gnu.org> <83k18ik971.fsf@gnu.org> <87d0bkyxt0.fsf@marxist.se> <83y2u731d6.fsf@gnu.org> <83o8nen17n.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000bfcf4005ace02e8f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16572"; mail-complaints-to="usenet@ciao.gmane.io" Cc: l26wang@gmail.com, 11680@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 15 03:10:10 2020 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 1k6ki1-0004C9-LV for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Aug 2020 03:10:09 +0200 Original-Received: from localhost ([::1]:33878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6ki0-0004WA-DP for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Aug 2020 21:10:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6khu-0004W3-8P for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2020 21:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42537) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k6kht-0004Dj-Ua for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2020 21:10:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k6kht-0000Wr-OA for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2020 21:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Aug 2020 01:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11680 X-GNU-PR-Package: emacs Original-Received: via spool by 11680-submit@debbugs.gnu.org id=B11680.15974537481967 (code B ref 11680); Sat, 15 Aug 2020 01:10:01 +0000 Original-Received: (at 11680) by debbugs.gnu.org; 15 Aug 2020 01:09:08 +0000 Original-Received: from localhost ([127.0.0.1]:54083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6kh2-0000Vf-B6 for submit@debbugs.gnu.org; Fri, 14 Aug 2020 21:09:08 -0400 Original-Received: from mail-yb1-f171.google.com ([209.85.219.171]:34336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6kgz-0000VB-To for 11680@debbugs.gnu.org; Fri, 14 Aug 2020 21:09:07 -0400 Original-Received: by mail-yb1-f171.google.com with SMTP id u6so311635ybf.1 for <11680@debbugs.gnu.org>; Fri, 14 Aug 2020 18:09:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=KPPpmlluCAKlqosnE3xZ6obdeflKDoLu0BLtYtqNybw=; b=Eytpcr9YerecCihyoiKLgLao7U5DFyG7tpL1K5DX0N/kEOms6enU+o3HDYaVvlDHvN CuVX91d32+FMCW1SrTNEo+3MbAOvtQXecD/uTT+lVakXfTwRCxPd0xY8Yl0/NuNPfRxu ezsDFMPYUIj4bC/iowbQ/KTmIDOdVQm8GTiwo7K3ZiPS5PyT0xcb/K9Ai7mUQhHzOqnM yhra1WiobeY98PY9cPc15kTW0KM6DAXvzSmAQe5g4cPlGeutsoRYPKhx1P3bJyTTUoo4 JndbXJ2p0CzYrS/q17r7GMuYGXrLmg6peJjwh+GOL1JfJ2fH+9jLPkYBrvMeYo+adWDe Ae2A== X-Gm-Message-State: AOAM533YycGqhceEt1QBJdcBdBZjSAPPFRnAC/AtQn87Iu/J36VClZaR SYvjGe+UME/9FmLG3h06wFthUwvIElynYPXTwwI= X-Google-Smtp-Source: ABdhPJyBVA2NGSJmnF1qX7MJZx+fokGmr3pBApIF707R6i3RDsEHjHXBkdHrdOtcQ8joRPWa2bPSgXPyweiQcTCSGh4= X-Received: by 2002:a25:880e:: with SMTP id c14mr7336119ybl.181.1597453740513; Fri, 14 Aug 2020 18:09:00 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 14 Aug 2020 18:08:59 -0700 In-Reply-To: <83o8nen17n.fsf@gnu.org> 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:185183 Archived-At: --000000000000bfcf4005ace02e8f Content-Type: text/plain; charset="UTF-8" Eli Zaretskii writes: > I think it should be an opt-in behavior, conditional on a user > option. We can later see if it is popular enough to make that the > default behavior. OK. How about the attached patch? Best regards, Stefan Kangas --000000000000bfcf4005ace02e8f Content-Type: text/x-diff; charset="US-ASCII"; name="0001-Add-new-option-flyspell-correct-on-mouse-3.patch" Content-Disposition: attachment; filename="0001-Add-new-option-flyspell-correct-on-mouse-3.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: 65144b825265037e_0.1 RnJvbSAzYzFjZWVmZjJjOGM4MDkxNGM1OTBmNDYxYzZiODc2YzNjNTg4MmFmIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5rYW5nYXNAZ21haWwuY29t PgpEYXRlOiBTYXQsIDE1IEF1ZyAyMDIwIDAyOjUzOjM1ICswMjAwClN1YmplY3Q6IFtQQVRDSF0g QWRkIG5ldyBvcHRpb24gZmx5c3BlbGwtY29ycmVjdC1vbi1tb3VzZS0zCgoqIGxpc3AvdGV4dG1v ZGVzL2ZseXNwZWxsLmVsCihmbHlzcGVsbC1jb3JyZWN0LW9uLW1vdXNlLTMpOiBOZXcgb3B0aW9u IHRvIGJpbmQKJ2ZseXNwZWxsLWNvcnJlY3Qtd29yZCcgdG8gJ21vdXNlLTMnLgooZmx5c3BlbGwt LXNldC1jb3JyZWN0LW9uLW1vdXNlLTMpOiBOZXcgZnVuY3Rpb24gdG8gdXBkYXRlIG9wdGlvbi4K KGZseXNwZWxsLW1vZGUpOiBVcGRhdGUgJ2ZseXNwZWxsLW1vdXNlLW1hcCcgaWYgYWJvdmUgb3B0 aW9uIGlzCnNldC4KKiBkb2MvZW1hY3MvZml4aXQudGV4aSAoU3BlbGxpbmcpOiBNZW50aW9uIHRo ZSBuZXcgb3B0aW9uLgoqIGV0Yy9ORVdTOiBBbm5vdW5jZSB0aGUgbmV3IG9wdGlvbi4KLS0tCiBk b2MvZW1hY3MvZml4aXQudGV4aSAgICAgICB8ICA5ICsrKysrLS0tLQogZXRjL05FV1MgICAgICAg ICAgICAgICAgICAgfCAgOSArKysrKysrKysKIGxpc3AvdGV4dG1vZGVzL2ZseXNwZWxsLmVsIHw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