bug#81638: 32.0.50; flyspell-prog-text-faces type and semantics

Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
> How about making a separate variant of flyspell-mode for these use
> cases, then?  flyspell-prog-mode might be an approximation, but AFAIU
> from what you are saying, it is not optimal, because you need to tweak
> it in ways that was not meant to happen, and because LaTeX is not a
> programming language anyway.  A new variant of flyspell would make
> more sense, IMO.

`flyspell-prog-mode` was a kind of quick-hack and I think Michael's
abuse of it just shows that this quick hack is useful more generally
than its original motivation.

We could try and clean things up by renaming it, but it seems to me that
a simpler solution is to improve the defcustom's `:type` to reflect more
faithfully the values it can take (i.e. a list of `face` property
values).


=== Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.