[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jinx
From: |
Michael Heerdegen |
Subject: |
Re: jinx |
Date: |
Tue, 04 Apr 2023 14:27:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Richard Stallman <rms@gnu.org> writes:
> [[[ To any NSA and FBI agents reading my email: please consider ]]]
> [[[ whether defending the US Constitution against all enemies, ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> > `flyspell-prog-mode' doesn't have any relation to prog-mode. It is
> > a function (not really a mode) that enables flyspell-mode and sets
> > the buffer-local variable `flyspell-generic-check-word-predicate'.
>
> It seems to act somewhat like a major mode but not entirely.
> Also, its name seems to suggest something different. That can
> cause confusion.
>
> Is it possible to rename this to a clearer name? Perhaps
> program-text-flyspell-mode, or something else? And then make it a
> proper major mode?, following all the conventions for major modes?
A major mode?? I think you misunderstood what it does. It's simply a
slightly modified flyspell-mode, conceptually clearly a minor-mode, see
the doc string ("Turn on `flyspell-mode' for comments and strings").
What the "don't spell-check language keywords" functionality skips
depends on the major-mode. That's all.
Michael.
- Re: jinx, (continued)
- Re: jinx, Arash Esbati, 2023/04/01
- Re: jinx, Eli Zaretskii, 2023/04/01
- Re: jinx, Arash Esbati, 2023/04/01
- Re: jinx, Eli Zaretskii, 2023/04/01
- Re: jinx, Arash Esbati, 2023/04/02
- Re: jinx, Michael Heerdegen, 2023/04/03
- Re: jinx, Michael Eliachevitch, 2023/04/03
- Re: jinx, Eli Zaretskii, 2023/04/03
- Re: jinx, Michael Eliachevitch, 2023/04/03
- Re: jinx, Richard Stallman, 2023/04/03
- Re: jinx,
Michael Heerdegen <=
- Re: jinx, Richard Stallman, 2023/04/04
- Re: jinx, Philip Kaludercic, 2023/04/05
- Re: jinx, Michael Heerdegen, 2023/04/05
- Re: jinx, Michael Heerdegen, 2023/04/05
- Re: jinx, Eli Zaretskii, 2023/04/05
- Re: jinx, Michael Heerdegen, 2023/04/05
- Re: jinx, Richard Stallman, 2023/04/04
- Re: jinx, Po Lu, 2023/04/05
- Re: jinx, Arash Esbati, 2023/04/05
- Re: jinx, Emanuel Berg, 2023/04/05