unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Sébastien Gendre" <seb@k-7.ch>
To: Joel Reicher <joel.reicher@gmail.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: flyspell-prog-mode, flyspell-mode and different dictionary
Date: Tue, 23 Jul 2024 14:49:01 +0200	[thread overview]
Message-ID: <875xswqnnm.fsf@k-7.ch> (raw)
In-Reply-To: <86v80wxpdn.fsf@gmail.com> (Joel Reicher's message of "Tue, 23 Jul 2024 22:29:56 +1000")

[-- Attachment #1: Type: text/plain, Size: 710 bytes --]

I checked for variable `flyspell-prog-mode-hook` with
`describe-variable`, with no success.


Joel Reicher <joel.reicher@gmail.com> writes:

> Sébastien Gendre <seb@k-7.ch> writes:
>
>> Recently, I discovered flyspell-prog-mode and wanted to use it in
>> all programming language editing. But this time, set to english.
>>
>> In the manual, I didn't found a way to set the spell check language
>> based on the mode. And there is no flyspell-prog-mode-hook.
>
> Have you checked the definition of flyspell-prog-mode?
>
> In my installation (29.4) it calls flyspell-prog-mode-hook.
>
> Possibly you are being misled by this hook being undefined by default?
>
> Regards,
>
>        - Joel

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

  reply	other threads:[~2024-07-23 12:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-23 10:45 flyspell-prog-mode, flyspell-mode and different dictionary Sébastien Gendre
2024-07-23 11:41 ` Eli Zaretskii
2024-07-23 12:29 ` Joel Reicher
2024-07-23 12:49   ` Sébastien Gendre [this message]
2024-07-24  0:39     ` Joel Reicher
2024-07-24 12:56       ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-07-24 13:42         ` Sébastien Gendre
2024-07-23 14:56 ` Stefan Monnier via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875xswqnnm.fsf@k-7.ch \
    --to=seb@k-7.ch \
    --cc=help-gnu-emacs@gnu.org \
    --cc=joel.reicher@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).