From unknown Wed Jun 18 23:05:02 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#50851 <50851@debbugs.gnu.org> To: bug#50851 <50851@debbugs.gnu.org> Subject: Status: 28.0.50; flyspell-mode overrides context-menu-mode Reply-To: bug#50851 <50851@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:05:02 +0000 retitle 50851 28.0.50; flyspell-mode overrides context-menu-mode reassign 50851 emacs submitter 50851 Philip Kaludercic severity 50851 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 11:46:19 2021 Received: (at submit) by debbugs.gnu.org; 27 Sep 2021 15:46:20 +0000 Received: from localhost ([127.0.0.1]:42564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUspf-000444-CX for submit@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 ) id 1mUspP-00040t-Gr for submit@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 ) id 1mUspN-0007jw-LD for bug-gnu-emacs@gnu.org; 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 ) id 1mUspH-0006kB-SJ for bug-gnu-emacs@gnu.org; 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 ; 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 ; Mon, 27 Sep 2021 17:45:50 +0200 (CEST) From: Philip Kaludercic To: bug-gnu-emacs@gnu.org Subject: 28.0.50; flyspell-mode overrides context-menu-mode Autocrypt: addr=philipk@posteo.net; 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@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 28 15:04:47 2021 Received: (at 50851) by debbugs.gnu.org; 28 Sep 2021 19:04:48 +0000 Received: from localhost ([127.0.0.1]:47001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVIPH-0005YF-JK for submit@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 ) id 1mVIP7-0005XT-FJ for 50851@debbugs.gnu.org; Tue, 28 Sep 2021 15:04:38 -0400 Received: (Authenticated sender: juri@linkov.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id A22C4C0002; Tue, 28 Sep 2021 19:04:30 +0000 (UTC) From: Juri Linkov To: Philip Kaludercic Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode Organization: LINKOV.NET References: <87fstqxbrm.fsf@posteo.net> Date: Tue, 28 Sep 2021 22:01:03 +0300 In-Reply-To: <87fstqxbrm.fsf@posteo.net> (Philip Kaludercic's message of "Mon, 27 Sep 2021 15:45:49 +0000") Message-ID: <877df0le34.fsf@mail.linkov.net> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 28 15:57:29 2021 Received: (at 50851) by debbugs.gnu.org; 28 Sep 2021 19:57:29 +0000 Received: from localhost ([127.0.0.1]:47106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVJEH-0006vE-40 for submit@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 ) id 1mVJEC-0006us-EO for 50851@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@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 To: Juri Linkov Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode References: <87fstqxbrm.fsf@posteo.net> <877df0le34.fsf@mail.linkov.net> Autocrypt: addr=philipk@posteo.net; 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@mail.linkov.net> (Juri Linkov's message of "Tue, 28 Sep 2021 22:01:03 +0300") Message-ID: <87bl4cv5gk.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50851 Cc: 50851@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Juri Linkov 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 02 12:58:14 2021 Received: (at 50851) by debbugs.gnu.org; 2 Dec 2021 17:58:14 +0000 Received: from localhost ([127.0.0.1]:49183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msqLV-00037E-V2 for submit@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 ) id 1msqLR-00036m-T7 for 50851@debbugs.gnu.org; Thu, 02 Dec 2021 12:58:10 -0500 Received: (Authenticated sender: juri@linkov.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 960B4C000C; Thu, 2 Dec 2021 17:58:02 +0000 (UTC) From: Juri Linkov To: Philip Kaludercic Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode Organization: LINKOV.NET References: <87fstqxbrm.fsf@posteo.net> <877df0le34.fsf@mail.linkov.net> <87bl4cv5gk.fsf@posteo.net> Date: Thu, 02 Dec 2021 19:49:47 +0200 In-Reply-To: <87bl4cv5gk.fsf@posteo.net> (Philip Kaludercic's message of "Tue, 28 Sep 2021 19:57:15 +0000") Message-ID: <867dcm28xw.fsf@mail.linkov.net> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 03 08:56:13 2021 Received: (at 50851) by debbugs.gnu.org; 3 Dec 2021 13:56:13 +0000 Received: from localhost ([127.0.0.1]:50279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mt92r-0003hY-Ci for submit@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 ) id 1mt92m-0003hK-Sp for 50851@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@ntnu.no) by mailgw201.it.ntnu.no (Postfix) with ESMTPSA id 7A2BF90302F; Fri, 3 Dec 2021 14:56:06 +0100 (CET) From: Tor Kringeland To: Juri Linkov Subject: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode Date: Fri, 03 Dec 2021 14:56:05 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 50851 Cc: 50851@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Juri Linkov 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 ". From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 04 15:09:58 2021 Received: (at 50851) by debbugs.gnu.org; 4 Dec 2021 20:09:58 +0000 Received: from localhost ([127.0.0.1]:55073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtbM6-0004Hp-FX for submit@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 ) id 1mtbM4-0004HO-I0 for 50851@debbugs.gnu.org; Sat, 04 Dec 2021 15:09:57 -0500 Received: (Authenticated sender: juri@linkov.net) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id D047BFF805; Sat, 4 Dec 2021 20:09:49 +0000 (UTC) From: Juri Linkov To: Tor Kringeland Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode Organization: LINKOV.NET References: Date: Sat, 04 Dec 2021 21:54:36 +0200 In-Reply-To: (Tor Kringeland's message of "Fri, 03 Dec 2021 14:56:05 +0100") Message-ID: <86zgpgtbhb.fsf@mail.linkov.net> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 02 07:15:31 2022 Received: (at 50851) by debbugs.gnu.org; 2 Sep 2022 11:15:31 +0000 Received: from localhost ([127.0.0.1]:45056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU4e3-0006LS-Aj for submit@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 ) id 1oU4e1-0005yE-4J for 50851@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 ) id 1oU4dr-0004tG-KO; Fri, 02 Sep 2022 13:15:21 +0200 From: Lars Ingebrigtsen To: Philip Kaludercic Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode In-Reply-To: <87bl4cv5gk.fsf@posteo.net> (Philip Kaludercic's message of "Tue, 28 Sep 2021 19:57:15 +0000") References: <87fstqxbrm.fsf@posteo.net> <877df0le34.fsf@mail.linkov.net> <87bl4cv5gk.fsf@posteo.net> X-Now-Playing: The Cure's _Bloodflowers_: "Maybe Someday" Date: Fri, 02 Sep 2022 13:15:19 +0200 Message-ID: <87mtbivxh4.fsf@gnus.org> 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 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@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Philip Kaludercic 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? From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 02 07:17:55 2022 Received: (at 50851) by debbugs.gnu.org; 2 Sep 2022 11:17:55 +0000 Received: from localhost ([127.0.0.1]:45065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU4gN-000744-6Z for submit@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 ) id 1oU4gK-00073p-Uk for 50851@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 ) id 1oU4gC-0004td-Cg; Fri, 02 Sep 2022 13:17:46 +0200 From: Lars Ingebrigtsen To: Juri Linkov Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode In-Reply-To: <86zgpgtbhb.fsf@mail.linkov.net> (Juri Linkov's message of "Sat, 04 Dec 2021 21:54:36 +0200") References: <86zgpgtbhb.fsf@mail.linkov.net> X-Now-Playing: The Cure's _Bloodflowers_: "Maybe Someday" Date: Fri, 02 Sep 2022 13:17:43 +0200 Message-ID: <87ilm6vxd4.fsf@gnus.org> 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 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@debbugs.gnu.org, Tor Kringeland X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Juri Linkov 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-' 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 02 07:24:09 2022 Received: (at 50851) by debbugs.gnu.org; 2 Sep 2022 11:24:10 +0000 Received: from localhost ([127.0.0.1]:45082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU4mP-0007F2-Jy for submit@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 ) id 1oU4mM-0007ES-Ar for 50851@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@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 To: Lars Ingebrigtsen Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode In-Reply-To: <87mtbivxh4.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 02 Sep 2022 13:15:19 +0200") References: <87fstqxbrm.fsf@posteo.net> <877df0le34.fsf@mail.linkov.net> <87bl4cv5gk.fsf@posteo.net> <87mtbivxh4.fsf@gnus.org> Autocrypt: addr=philipk@posteo.net; 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@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50851 Cc: 50851@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > Philip Kaludercic 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 02 07:26:42 2022 Received: (at 50851) by debbugs.gnu.org; 2 Sep 2022 11:26:42 +0000 Received: from localhost ([127.0.0.1]:45087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU4os-0007Ih-5a for submit@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 ) id 1oU4oq-0007IT-Ax for 50851@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 ) id 1oU4oh-0004xX-83; Fri, 02 Sep 2022 13:26:33 +0200 From: Lars Ingebrigtsen To: Philip Kaludercic Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode In-Reply-To: <877d2m6muw.fsf@posteo.net> (Philip Kaludercic's message of "Fri, 02 Sep 2022 11:23:51 +0000") References: <87fstqxbrm.fsf@posteo.net> <877df0le34.fsf@mail.linkov.net> <87bl4cv5gk.fsf@posteo.net> <87mtbivxh4.fsf@gnus.org> <877d2m6muw.fsf@posteo.net> 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@gnus.org> 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 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@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Philip Kaludercic 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 02 08:32:35 2022 Received: (at 50851) by debbugs.gnu.org; 2 Sep 2022 12:32:35 +0000 Received: from localhost ([127.0.0.1]:45195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU5qd-0000mm-6J for submit@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 ) id 1oU5qZ-0000mX-Jh for 50851@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@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 To: Lars Ingebrigtsen Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode In-Reply-To: <87edwuvwyh.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 02 Sep 2022 13:26:30 +0200") References: <87fstqxbrm.fsf@posteo.net> <877df0le34.fsf@mail.linkov.net> <87bl4cv5gk.fsf@posteo.net> <87mtbivxh4.fsf@gnus.org> <877d2m6muw.fsf@posteo.net> <87edwuvwyh.fsf@gnus.org> Autocrypt: addr=philipk@posteo.net; 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@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50851 Cc: 50851@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > Philip Kaludercic 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? From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 02 08:34:25 2022 Received: (at 50851) by debbugs.gnu.org; 2 Sep 2022 12:34:25 +0000 Received: from localhost ([127.0.0.1]:45204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU5sO-0000pp-Ur for submit@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 ) id 1oU5sN-0000pd-Lp for 50851@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 ) id 1oU5sD-0005Sk-G0; Fri, 02 Sep 2022 14:34:15 +0200 From: Lars Ingebrigtsen To: Philip Kaludercic Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode In-Reply-To: <87v8q6are2.fsf@posteo.net> (Philip Kaludercic's message of "Fri, 02 Sep 2022 12:32:21 +0000") References: <87fstqxbrm.fsf@posteo.net> <877df0le34.fsf@mail.linkov.net> <87bl4cv5gk.fsf@posteo.net> <87mtbivxh4.fsf@gnus.org> <877d2m6muw.fsf@posteo.net> <87edwuvwyh.fsf@gnus.org> <87v8q6are2.fsf@posteo.net> 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@gnus.org> 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 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@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Philip Kaludercic 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? From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 02 08:44:36 2022 Received: (at 50851) by debbugs.gnu.org; 2 Sep 2022 12:44:36 +0000 Received: from localhost ([127.0.0.1]:45215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU62G-00014f-Do for submit@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 ) id 1oU62E-00014Q-GZ for 50851@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@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 To: Lars Ingebrigtsen Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode In-Reply-To: <878rn2uf97.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 02 Sep 2022 14:34:12 +0200") References: <87fstqxbrm.fsf@posteo.net> <877df0le34.fsf@mail.linkov.net> <87bl4cv5gk.fsf@posteo.net> <87mtbivxh4.fsf@gnus.org> <877d2m6muw.fsf@posteo.net> <87edwuvwyh.fsf@gnus.org> <87v8q6are2.fsf@posteo.net> <878rn2uf97.fsf@gnus.org> Autocrypt: addr=philipk@posteo.net; 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@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50851 Cc: 50851@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > Philip Kaludercic 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 02 09:03:46 2022 Received: (at 50851) by debbugs.gnu.org; 2 Sep 2022 13:03:46 +0000 Received: from localhost ([127.0.0.1]:45274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU6Kn-0003on-Rl for submit@debbugs.gnu.org; Fri, 02 Sep 2022 09:03:46 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU6Km-0003oY-3N for 50851@debbugs.gnu.org; Fri, 02 Sep 2022 09:03:44 -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=PeVeXHs0yoyUBxbB//xNqF6nQQYmqHV0s1UFMflaCAk=; b=rkv8tE57lCPb2i1CDksvG7Nj9t W8anlSCRfx56IYF1yepRHobsRHGu6FDjaPBe25jp7Xed3uC+BAmWNcefQbzpyUTfWXqwkV6Nu9DwV vfzssWVIzej1O/gBB7b3jr41m360tyYh5F3l4Ym5PYSkqbbIfigdke7Efo0fyjs4Hkik=; 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 ) id 1oU6Kd-0005h1-Mq; Fri, 02 Sep 2022 15:03:37 +0200 From: Lars Ingebrigtsen To: Philip Kaludercic Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode In-Reply-To: <87o7vyaqu1.fsf@posteo.net> (Philip Kaludercic's message of "Fri, 02 Sep 2022 12:44:22 +0000") References: <87fstqxbrm.fsf@posteo.net> <877df0le34.fsf@mail.linkov.net> <87bl4cv5gk.fsf@posteo.net> <87mtbivxh4.fsf@gnus.org> <877d2m6muw.fsf@posteo.net> <87edwuvwyh.fsf@gnus.org> <87v8q6are2.fsf@posteo.net> <878rn2uf97.fsf@gnus.org> <87o7vyaqu1.fsf@posteo.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEV9coBFLl4VFRWx raft7Ob////o4EvwAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YJAgw7Jkx1a2QAAAGKSURBVDjLlZRb doQgDIZFXIDGWYBkugA1WYA27H9NDQG8TOtDMwcO5uNPwm0aN/xtzSfI343+7tabo3dFoR0igo4C DgDaJYUnonnFmwUDnjy1d4AGGj/DMdFdgC8fofENlTkJNEv2T0S+7wcHhyLHn2ZnpeHwAd7wK3ku 1XrAcf8A7zVld9rOHHOqKKwYOG5u6fYDkM4JOpZoJidYrdhYrQLdKpW8D/9FQbrE6QCXHKR7GA6Q AvsSKpEDaNxRqoJm7DS6vCzFSCcg0OzSviwFZ2B+3e5UkLYWUKeeCoIupxggaKh0KbxkSRc5igaB cFcQK8jL8yWHRHWrzCJtyZ8VxDafZi7L66hWFZkTtewtgqdogFmiWA4zlo4kA/VHEpa6J50UkCQc z/MYVWUgljXr4mysZZ7A0JZPRbVXYEdkpzKzVJCYtm90VX5RAMe127/kCmYIem8DY9zr0ed11As7 icOs3wyUZxYw9Bu+UqDFbgmfz2yC9ByGcn0Y/7AElicATwCfwMOfzL/BD8VDqPeEMP8PAAAAJXRF WHRkYXRlOmNyZWF0ZQAyMDIyLTA5LTAyVDEyOjU5OjM4KzAwOjAwtl6N/QAAACV0RVh0ZGF0ZTpt b2RpZnkAMjAyMi0wOS0wMlQxMjo1OTozOCswMDowMMcDNUEAAAAASUVORK5CYII= X-Now-Playing: Brigitte Fontaine's _Comme =?utf-8?Q?=C3=A0?= la radio_: "Encore" Date: Fri, 02 Sep 2022 15:03:35 +0200 Message-ID: <87o7vyszbs.fsf@gnus.org> 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 writes: > 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 o [...] 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@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Philip Kaludercic writes: > 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. Makes sense to me. Anybody else have an opinion here? From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 02 22:34:51 2022 Received: (at 50851) by debbugs.gnu.org; 3 Sep 2022 02:34:51 +0000 Received: from localhost ([127.0.0.1]:40671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUIzi-0006Z9-R8 for submit@debbugs.gnu.org; Fri, 02 Sep 2022 22:34:51 -0400 Received: from mail-pl1-f172.google.com ([209.85.214.172]:41892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUIzg-0006Yw-T9 for 50851@debbugs.gnu.org; Fri, 02 Sep 2022 22:34:49 -0400 Received: by mail-pl1-f172.google.com with SMTP id p18so3544403plr.8 for <50851@debbugs.gnu.org>; Fri, 02 Sep 2022 19:34:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:content-language:in-reply-to:mime-version :date:message-id:from:references:cc:to:subject:from:to:cc:subject :date; bh=FImBLrjPqofR+bmlsnUCGto1m4I89MiEKdQGoyxI3S4=; b=nXBUx6BH+pIpJVs+QqX3eIIXZcdTzkoAbAvoFXPhrkJACp6yQPs7ZkFdxzNA173hYS SC7ya3GKP2llmQUZCIO6GVOIinqoqrqpMVgVUKbtS2fMRlwxphpV5upcrBFAxjcY1U5Y ZqPYAgALa1alhowEz/ENPUOmNXqynx6IoAMGHYjKJU29uBvz6OZaoPa0IPCWIfMQrW40 9FrR/gZunmWHP+DSYsTr7DB3e3VERmqAGOru4efXYMCdvkKvQEE1DmsgHhWuzHMHPgEe n9rlTfqZ/9Wsfqg+2rXEE942ZBtenjCZSEREv0PuKU2J/s4/odTWTLjYHJGrV1t9Q3dC TfTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:content-language:in-reply-to:mime-version :date:message-id:from:references:cc:to:subject:x-gm-message-state :from:to:cc:subject:date; bh=FImBLrjPqofR+bmlsnUCGto1m4I89MiEKdQGoyxI3S4=; b=Dcz3MvH4AVkspqWzptu6ZWIQfydYLMOrcD9xOY1YYV5ERdUfd8BiieOYi/l06g8b35 1dmLH2uDY6ViNSDudUFs2gzLAgNSuZ2JtHAc7JIonWc4x5GIrYedeTsDIUIm4pBmVigm AmwE3OR5cNO43+U0py3WjFbDqqgS0qi9WGMoKAh7Kkq0ruSMGIkqnB1JBYLTjQIN9NPb F0crGf8cc73tEwoRLxh19ZV9RI1PmP/pqzJ5lxryEYoLJyrqCD+uRcA4UVPV4ruPRS6R epSzVOqbzQgvY6MfipetKawWMeO2OGRHKEvu+vzo3szedJxyfufrPuZipf7hdI+21v1w N2jQ== X-Gm-Message-State: ACgBeo2Ald8oJ5S27/wd/52nrM7gFBbYCd/d/8oXSxCchQ7U2bteOGpX 9iWTe7aCiEV7VAZkaSFHqXQ= X-Google-Smtp-Source: AA6agR7RQLQpqwdSia4x5ZmnhgE7jEpftkI07jiEbn2Y+YeERJJCwWIy0SAYis8PsWjV6hVJ2B4EAg== X-Received: by 2002:a17:902:f650:b0:172:8ee1:7f40 with SMTP id m16-20020a170902f65000b001728ee17f40mr39219787plg.101.1662172482943; Fri, 02 Sep 2022 19:34:42 -0700 (PDT) Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id c187-20020a624ec4000000b0053627e0e860sm2551729pfb.27.2022.09.02.19.34.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Sep 2022 19:34:41 -0700 (PDT) Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode To: Lars Ingebrigtsen , Philip Kaludercic References: <87fstqxbrm.fsf@posteo.net> <877df0le34.fsf@mail.linkov.net> <87bl4cv5gk.fsf@posteo.net> <87mtbivxh4.fsf@gnus.org> <877d2m6muw.fsf@posteo.net> <87edwuvwyh.fsf@gnus.org> <87v8q6are2.fsf@posteo.net> <878rn2uf97.fsf@gnus.org> <87o7vyaqu1.fsf@posteo.net> <87o7vyszbs.fsf@gnus.org> From: Jim Porter Message-ID: Date: Fri, 2 Sep 2022 19:34:41 -0700 MIME-Version: 1.0 In-Reply-To: <87o7vyszbs.fsf@gnus.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50851 Cc: 50851@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 9/2/2022 6:03 AM, Lars Ingebrigtsen wrote: > Philip Kaludercic writes: > >> 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. > > Makes sense to me. Anybody else have an opinion here? I think this makes sense, subject to some handwaving about what should happen if a user has customized the context menu heavily. I was looking into something similar a while ago, but I'd have to refresh myself to say anything more substantial. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 03 15:47:29 2022 Received: (at 50851) by debbugs.gnu.org; 3 Sep 2022 19:47:29 +0000 Received: from localhost ([127.0.0.1]:43097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUZ73-0000aC-CG for submit@debbugs.gnu.org; Sat, 03 Sep 2022 15:47:29 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:36697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUZ71-0000Zw-NT for 50851@debbugs.gnu.org; Sat, 03 Sep 2022 15:47:28 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 7F1D41C0003; Sat, 3 Sep 2022 19:47:16 +0000 (UTC) From: Juri Linkov To: Lars Ingebrigtsen Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode In-Reply-To: <87ilm6vxd4.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 02 Sep 2022 13:17:43 +0200") Organization: LINKOV.NET References: <86zgpgtbhb.fsf@mail.linkov.net> <87ilm6vxd4.fsf@gnus.org> Date: Sat, 03 Sep 2022 22:40:28 +0300 Message-ID: <86edwsi6vn.fsf@mail.linkov.net> 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@debbugs.gnu.org, Tor Kringeland X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> `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-' 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. Yep, it's inconsistent but still convenient, so I'm unsure about this. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 03 15:47:34 2022 Received: (at 50851) by debbugs.gnu.org; 3 Sep 2022 19:47:35 +0000 Received: from localhost ([127.0.0.1]:43100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUZ78-0000aS-My for submit@debbugs.gnu.org; Sat, 03 Sep 2022 15:47:34 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:38681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUZ76-0000a3-H9 for 50851@debbugs.gnu.org; Sat, 03 Sep 2022 15:47:32 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 50F4BFF809; Sat, 3 Sep 2022 19:47:23 +0000 (UTC) From: Juri Linkov To: Lars Ingebrigtsen Subject: Re: bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode In-Reply-To: <87o7vyszbs.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 02 Sep 2022 15:03:35 +0200") Organization: LINKOV.NET References: <87fstqxbrm.fsf@posteo.net> <877df0le34.fsf@mail.linkov.net> <87bl4cv5gk.fsf@posteo.net> <87mtbivxh4.fsf@gnus.org> <877d2m6muw.fsf@posteo.net> <87edwuvwyh.fsf@gnus.org> <87v8q6are2.fsf@posteo.net> <878rn2uf97.fsf@gnus.org> <87o7vyaqu1.fsf@posteo.net> <87o7vyszbs.fsf@gnus.org> Date: Sat, 03 Sep 2022 22:44:08 +0300 Message-ID: <864jxoi6pj.fsf@mail.linkov.net> 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@debbugs.gnu.org, Philip Kaludercic X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> 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. > > Makes sense to me. Anybody else have an opinion here? I agree. Some apps add spellcheck suggestions in a submenu, some add them at the top of the context menu. Still the biggest task is to refactor `flyspell-correct-word' that would allow this.