From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?S=C3=A9bastien_Gendre?= Newsgroups: gmane.emacs.help Subject: Re: flyspell-prog-mode, flyspell-mode and different dictionary Date: Tue, 23 Jul 2024 14:49:01 +0200 Message-ID: <875xswqnnm.fsf@k-7.ch> References: <87cyn4s7y2.fsf@k-7.ch> <86v80wxpdn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="606"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.12.1; emacs 29.4 Cc: "help-gnu-emacs@gnu.org" To: Joel Reicher Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 23 14:50:00 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sWExs-000AZV-Ec for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 23 Jul 2024 14:50:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWEx5-0005wg-Ii; Tue, 23 Jul 2024 08:49:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWEx3-0005uu-4n for help-gnu-emacs@gnu.org; Tue, 23 Jul 2024 08:49:09 -0400 Original-Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96] helo=k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWEwz-0002hD-FJ for help-gnu-emacs@gnu.org; Tue, 23 Jul 2024 08:49:08 -0400 Original-Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id DCD54E8135; Tue, 23 Jul 2024 14:49:01 +0200 (CEST) In-Reply-To: <86v80wxpdn.fsf@gmail.com> (Joel Reicher's message of "Tue, 23 Jul 2024 22:29:56 +1000") Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147314 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I checked for variable `flyspell-prog-mode-hook` with `describe-variable`, with no success. Joel Reicher writes: > S=C3=A9bastien Gendre 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAmafpr0LHHNlYkBrLTcu Y2gACgkQtYb3x3I54p63yw//cXpPBcJ/fHs7B1AOVCU7QpwVq0V8/rzR3hM4Z9Yw eyPO1RnPau5k40m3YdqHY8OrtckkIc2ekyd94fVf299rEJWpZFhWFS5Ge2xdZSiE /MwqgJdzmgy4goxZpnbYCXBWAmhltSoq9nJMx1jIF4EFFsqWh+Vv3x2RQTq2+wQG +V7x/3UsL2bT6f2KzktqKUMxex/hFTcWsxczDHtmTMbocQVsW0AfdoY84XMJKrVo GRjYPkhGeYu4dJaDy88fN/X25UQqyGagBgiD1pR/2zEbPDPj3P2nIjYsOZAxitnd QOP4LEYwIFKqD2tmu5oSQLolkRzISmJipwDJh417sd4RjUfgN2eJiDbyz2fT2x5P Ow4I7QbUb7gArAz7VqAHK5MfxFFOyZtrRCE1Ml3cjGiZDR0vg6zCGGarW02Tgys1 7jXISo2XOKPIzSjC9HfHgKelPiFeDV2LKYALzDoq2wZ9VM/B/3wvbOoqX2bNgdcU 92vpyVMfM/zKZOkEyUSYEZK0/pUchw36I0sDnbAhnCHiXI/mEmFG7zoUzEZQ5ivL bhrG5i4pTES4TLkyHDjHotugwjzjPAEsDBG/inmfVHOjd5dk5HlLeOQgTknUFuLW 6vWyag2J9utHWhhYOQGjLezWfMkXoYK5wvvt9sfNWtnQPSqZJI/t+efNfftkWFXt RBA= =F6yE -----END PGP SIGNATURE----- --=-=-=--