GNU bug report logs - #50851
28.0.50; flyspell-mode overrides context-menu-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Philip Kaludercic <philipk@HIDDEN>; dated Mon, 27 Sep 2021 15:47:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 50851 <at> debbugs.gnu.org:


Received: (at 50851) by debbugs.gnu.org; 2 Sep 2022 12:44:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 02 08:44:36 2022
Received: from localhost ([127.0.0.1]:45215 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oU62G-00014f-Do
	for submit <at> debbugs.gnu.org; Fri, 02 Sep 2022 08:44:36 -0400
Received: from mout01.posteo.de ([185.67.36.65]:40373)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@HIDDEN>) id 1oU62E-00014Q-GZ
 for 50851 <at> debbugs.gnu.org; Fri, 02 Sep 2022 08:44:35 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id D461C240027
 for <50851 <at> debbugs.gnu.org>; Fri,  2 Sep 2022 14:44:26 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1662122667; bh=2XwZM2KHyJUqwMSaLcA1+6jorcBLczgMpl6cUVv60E8=;
 h=From:To:Cc:Subject:Autocrypt:Date:From;
 b=DUEupNcwqy89Oh8PowSH+AdEsLAOGUM0tP52+qriQq5K135QHENkjkdScUfrSpK/i
 9R6nM3uzFkZiXWF+11i1HKiZ43Kump/Z15DoLDfgUN1tvdFJL25lIiJtHR41UUMrpW
 LfmNgv6Wfp1+5Sx0kw/VQ6VBtp/06j3WSBmveko/e48DPbLRI9YEF3F5moxWJ1Sed+
 XxmsoLlOMDrblQErV0RQr2KzkEO2EfmyAWQiTyXFoAF05tzOXT9ZuItYI9H2FtAKvI
 Q8Cr27q/1U+XzzhWZbgVwNZN7w1zkJxL7TILrJf9fxXopmoaWfxIJxgQwchhpgaNtX
 /gKaEp0418lTA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4MJyKP4DZQz9rxR;
 Fri,  2 Sep 2022 14:44:23 +0200 (CEST)
From: Philip Kaludercic <philipk@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode
In-Reply-To: <878rn2uf97.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Fri,
 02 Sep 2022 14:34:12 +0200")
References: <87fstqxbrm.fsf@HIDDEN> <877df0le34.fsf@HIDDEN>
 <87bl4cv5gk.fsf@HIDDEN> <87mtbivxh4.fsf@HIDDEN>
 <877d2m6muw.fsf@HIDDEN> <87edwuvwyh.fsf@HIDDEN>
 <87v8q6are2.fsf@HIDDEN> <878rn2uf97.fsf@HIDDEN>
Autocrypt: addr=philipk@HIDDEN; prefer-encrypt=nopreference; keydata=
 mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo
 aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0
 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ
 CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh
 io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF
 AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo
 Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS
 g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB
Date: Fri, 02 Sep 2022 12:44:22 +0000
Message-ID: <87o7vyaqu1.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50851
Cc: 50851 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> Philip Kaludercic <philipk@HIDDEN> writes:
>
>>> I'm not sure whether that's how the context menu was envisioned -- I
>>> thought it was to be, well, context aware, so it'd change based on
>>> what's under point.
>>
>> Isn't the context in this case a (possible) typo?
>
> Yes...  and it pops up a menu to fix that, doesn't it?

Yes, but this is not the context menu that is active everywhere else.  I
believe that what I am expecting is intuitive, as browsers behave the
same way.  If you have a text field and right-click on any regular word,
you get the "undo", "cut", "paste", etc. options.  But if you
right-click on a typo you get spell checking suggestion _in addition_ to
the previous options.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50851; Package emacs. Full text available.

Message received at 50851 <at> debbugs.gnu.org:


Received: (at 50851) by debbugs.gnu.org; 2 Sep 2022 12:34:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 02 08:34:25 2022
Received: from localhost ([127.0.0.1]:45204 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oU5sO-0000pp-Ur
	for submit <at> debbugs.gnu.org; Fri, 02 Sep 2022 08:34:25 -0400
Received: from quimby.gnus.org ([95.216.78.240]:35330)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1oU5sN-0000pd-Lp
 for 50851 <at> debbugs.gnu.org; Fri, 02 Sep 2022 08:34:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=RRITzlORe0go6bEmL7Y9aknpR+L3x8gXoFI/JMKfFSw=; b=PNbIzhGB73KE1ClWXwVw/lZZSA
 PCbySfcYVgB5f/Pkx5pLf21YdydRvYT0cxPhAaQYcxA09ueaTsDyzB37CkmN+njgPpsjEwfQs9i9i
 BIMjuoyy8xyltF7ayQZTKl3U0EDhiOoqGjX9DGdtZjNgENJXlu/p1YdsZCLb06c71NIw=;
Received: from [84.212.220.105] (helo=joga)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1oU5sD-0005Sk-G0; Fri, 02 Sep 2022 14:34:15 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Philip Kaludercic <philipk@HIDDEN>
Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode
In-Reply-To: <87v8q6are2.fsf@HIDDEN> (Philip Kaludercic's message of "Fri, 
 02 Sep 2022 12:32:21 +0000")
References: <87fstqxbrm.fsf@HIDDEN> <877df0le34.fsf@HIDDEN>
 <87bl4cv5gk.fsf@HIDDEN> <87mtbivxh4.fsf@HIDDEN>
 <877d2m6muw.fsf@HIDDEN> <87edwuvwyh.fsf@HIDDEN>
 <87v8q6are2.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUoJSQjHx4hHR2f
 iXaJd2hbUEnWxK3///8K34IbAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+YJAgwYE6Rv2CYAAAGiSURB
 VDjLdZPBcoQgDIaDLT2jM70vTvcJUM5OV/dMK3jujG7e/xEKgQXdbeMB4eNPAiEA/xoDIf5ar/eW
 dzB2BBEJGh9BWnoC2TyQ8ech3H2WYj6BnE0BjCJRngd3sMu/O2XS1LA7V1ecwQGofBWQAC1YM+X4
 AlgBFzAlsaikOUc352sVghQU4g2tnkxCEF3RZEGNHTeHepDiuiJu7lgoGjXibZ3V5EZTFPyiFXpX
 uOCGa2+yYsZg18BIREB6gcJoq8ZtVl1MrpXAvZPgKIi2eVURyBped+C2qAKsJi/hIPgTAAVpBcya
 NmuNgx6Uj0HAH8+SGxW+DcZxdHfgVPR/wX5478bJGUPnAG47f2yLIw4s3lYEgknv7Yd3Vn9CJesM
 Wla37bKi43b9ivdk0pXIunnBDeT55utXQONBfbr2Po8qPhFRFIx99N/ATqk4CZD87Crwf6W57hXk
 w2m3un8lQ3naD+C5OUvuByDro+8CWvlAYte2wXZN5TNmYYiglfu+rOw4TgkkVQL+FW0FNFlXXUIp
 M5BeJKn9Gu6sKSDpUuuxX1tac6VJAgipAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA5LTAyVDEy
 OjI0OjE5KzAwOjAwjskfBwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wOS0wMlQxMjoyNDoxOSsw
 MDowMP+Up7sAAAAASUVORK5CYII=
X-Now-Playing: Billie Eilish's _When we all fall asleep where do we go?_:
 "When I Was Older"
Date: Fri, 02 Sep 2022 14:34:12 +0200
Message-ID: <878rn2uf97.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Philip Kaludercic <philipk@HIDDEN> writes: >> I'm not
 sure whether that's how the context menu was envisioned -- I >> thought it
 was to be, well, context aware, so it'd change based on >> what's under point.
 > > Isn't the context in this case [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50851
Cc: 50851 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Philip Kaludercic <philipk@HIDDEN> writes:

>> I'm not sure whether that's how the context menu was envisioned -- I
>> thought it was to be, well, context aware, so it'd change based on
>> what's under point.
>
> Isn't the context in this case a (possible) typo?

Yes...  and it pops up a menu to fix that, doesn't it?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50851; Package emacs. Full text available.

Message received at 50851 <at> debbugs.gnu.org:


Received: (at 50851) by debbugs.gnu.org; 2 Sep 2022 12:32:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 02 08:32:35 2022
Received: from localhost ([127.0.0.1]:45195 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oU5qd-0000mm-6J
	for submit <at> debbugs.gnu.org; Fri, 02 Sep 2022 08:32:35 -0400
Received: from mout02.posteo.de ([185.67.36.66]:40085)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@HIDDEN>) id 1oU5qZ-0000mX-Jh
 for 50851 <at> debbugs.gnu.org; Fri, 02 Sep 2022 08:32:33 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 81AA6240106
 for <50851 <at> debbugs.gnu.org>; Fri,  2 Sep 2022 14:32:24 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1662121945; bh=m0eWhYxnc4knUkU5E5B+RbJRGdQQFFSj+XrR/W8HF0g=;
 h=From:To:Cc:Subject:Autocrypt:Date:From;
 b=aSDR5cJi2kaTXVVSGv0gtpCWmlACXCegJzA5/UD2n4Nn94LIwqTtmRTIYBjpawv3r
 hkL9Fd2fALzrZM+H2tJqej9T3Yfcprd4QW/Ga/U9CXi5LcDHYAvls6pV8NhHt0F/wX
 6OC/dXzDaOfS+SoTTUwc4Cpym8AZTCqlfxu9JOsmSuUjouUA56cLhLlIJDUQwRHwyF
 s0aV1ti5cQlp37bqPSXIf7hNcQZoiu654cYcdLmTbKZ1gEUfc2qNNUw7cev6tKmFRj
 /VijXB/5wEIfSIqcmvGg/dfmmyMYYCcEnPHiydc3N9E7gUrQfJo59bDtrvYedUrNVs
 acDEukuePw7fQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4MJy3X2jCtz6tmd;
 Fri,  2 Sep 2022 14:32:21 +0200 (CEST)
From: Philip Kaludercic <philipk@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode
In-Reply-To: <87edwuvwyh.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Fri,
 02 Sep 2022 13:26:30 +0200")
References: <87fstqxbrm.fsf@HIDDEN> <877df0le34.fsf@HIDDEN>
 <87bl4cv5gk.fsf@HIDDEN> <87mtbivxh4.fsf@HIDDEN>
 <877d2m6muw.fsf@HIDDEN> <87edwuvwyh.fsf@HIDDEN>
Autocrypt: addr=philipk@HIDDEN; prefer-encrypt=nopreference; keydata=
 mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo
 aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0
 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ
 CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh
 io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF
 AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo
 Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS
 g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB
Date: Fri, 02 Sep 2022 12:32:21 +0000
Message-ID: <87v8q6are2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50851
Cc: 50851 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> Philip Kaludercic <philipk@HIDDEN> writes:
>
>> Not necessarily, a word might appear to be a typo (but is actually just
>> not in the dictionary) but I would still like to search the buffer using
>> occur to see where else it appears.  If context-menu-mode is enabled, I
>> think it would be right for the same context menu to appear consistently
>> (which is still not the case), and have spell-checking be a submenu
>> instead of taking over.
>
> So you'd prefer to have the flyspell menu appear as a sub-menu to the
> normal (mode-specific) context menu?
>
> I'm not sure whether that's how the context menu was envisioned -- I
> thought it was to be, well, context aware, so it'd change based on
> what's under point.

Isn't the context in this case a (possible) typo?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50851; Package emacs. Full text available.

Message received at 50851 <at> debbugs.gnu.org:


Received: (at 50851) by debbugs.gnu.org; 2 Sep 2022 11:26:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 02 07:26:42 2022
Received: from localhost ([127.0.0.1]:45087 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oU4os-0007Ih-5a
	for submit <at> debbugs.gnu.org; Fri, 02 Sep 2022 07:26:42 -0400
Received: from quimby.gnus.org ([95.216.78.240]:34546)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1oU4oq-0007IT-Ax
 for 50851 <at> debbugs.gnu.org; Fri, 02 Sep 2022 07:26:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=xElxGFEOs1lIULHbGdG1ZUQsd5YVKKIBa3zWCPPZYlc=; b=HgOs3zaJd6kkK1Y08fnewYcn4v
 ECjb+ZyCR4nqJZKZNEhx8+9Zsmgsn65uOkrY1X5Ov+HCEDigyQr7zGGSpHMo7kYWi4Bl5yRPVk4Ke
 5j68UkrhmMYULcs8XVrhvGH1BIjRsMJQQ/CPc93SZRQVYYDIrtvgGK2SSom695BeDmSI=;
Received: from [84.212.220.105] (helo=joga)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1oU4oh-0004xX-83; Fri, 02 Sep 2022 13:26:33 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Philip Kaludercic <philipk@HIDDEN>
Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode
In-Reply-To: <877d2m6muw.fsf@HIDDEN> (Philip Kaludercic's message of "Fri, 
 02 Sep 2022 11:23:51 +0000")
References: <87fstqxbrm.fsf@HIDDEN> <877df0le34.fsf@HIDDEN>
 <87bl4cv5gk.fsf@HIDDEN> <87mtbivxh4.fsf@HIDDEN>
 <877d2m6muw.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEX39PW8pa+eTm4f
 Dxj///9CQqi5AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YJAgsZC6tXZ7QAAAGwSURBVDjLbZTbtcQg
 CEWBNADaQMQGEu2/t4uAmZms608eOweOgAFABgDs87UAhUEA8/E+HrAUAi0fzzrn6F9A4v2A3vq9
 gVgODqCg3HkDe78VDdr5CyL5OA1U7CtLhqIADaURzwDC/AAFvEmmBoBng2My3jh6WcBTAAQYgI2u
 6goMUhOQ1FPVS8IOylbgvDXsBqDIAQVmz+QlmIPOyNpTQU2eJFZFUCuYxgb5ibXKiDc38wvbL87o
 1WDVplkrl/RuyVevSjZK0vFRx6RRy8D+C5C6NXDJ6y77ziJjuTXtlJWcHnB28HzHqvsXIK55c+cw
 SCrsm7i5SE2MLaoFny3dVghLKfBew3YFkg35XvZ5B/oHHAzWqMJmkW0ing3BcdEEKqeDlVrSQrXZ
 tl4WfkWy6es+DG9bR5yPXfav9YCfONp8yMyVbEFcRaNRlINlZjivxRX1N5Q9iWvegBgoWns8YEWS
 ckGGOmSnPd3oSL8BXNWMzz7y4AHptlv8mAxkPuLPEPGRF6jW59n6B9hwDUplDKSVwF02mXK5g7p/
 MhptLnaY3QHNPM7kyavtViNWTP0fu6dWKcVLVdEAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDkt
 MDJUMTE6MjU6MTArMDA6MDBJWV0kAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA5LTAyVDExOjI1
 OjEwKzAwOjAwOATlmAAAAABJRU5ErkJggg==
X-Now-Playing: The Cure's _Bloodflowers_: "There is No If..."
Date: Fri, 02 Sep 2022 13:26:30 +0200
Message-ID: <87edwuvwyh.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Philip Kaludercic <philipk@HIDDEN> writes: > Not
 necessarily, 
 a word might appear to be a typo (but is actually just > not in the
 dictionary)
 but I would still like to search the buffer using > occur to see where else
 it appears. If context-me [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50851
Cc: 50851 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Philip Kaludercic <philipk@HIDDEN> writes:

> Not necessarily, a word might appear to be a typo (but is actually just
> not in the dictionary) but I would still like to search the buffer using
> occur to see where else it appears.  If context-menu-mode is enabled, I
> think it would be right for the same context menu to appear consistently
> (which is still not the case), and have spell-checking be a submenu
> instead of taking over.

So you'd prefer to have the flyspell menu appear as a sub-menu to the
normal (mode-specific) context menu?

I'm not sure whether that's how the context menu was envisioned -- I
thought it was to be, well, context aware, so it'd change based on
what's under point.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50851; Package emacs. Full text available.

Message received at 50851 <at> debbugs.gnu.org:


Received: (at 50851) by debbugs.gnu.org; 2 Sep 2022 11:24:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 02 07:24:09 2022
Received: from localhost ([127.0.0.1]:45082 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oU4mP-0007F2-Jy
	for submit <at> debbugs.gnu.org; Fri, 02 Sep 2022 07:24:09 -0400
Received: from mout02.posteo.de ([185.67.36.66]:33561)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@HIDDEN>) id 1oU4mM-0007ES-Ar
 for 50851 <at> debbugs.gnu.org; Fri, 02 Sep 2022 07:24:08 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id E5CBA240105
 for <50851 <at> debbugs.gnu.org>; Fri,  2 Sep 2022 13:23:59 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1662117839; bh=ocZ5xXyljTHfv3H9t0hRnAYoHOMX/IeGlxRiwGjLvuo=;
 h=From:To:Cc:Subject:Autocrypt:Date:From;
 b=OiFEPrwqRaBLcIN538dXbGpragUK1f5FAnyGnE5lh1/dcuHvY7M7jmxG2sx2JFNlL
 DUewMbkRJt9NoPDBbTBw95vxk9LgKx7XqJ9nIgKcXixJOd5TLHWg/bqL2Q3Rj4TIpY
 MLn/R35jYITYGfcljzzwa2KfyhpkkOT91v/JNGO1XiwszcQ2c3vc1npl0VryvAP4kl
 NEQ/dBiyTmnT4g3+ahGc0Je12lSpP8bCfTg40XRXcl1ihPl/U14LOQirH0zMPSIkCB
 U0vN63LjrGIEZJurqAv8aAUNreZrLyjyBnHylmXY0sm9qkY48pvgp1fGoXjSWhYcKD
 jcqQbaOE59tnw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4MJwXb1mXBz6tnr;
 Fri,  2 Sep 2022 13:23:56 +0200 (CEST)
From: Philip Kaludercic <philipk@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode
In-Reply-To: <87mtbivxh4.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Fri,
 02 Sep 2022 13:15:19 +0200")
References: <87fstqxbrm.fsf@HIDDEN> <877df0le34.fsf@HIDDEN>
 <87bl4cv5gk.fsf@HIDDEN> <87mtbivxh4.fsf@HIDDEN>
Autocrypt: addr=philipk@HIDDEN; prefer-encrypt=nopreference; keydata=
 mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo
 aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0
 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ
 CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh
 io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF
 AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo
 Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS
 g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB
Date: Fri, 02 Sep 2022 11:23:51 +0000
Message-ID: <877d2m6muw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50851
Cc: 50851 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> Philip Kaludercic <philipk@HIDDEN> writes:
>
>>>> When clicking on a misspelled word while context-menu-mode is active,
>>>> I'd expect the context menu to appear, but it seems like flyspell
>>>> prevents this.
>>>
>>> It was a bug caused by recent changes that is fixed now.
>>
>> What should have fixed this? I just rebuilt the master branch and it
>> still seems to open the wrong menu.
>
> Isn't the flyspell menu the correct context menu to open here?

Not necessarily, a word might appear to be a typo (but is actually just
not in the dictionary) but I would still like to search the buffer using
occur to see where else it appears.  If context-menu-mode is enabled, I
think it would be right for the same context menu to appear consistently
(which is still not the case), and have spell-checking be a submenu
instead of taking over.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50851; Package emacs. Full text available.

Message received at 50851 <at> debbugs.gnu.org:


Received: (at 50851) by debbugs.gnu.org; 2 Sep 2022 11:17:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 02 07:17:55 2022
Received: from localhost ([127.0.0.1]:45065 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oU4gN-000744-6Z
	for submit <at> debbugs.gnu.org; Fri, 02 Sep 2022 07:17:55 -0400
Received: from quimby.gnus.org ([95.216.78.240]:34422)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1oU4gK-00073p-Uk
 for 50851 <at> debbugs.gnu.org; Fri, 02 Sep 2022 07:17:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=lx0TwFCkC7e25U945eVa9XNitjdNnnlJOMJlPqghZPY=; b=r+OFfnU/mC5fSN4Ftm3cZmM1vB
 3NBnIkrdVcv4Mos/WOaTwN8LBaEc5pauPe5XrnbrEZ7qnOtMg9ZIZUjaYwPgitsx2U75YgItZZTnW
 bHbq+s7bNu09MQHontE13ZYgQ8o8qaT9OACf9YJZkQr0JcYEYIYqsMxqDjYjeUzW5uFk=;
Received: from [84.212.220.105] (helo=joga)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1oU4gC-0004td-Cg; Fri, 02 Sep 2022 13:17:46 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode
In-Reply-To: <86zgpgtbhb.fsf@HIDDEN> (Juri Linkov's message of "Sat, 
 04 Dec 2021 21:54:36 +0200")
References: <m2k0gl94i2.fsf@HIDDEN> <86zgpgtbhb.fsf@HIDDEN>
X-Now-Playing: The Cure's _Bloodflowers_: "Maybe Someday"
Date: Fri, 02 Sep 2022 13:17:43 +0200
Message-ID: <87ilm6vxd4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Juri Linkov <juri@HIDDEN> writes: > `C-c $'
 (flyspell-correct-word-before-point)
 does the same and > ignores non-letters. But `context-menu-function' is added
 > only on the overlay over the word - therefore the problem. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50851
Cc: 50851 <at> debbugs.gnu.org, Tor Kringeland <tor.a.s.kringeland@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Juri Linkov <juri@HIDDEN> writes:

> `C-c $' (flyspell-correct-word-before-point) does the same and
> ignores non-letters.  But `context-menu-function' is added
> only on the overlay over the word - therefore the problem.

I'm not sure I understand this -- you want `S-<f10>' to open a menu
that finds a region of interest near point (instead of opening the
context menu at point)?

I think that sounds like it'd be rather awkward -- the context menu is
all about doing stuff based on where point is.  If you already know that
it's the flyspell menu you want, then (as you say) flyspell-mode has
commands for that.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50851; Package emacs. Full text available.

Message received at 50851 <at> debbugs.gnu.org:


Received: (at 50851) by debbugs.gnu.org; 2 Sep 2022 11:15:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 02 07:15:31 2022
Received: from localhost ([127.0.0.1]:45056 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oU4e3-0006LS-Aj
	for submit <at> debbugs.gnu.org; Fri, 02 Sep 2022 07:15:31 -0400
Received: from quimby.gnus.org ([95.216.78.240]:34400)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1oU4e1-0005yE-4J
 for 50851 <at> debbugs.gnu.org; Fri, 02 Sep 2022 07:15:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=BXkvEILHXatke1aiCUT5CKjHhaObPT9+u1bU8xAmVkU=; b=d8OGppsSN6JfNzfTC5Go7vY8r8
 9o8swoD8AXlDhHGDGEBYRQD2BIuEMKYgD0fKckt9//5sWkyTL/UxRLw6C67j/ED/NZEyKbTIhdkiY
 Scm+kjJb+5ZG/hPwr9XgxhHzhQpxPpW5zLhE2eT8u981SD0COu8IJQD0vusK081sUjO4=;
Received: from [84.212.220.105] (helo=joga)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1oU4dr-0004tG-KO; Fri, 02 Sep 2022 13:15:21 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Philip Kaludercic <philipk@HIDDEN>
Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode
In-Reply-To: <87bl4cv5gk.fsf@HIDDEN> (Philip Kaludercic's message of "Tue, 
 28 Sep 2021 19:57:15 +0000")
References: <87fstqxbrm.fsf@HIDDEN> <877df0le34.fsf@HIDDEN>
 <87bl4cv5gk.fsf@HIDDEN>
X-Now-Playing: The Cure's _Bloodflowers_: "Maybe Someday"
Date: Fri, 02 Sep 2022 13:15:19 +0200
Message-ID: <87mtbivxh4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Philip Kaludercic <philipk@HIDDEN> writes: >>> When
 clicking
 on a misspelled word while context-menu-mode is active, >>> I'd expect the
 context menu to appear, but it seems like flyspell >>> prevents this. >>
 >> It was a bug caused by recent c [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50851
Cc: 50851 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Philip Kaludercic <philipk@HIDDEN> writes:

>>> When clicking on a misspelled word while context-menu-mode is active,
>>> I'd expect the context menu to appear, but it seems like flyspell
>>> prevents this.
>>
>> It was a bug caused by recent changes that is fixed now.
>
> What should have fixed this? I just rebuilt the master branch and it
> still seems to open the wrong menu.

Isn't the flyspell menu the correct context menu to open here?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50851; Package emacs. Full text available.

Message received at 50851 <at> debbugs.gnu.org:


Received: (at 50851) by debbugs.gnu.org; 4 Dec 2021 20:09:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 04 15:09:58 2021
Received: from localhost ([127.0.0.1]:55073 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mtbM6-0004Hp-FX
	for submit <at> debbugs.gnu.org; Sat, 04 Dec 2021 15:09:58 -0500
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:46747)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1mtbM4-0004HO-I0
 for 50851 <at> debbugs.gnu.org; Sat, 04 Dec 2021 15:09:57 -0500
Received: (Authenticated sender: juri@HIDDEN)
 by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id D047BFF805;
 Sat,  4 Dec 2021 20:09:49 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Tor Kringeland <tor.a.s.kringeland@HIDDEN>
Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode
Organization: LINKOV.NET
References: <m2k0gl94i2.fsf@HIDDEN>
Date: Sat, 04 Dec 2021 21:54:36 +0200
In-Reply-To: <m2k0gl94i2.fsf@HIDDEN> (Tor Kringeland's message of "Fri, 03
 Dec 2021 14:56:05 +0100")
Message-ID: <86zgpgtbhb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 50851
Cc: 50851 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> The problem is that requires moving two characters back.
>> It would be nicer if the flyspell context menu would be more smart,
>> and detected the misspelled word before point, ignoring whitespace.
>
> FWIW `ispell-word' does this currently.  It also ignores non-letters
> like ; and , and ".

`C-c $' (flyspell-correct-word-before-point) does the same and
ignores non-letters.  But `context-menu-function' is added
only on the overlay over the word - therefore the problem.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50851; Package emacs. Full text available.

Message received at 50851 <at> debbugs.gnu.org:


Received: (at 50851) by debbugs.gnu.org; 3 Dec 2021 13:56:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 03 08:56:13 2021
Received: from localhost ([127.0.0.1]:50279 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mt92r-0003hY-Ci
	for submit <at> debbugs.gnu.org; Fri, 03 Dec 2021 08:56:13 -0500
Received: from mailgw201.it.ntnu.no ([129.241.56.178]:44650)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tor.a.s.kringeland@HIDDEN>) id 1mt92m-0003hK-Sp
 for 50851 <at> debbugs.gnu.org; Fri, 03 Dec 2021 08:56:11 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntnu.no;
 i=@ntnu.no; q=dns/txt; s=s1-1909-ntnu; t=1638539766; h=from : to : cc
 : subject : date : message-id : mime-version : content-type : from;
 bh=1PZQ4IBM98Q+B+O6fRUysIxm0z/CnAR5aGzDZ4m+jF4=;
 b=Si90EGS9hnm7g93mHlZdXT2hNXcw1pjJ2iJG5BGV7MZj1/He3bIJ9IxRG5n0Ky44TNtz7
 6mcc0iuqPIQ45t5BQhkICmheL+k4Q6LJpmwnCVVQNgrHjQE3xdqanyW1R6Ipa7aVmQg1YPx
 ikCFR3TyzdB0YdtopZ8aoV9FCJyuQEc+9A56s2nvCba9V8RffaSbkujkyoFVicXVyqbwFz3
 2ZcowcEL3OEaezyYTo/o9YSU8FT4rUy3RYQwiuYXcL4+paC4czEsQMAQCzOxBwKjFc1DOqA
 wj8IXJdjl0i45OhyPtvtTLLESR5Nfbu9vex237+xw9hcdEfBpBs+qvrsNjpQ==
Received: from localhost (localhost [127.0.0.1])
 by mailgw201.it.ntnu.no (Postfix) with ESMTP id E7618903032;
 Fri,  3 Dec 2021 14:56:06 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at mailgw201.it.ntnu.no
X-Spam-Flag: NO
X-Spam-Score: -4.59
X-Spam-Level: 
Received: from mailgw201.it.ntnu.no ([127.0.0.1])
 by localhost (mailgw201.it.ntnu.no [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 9wBuojMHopah; Fri,  3 Dec 2021 14:56:06 +0100 (CET)
Received: from localhost (unknown [91.219.215.154])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: takringe@HIDDEN)
 by mailgw201.it.ntnu.no (Postfix) with ESMTPSA id 7A2BF90302F;
 Fri,  3 Dec 2021 14:56:06 +0100 (CET)
From: Tor Kringeland <tor.a.s.kringeland@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
Subject: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode
Date: Fri, 03 Dec 2021 14:56:05 +0100
Message-ID: <m2k0gl94i2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 50851
Cc: 50851 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Juri Linkov <juri@HIDDEN> writes:

> The problem is that requires moving two characters back.
> It would be nicer if the flyspell context menu would be more smart,
> and detected the misspelled word before point, ignoring whitespace.

FWIW `ispell-word' does this currently.  It also ignores non-letters
like ; and , and ".




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50851; Package emacs. Full text available.

Message received at 50851 <at> debbugs.gnu.org:


Received: (at 50851) by debbugs.gnu.org; 2 Dec 2021 17:58:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 02 12:58:14 2021
Received: from localhost ([127.0.0.1]:49183 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1msqLV-00037E-V2
	for submit <at> debbugs.gnu.org; Thu, 02 Dec 2021 12:58:14 -0500
Received: from relay6-d.mail.gandi.net ([217.70.183.198]:39351)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1msqLR-00036m-T7
 for 50851 <at> debbugs.gnu.org; Thu, 02 Dec 2021 12:58:10 -0500
Received: (Authenticated sender: juri@HIDDEN)
 by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 960B4C000C;
 Thu,  2 Dec 2021 17:58:02 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Philip Kaludercic <philipk@HIDDEN>
Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode
Organization: LINKOV.NET
References: <87fstqxbrm.fsf@HIDDEN> <877df0le34.fsf@HIDDEN>
 <87bl4cv5gk.fsf@HIDDEN>
Date: Thu, 02 Dec 2021 19:49:47 +0200
In-Reply-To: <87bl4cv5gk.fsf@HIDDEN> (Philip Kaludercic's message of "Tue, 
 28 Sep 2021 19:57:15 +0000")
Message-ID: <867dcm28xw.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 50851
Cc: 50851 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>>> When clicking on a misspelled word while context-menu-mode is active,
>>> I'd expect the context menu to appear, but it seems like flyspell
>>> prevents this.
>>
>> It was a bug caused by recent changes that is fixed now.
>
> What should have fixed this? I just rebuilt the master branch and it
> still seems to open the wrong menu.

Maybe it was another bug that was fixed.

>>> Asides from preventing this inconsistency, it seems like it would be
>>> better to integrate flyspell into context-menu, to suggest corrections.
>>
>> Adapting flyspell.el to context-menu is a welcome change that requires
>> refactoring `flyspell-correct-word' and related functions to return
>> a keymap menu where every menu item is bound to a lambda that calls
>> `flyspell-do-correct' with an argument that is a correct word.

After using this more, I found a quite convenient way to use this:
type a misspelled word and the SPC character that highlights the word.
Then move two characters back, so the cursor is over the last character
of the misspelled word.  Then type S-F10 and select the right word
from the context menu.

The problem is that requires moving two characters back.
It would be nicer if the flyspell context menu would be more smart,
and detected the misspelled word before point, ignoring whitespace.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50851; Package emacs. Full text available.

Message received at 50851 <at> debbugs.gnu.org:


Received: (at 50851) by debbugs.gnu.org; 28 Sep 2021 19:57:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 28 15:57:29 2021
Received: from localhost ([127.0.0.1]:47106 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mVJEH-0006vE-40
	for submit <at> debbugs.gnu.org; Tue, 28 Sep 2021 15:57:29 -0400
Received: from mout02.posteo.de ([185.67.36.66]:60807)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@HIDDEN>) id 1mVJEC-0006us-EO
 for 50851 <at> debbugs.gnu.org; Tue, 28 Sep 2021 15:57:25 -0400
Received: from submission (posteo.de [89.146.220.130]) 
 by mout02.posteo.de (Postfix) with ESMTPS id E3D57240106
 for <50851 <at> debbugs.gnu.org>; Tue, 28 Sep 2021 21:57:17 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1632859037; bh=puiev/ISTnMSOGZV8tMtPzuE6Z5/lwQ0iXOTQVBlvI0=;
 h=From:To:Cc:Subject:Autocrypt:Date:From;
 b=O9l61/jhGqDMRi2qUV1aW9H/2PkvXCfiyhuT10LZo6KDzwRjlHjT9WGlqt8iODtrF
 DegLm7EIe68fHX08fdZnHUVcecya5b9EOGbGcmEd3cU87ylSksCGPQeRwYMdrn5PvL
 KWcGDkUFQJuphUj1QHKtMYPxz5aSk8eY4H/rvd+U72oFVxjN5bmZ+c8CFtydU17rkJ
 Vfxf+AmHTm8c9OZJezrOj8NXxU6717EJo26faFD1mTNY1RVA0wAsRTL9g14sqej2HJ
 gr76U+7Br4mrdMoD68uU+SFtqcTeCF4MA/78SHC7V6QcDqYTK7Awz8/MIlbGNZ0TiK
 V+BJGtXgA3Qmw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4HJqzJ5q9lz9rxF;
 Tue, 28 Sep 2021 21:57:16 +0200 (CEST)
From: Philip Kaludercic <philipk@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode
References: <87fstqxbrm.fsf@HIDDEN> <877df0le34.fsf@HIDDEN>
Autocrypt: addr=philipk@HIDDEN; prefer-encrypt=nopreference; keydata=
 mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo
 aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0
 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ
 CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh
 io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF
 AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo
 Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS
 g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB
Date: Tue, 28 Sep 2021 19:57:15 +0000
In-Reply-To: <877df0le34.fsf@HIDDEN> (Juri Linkov's message of "Tue, 
 28 Sep 2021 22:01:03 +0300")
Message-ID: <87bl4cv5gk.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50851
Cc: 50851 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Juri Linkov <juri@HIDDEN> writes:

>> When clicking on a misspelled word while context-menu-mode is active,
>> I'd expect the context menu to appear, but it seems like flyspell
>> prevents this.
>
> It was a bug caused by recent changes that is fixed now.

What should have fixed this? I just rebuilt the master branch and it
still seems to open the wrong menu.

>> Asides from preventing this inconsistency, it seems like it would be
>> better to integrate flyspell into context-menu, to suggest corrections.
>
> Adapting flyspell.el to context-menu is a welcome change that requires
> refactoring `flyspell-correct-word' and related functions to return
> a keymap menu where every menu item is bound to a lambda that calls
> `flyspell-do-correct' with an argument that is a correct word.

-- 
	Philip Kaludercic




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50851; Package emacs. Full text available.

Message received at 50851 <at> debbugs.gnu.org:


Received: (at 50851) by debbugs.gnu.org; 28 Sep 2021 19:04:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 28 15:04:47 2021
Received: from localhost ([127.0.0.1]:47001 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mVIPH-0005YF-JK
	for submit <at> debbugs.gnu.org; Tue, 28 Sep 2021 15:04:47 -0400
Received: from relay6-d.mail.gandi.net ([217.70.183.198]:37753)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1mVIP7-0005XT-FJ
 for 50851 <at> debbugs.gnu.org; Tue, 28 Sep 2021 15:04:38 -0400
Received: (Authenticated sender: juri@HIDDEN)
 by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id A22C4C0002;
 Tue, 28 Sep 2021 19:04:30 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Philip Kaludercic <philipk@HIDDEN>
Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode
Organization: LINKOV.NET
References: <87fstqxbrm.fsf@HIDDEN>
Date: Tue, 28 Sep 2021 22:01:03 +0300
In-Reply-To: <87fstqxbrm.fsf@HIDDEN> (Philip Kaludercic's message of "Mon, 
 27 Sep 2021 15:45:49 +0000")
Message-ID: <877df0le34.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 50851
Cc: 50851 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> When clicking on a misspelled word while context-menu-mode is active,
> I'd expect the context menu to appear, but it seems like flyspell
> prevents this.

It was a bug caused by recent changes that is fixed now.

> Asides from preventing this inconsistency, it seems like it would be
> better to integrate flyspell into context-menu, to suggest corrections.

Adapting flyspell.el to context-menu is a welcome change that requires
refactoring `flyspell-correct-word' and related functions to return
a keymap menu where every menu item is bound to a lambda that calls
`flyspell-do-correct' with an argument that is a correct word.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50851; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 27 Sep 2021 15:46:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 27 11:46:19 2021
Received: from localhost ([127.0.0.1]:42564 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mUspf-000444-CX
	for submit <at> debbugs.gnu.org; Mon, 27 Sep 2021 11:46:19 -0400
Received: from lists.gnu.org ([209.51.188.17]:40030)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@HIDDEN>) id 1mUspP-00040t-Gr
 for submit <at> debbugs.gnu.org; Mon, 27 Sep 2021 11:46:04 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33058)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <philipk@HIDDEN>)
 id 1mUspN-0007jw-LD
 for bug-gnu-emacs@HIDDEN; Mon, 27 Sep 2021 11:46:03 -0400
Received: from mout01.posteo.de ([185.67.36.65]:46721)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <philipk@HIDDEN>)
 id 1mUspH-0006kB-SJ
 for bug-gnu-emacs@HIDDEN; Mon, 27 Sep 2021 11:46:01 -0400
Received: from submission (posteo.de [89.146.220.130]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 6A7F0240027
 for <bug-gnu-emacs@HIDDEN>; Mon, 27 Sep 2021 17:45:52 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1632757552; bh=ziIqfsvYYee/HG2GK7Wq8iwKeRcrmBk3KRwC6Q6o1kU=;
 h=From:To:Subject:Autocrypt:Date:From;
 b=r+pfFmfleQImxequgJGAqKiGBd1LtVZlgQbqoZca7rYFaXisYCtanlVEy1i6uOfmF
 NBZcbomX0wlAy5tba+0o07MC5pEkCVOHBdIyt9kZLi1Ael24VV/YunrN90gLkIURNy
 xtOQwF5OXxI/rfa1l1U+huFY4w/8sI7gzGpmAym9HBmLWpoHCnyQj3Ygk10zwAMbGk
 i2/gVbcnbOjXeCYPI+FqBFbEnyDeIvNQ5EGBAXgA5fhjHZNHh6pUWuUtZYfdbmOXot
 w0S2eEi3bTJfl197ixyQuwDvGQ9ScWOq1Fb/Su/wtFJatLmk+1DvXGioIBJ3OxMOgw
 5nI8nDuzqhtvg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4HJ6Rg3dnRz9rxL
 for <bug-gnu-emacs@HIDDEN>; Mon, 27 Sep 2021 17:45:50 +0200 (CEST)
From: Philip Kaludercic <philipk@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; flyspell-mode overrides context-menu-mode
Autocrypt: addr=philipk@HIDDEN; prefer-encrypt=nopreference; keydata=
 mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo
 aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0
 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ
 CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh
 io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF
 AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo
 Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS
 g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB
Date: Mon, 27 Sep 2021 15:45:49 +0000
Message-ID: <87fstqxbrm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@HIDDEN;
 helo=mout01.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


When clicking on a misspelled word while context-menu-mode is active,
I'd expect the context menu to appear, but it seems like flyspell
prevents this.

Asides from preventing this inconsistency, it seems like it would be
better to integrate flyspell into context-menu, to suggest corrections.


In GNU Emacs 28.0.50 (build 15, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw scroll bars)
 of 2021-09-26 built on icterid
Repository revision: 68994995db26343a43aa8a526629127279f83278
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)

Configured using:
 'configure LDFLAGS=-flto 'CFLAGS=-O2 -march=native -mtune=native -pipe'
 --with-native-compilation PKG_CONFIG_PATH='

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP
NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM LUCID ZLIB

Important settings:
  value of $EMACSLOADPATH: 
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Org

Minor modes in effect:
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  shell-dirtrack-mode: t
  rcirc-track-minor-mode: t
  flyspell-mode: t
  display-time-mode: t
  winner-mode: t
  windmove-mode: t
  electric-pair-mode: t
  recentf-mode: t
  save-place-mode: t
  savehist-mode: t
  show-paren-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tab-bar-mode: t
  file-name-shadow-mode: t
  context-menu-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  line-number-mode: t
  auto-fill-function: org-auto-fill-function
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/philip/.config/emacs/elpa/transient-0.3.6/transient hides /home/philip/Code/src/emacs/lisp/transient
~/.config/emacs/site-lisp/autoload hides /home/philip/Code/src/emacs/lisp/emacs-lisp/autoload

Features:
(shadow emacsbug goto-addr ffap skeleton raku-mode raku-repl raku-imenu
raku-indent smie raku-font-lock raku-detect tar-mode arc-mode
archive-mode cus-edit cus-start finder-inf em-unix em-term em-script
em-prompt em-ls em-hist em-pred em-glob em-cmpl em-dirs esh-var em-basic
em-banner em-alias esh-mode follow org-element avl-tree generator ol-eww
eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect
gnus-search ol-docview doc-view jka-compr image-mode exif ol-bibtex
bibtex ol-bbdb ol-w3m org ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-macro org-footnote org-src ob-comint org-pcomplete org-list
org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval
org-table ol org-keys org-compat advice org-macs org-loaddefs
magit-extras face-remap magit-submodule magit-obsolete magit-blame
magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch
magit-clone magit-remote magit-commit magit-sequence magit-notes
magit-worktree magit-tag magit-merge magit-branch magit-reset
magit-files magit-refs magit-status magit magit-repos magit-apply
magit-wip magit-log which-func imenu magit-diff smerge-mode git-commit
log-edit add-log magit-core magit-autorevert autorevert filenotify
magit-margin magit-transient magit-process with-editor term ehelp eshell
esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups
esh-util server magit-mode transient format-spec magit-git magit-section
magit-utils dash bug-reference mailalias bbdb-pgp bbdb-message
autocrypt-message mm-archive dired-aux vc-dir ewoc shell pcomplete qp
mule-util sort smiley gnus-cite mail-extr gnus-async gnus-bcklg gnus-ml
autocrypt-gnus autocrypt nndraft nnmh nnmaildir nnfolder bbdb-gnus
bbdb-mua bbdb-com crm nnnil gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig
nntp gnus-cache gnus-sum shr kinsoku svg dom gnus-group gnus-undo
gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7
netrc nnoo gnus-spec gnus-int gnus-range message rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus-win
eieio-opt speedbar ezimage dframe shortdoc find-dired vc-mtn vc-hg
vc-git diff-mode vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs time-stamp
char-fold misearch multi-isearch pulse color find-func xref macrostep pp
help-at-pt vc-backup log-view pcvs-util diff vc-fossil vc vc-dispatcher
disp-table gnutls network-stream puny nsm rmc epa-file epa rcirc
parse-time iso8601 noutline outline corfu checkdoc flymake-proc flymake
project thingatpt flyspell ispell comp comp-cstr warnings cl-extra
gnus-dired dired-x dired dired-loaddefs time bbdb derived bbdb-site
timezone sendmail gnus nnheader gnus-util rmail rmail-loaddefs time-date
mail-utils hippie-exp winner windmove elec-pair recentf tree-widget
wid-edit saveplace savehist paren modus-operandi-theme modus-themes
pcase edmacro kmacro holidays hol-loaddefs cal-menu calendar
cal-loaddefs cus-load setup load epg rfc6068 epg-config rx compile
text-property-search comint ansi-color easy-mmode autoload lisp-mnt
mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr
tex-site geiser-impl help-fns radix-tree help-mode geiser-custom
geiser-base ring slime-autoloads info package browse-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
inotify dynamic-setting system-font-setting font-render-setting cairo
x-toolkit x multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 825884 569126)
 (symbols 48 40391 76)
 (strings 32 161395 91534)
 (string-bytes 1 5247016)
 (vectors 16 82765)
 (vector-slots 8 2093264 640030)
 (floats 8 711 1834)
 (intervals 56 20496 16259)
 (buffers 992 59))

-- 
	Philip K.




Acknowledgement sent to Philip Kaludercic <philipk@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#50851; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 2 Sep 2022 13:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.