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: Wed, 24 Jul 2024 15:42:48 +0200 Message-ID: <8734ny29ev.fsf@k-7.ch> References: <87cyn4s7y2.fsf@k-7.ch> <86v80wxpdn.fsf@gmail.com> <875xswqnnm.fsf@k-7.ch> <86sevzzkqf.fsf@gmail.com> <87y15r0wza.fsf@web.de> 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="40720"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.12.1; emacs 29.4 Cc: Michael Heerdegen To: Michael Heerdegen via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 24 15:43:49 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 1sWcHU-000AOl-GH for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 24 Jul 2024 15:43:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWcGi-0000xt-DU; Wed, 24 Jul 2024 09:43:00 -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 1sWcGf-0000xh-PG for help-gnu-emacs@gnu.org; Wed, 24 Jul 2024 09:42:57 -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 1sWcGd-0000pu-9I for help-gnu-emacs@gnu.org; Wed, 24 Jul 2024 09:42:56 -0400 Original-Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id 78FF4E7DE0; Wed, 24 Jul 2024 15:42:49 +0200 (CEST) In-Reply-To: <87y15r0wza.fsf@web.de> (Michael Heerdegen via Users list for the's message of "Wed, 24 Jul 2024 14:56:41 +0200") 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:147340 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ok. Thank you very much. :) Michael Heerdegen via Users list for the GNU Emacs text editor writes: > Joel Reicher writes: > >> S=C3=A9bastien Gendre writes: >> >> > I checked for variable `flyspell-prog-mode-hook` with >> > `describe-variable`, with no success. >> >> Undefined variables won't show up there, which is why I asked if you >> checked the definition of the flyspell-prog-mode *function*. >> >> If you setq an undefined variable, it will define it, and if your >> version of the mode references this (previously undefined) variable, >> it will work as you expect. > > With other words: You can (add-hook 'flyspell-prog-mode-hook ...) even > when flyspell-prog-mode-hook is void, without error. And enabling > `flyspell-prog-mode' _will_ look at and use the binding. > > > Michael. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAmahBNgLHHNlYkBrLTcu Y2gACgkQtYb3x3I54p7VDA/9HrhTAl3J5jeP6xQxF2Y+2e1xnnfoWn/m+ZlilPWU z4mBTZkIRmJ1ELP1AFbPWcZTFnyC/t8Nfl+yIBXrUMvuo/8ZakJ0RMG4fv3+/1d8 2buflmpEWR5Hfwyoqkci26UI3yKfHTMovdRL8UqSW5V9hSmUjguHD4HZhXz+zd4/ W4apiMjCLi9sOgQmMBhPfpkHgO7j7OMQAkw2hFYzT26Q0rMv+T13Qoy+gnjhIRwd zZNc1laccycsVagFt4airn7RE7cxSCBvmo+odrgcZu2v2KLg39fOBEUEvrl/Rv6m PTG8qU8MrKEYKOkkD+bqZ0qGzbBHg1IaSJNqAH4xn2NmvvMp/2q6m//L4pBD+M6W /7Og2+ibPkUc4k6DMB7TXDb1zy5OWOIFA4tcYti+qlJ+0bYTKwNBZgNmMe6x5Csi ycM/ulCjYzXuBfJwdT823Opw2eFFfVaK/aSyesfijuRHezaScpqdMVLyzelF6sfE U8MGERzaqVZ7ZNSNCNuiTSoWE3QKNWDcLFFOuX0X9mPERKYyVu5ZXPNRn+pFVeFC NAciAbK0cf71XHKbLVJw4v0D5A7E14+bFM0amIa8Mw3CwXRx3FeOCDHJD7gOhqK+ 2xD0gKNjOnA7+hJ3H6nGxYr/X1X38dvJA1H+dO0hbCF/397BoXY1VWmSJv9tuC91 RLQ= =WgYj -----END PGP SIGNATURE----- --=-=-=--