[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode
From: |
Juri Linkov |
Subject: |
bug#50851: 28.0.50; flyspell-mode overrides context-menu-mode |
Date: |
Sat, 04 Dec 2021 21:54:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>> 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.