From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11680: flyspell should use mouse-3 instead of mouse-2 Date: Sat, 15 Aug 2020 20:53:21 +0300 Message-ID: <83zh6viyni.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38909"; mail-complaints-to="usenet@ciao.gmane.io" Cc: l26wang@gmail.com, 11680@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 15 19:54: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 1k70Ne-000A0v-HU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Aug 2020 19:54:10 +0200 Original-Received: from localhost ([::1]:47614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k70Nd-0005RS-Hm for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Aug 2020 13:54:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k70NW-0005Qn-KK for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2020 13:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44882) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k70NW-0006JF-Bb for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2020 13:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k70NW-0006kz-Ac for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2020 13:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Aug 2020 17:54:02 +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.159751402225943 (code B ref 11680); Sat, 15 Aug 2020 17:54:02 +0000 Original-Received: (at 11680) by debbugs.gnu.org; 15 Aug 2020 17:53:42 +0000 Original-Received: from localhost ([127.0.0.1]:56428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k70NC-0006kN-BB for submit@debbugs.gnu.org; Sat, 15 Aug 2020 13:53:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k70NA-0006kB-Om for 11680@debbugs.gnu.org; Sat, 15 Aug 2020 13:53:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52571) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k70N5-0006HO-Bc; Sat, 15 Aug 2020 13:53:35 -0400 Original-Received: from [176.228.60.248] (port=1362 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k70N4-0002nB-Rg; Sat, 15 Aug 2020 13:53:35 -0400 In-Reply-To: (message from Stefan Kangas on Fri, 14 Aug 2020 18:08:59 -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:185253 Archived-At: > From: Stefan Kangas > Date: Fri, 14 Aug 2020 18:08:59 -0700 > Cc: l26wang@gmail.com, 11680@debbugs.gnu.org > > OK. How about the attached patch? LGTM. > -@w{@kbd{C-c $}} (@code{flyspell-correct-word-before-point}) will pop up a > -menu of possible corrections. Of course, you can always correct the > -misspelled word by editing it manually in any way you like. > +@w{@kbd{C-c $}} (@code{flyspell-correct-word-before-point}) will pop > +up a misspelled word by editing it manually in any way you like. I don't understand this part of the change: "C-c $" does pop up a menu for me. > +*** Corrections and actions menu optionally bound to mouse-3. "... can be optionally bound to ..." is better, IMO. > +(defcustom flyspell-correct-on-mouse-3 nil > + "Non-nil means to bind `mouse-3' to `flyspell-correct-word'. > +If this is set, also unbind `mouse-2'." > + :type 'boolean > + :set 'flyspell--set-correct-on-mouse-3) :version tag missing here. Thanks.