[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54131: 29.0.50; Flyspell incorrectly reports first word in Python f-
From: |
Lars Ingebrigtsen |
Subject: |
bug#54131: 29.0.50; Flyspell incorrectly reports first word in Python f-string |
Date: |
Thu, 24 Feb 2022 15:36:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Visuwesh <visuweshm@gmail.com> writes:
> I misspell parts of a symbol quite often so rebinding M-$ to a command
> that NOOPs when the point is not over a comment/string would end up
> annoying, IMO. I am not sure how common this usecase is though.
I think it's pretty common. I think a new command that does what
ispell-comment-or-string-at-point does if we're in a comment/string and
what ispell-word does otherwise might be nice.
And flyspell-prog-mode could rebind `M-$', as Eli suggests, but to that
new command.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no