bug#81638: 32.0.50; flyspell-prog-text-faces type and semantics
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
> From: Stefan Monnier <[email protected]> > Cc: Michael Heerdegen <[email protected]>, Sean Whitton > <[email protected]>, [email protected] > Date: Tue, 18 Aug 2026 14:25:39 -0400 > > > And if all of the above is not enough, and you still insist, I could > > agree to adding nil to the valid values (but then please suggest a > > suitable :tag), > > BTW, there can be other good reasons to use a value not covered by the > current `:type`, e.g. it can make a lot of sense to put `sh-heredoc` or > `perl-heredoc` in there. AFAIU, those are not normally human-readable text, so I'm not sure what sense you are seeing in doing that. > >> But I wonder if we should, in addition, generalize > >> `flyspell-generic-progmode-verify' so that members of > >> `flyspell-prog-text-faces' are allowed to be functions (test > >> predicates). > > If you want to do that, it is better (and easier) to override > > flyspell-generic-progmode-verify with your own function. > > You mean set `flyspell-generic-check-word-predicate`? That's one way, yes. But if someone wants to use flyspell-prog-mode, the variable is already set.