bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62677: 30.0.50; Need to find a better name for flyspell-prog-mode


From: Augusto Stoffel
Subject: bug#62677: 30.0.50; Need to find a better name for flyspell-prog-mode
Date: Thu, 06 Apr 2023 14:14:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Wed,  5 Apr 2023 at 19:44, Michael Heerdegen wrote:

> Juri Linkov <juri@linkov.net> writes:
>
>> > We should obsolete it and find a better one.
>>
>> Too late to rename it because it runs 'flyspell-prog-mode-hook'
>> customized by users.
>
> Can't we use a `defvaralias' like in other places?
>
> Michael.

I don't think a name tweak is useful.  If an improvement is at all
necessary, then just get rid of flyspell-prog-mode, that is, make
flyspell-mode skip keywords and the like by default in prog-derived
modes.  This is what is intended 99.7% of the time.

For the remaining 0.3% of the cases, it's more productive to provide an
easier way to customize what is ignored by Flyspell, using e.g. the
`spelling-ignore-functions' hook I suggested in the emacs-devel thread.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]