From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel Reicher Newsgroups: gmane.emacs.help Subject: Re: flyspell-prog-mode, flyspell-mode and different dictionary Date: Tue, 23 Jul 2024 22:29:56 +1000 Message-ID: <86v80wxpdn.fsf@gmail.com> References: <87cyn4s7y2.fsf@k-7.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8652"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: "help-gnu-emacs@gnu.org" To: =?iso-8859-1?Q?S=E9bastien?= Gendre Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 23 14:30:53 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 1sWEfM-00020N-KG for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 23 Jul 2024 14:30:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWEei-00064o-KC; Tue, 23 Jul 2024 08:30:14 -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 1sWEeg-00064R-IP for help-gnu-emacs@gnu.org; Tue, 23 Jul 2024 08:30:10 -0400 Original-Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sWEea-0006no-Cn for help-gnu-emacs@gnu.org; Tue, 23 Jul 2024 08:30:05 -0400 Original-Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-7a23fbb372dso534515a12.0 for ; Tue, 23 Jul 2024 05:30:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721737801; x=1722342601; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uYDUsYM4Xgn99cEP1twjtWr13QqQzo8PlBgXDW63uI4=; b=G2GgVYH0AQOUxgoKGOn7+fM+ekUemGI/flGcWfnlqqF4f8piNuHtb0GMHHs4FAqnGG EAjhhgJ45UMvsUtUxGF1cHjTJguSH+TIfb8qch0zBtYLTDE5UdDoTPz4TEvwoCUDqDBX cVLS8MMEngGUMgzzq3YU1W+0k2rzO8y0YrGi+b4JICD53dB7gPxydtSwPxhD7p7AT6qu JMczG+m6hoIEZxnuV2Nmw8Tx4+S1N2lzAdnZ7+t+W0oaar3O7XAuJYAwQO60SMZHCs7b TdXjLfVizzMgHfybAk+zE1byMC+GHWj6RfPWTexBoJXxx/9D0HpUxP+HcaDlz4qg5S+k SXsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721737801; x=1722342601; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=uYDUsYM4Xgn99cEP1twjtWr13QqQzo8PlBgXDW63uI4=; b=UvOFBRiHwMMGRgay37HfT4k4uvGfg0DQLc8Db0m4ZVfhTQdUxUKmaH0qp74O6/pvS6 zAUeivoGUzZzo3cNimN2ELuqTNFnYkdSdewo096iYs6iEOtASWnhRxWdiKIhyh4Y8z44 z6dQSxhaEvHio4Ip3MGw+y2RxJojxIuVNOaX2kr5rORq4Q82OUD06tz1jeVg8j6WCEby QYvMdXdWXtxTAgWh8eEzOSf33r03rG0bMSBLnbsSjUTrlTRCSVeU2wIkWkFOlh6qmTes XXxNRLlQQUarkD8I4zYk0FpAQpUypNbknKL8KRHCBoudOzAv8GdvbFHFXdAtNInTBVu2 C0ww== X-Gm-Message-State: AOJu0Yy3kbpAgleLtH7zdgopaJVo/0yCHvNLxY7eT0QqpC3wW/sdVTK9 VR+TNVG4+hU9Wzc7Xv4E6iFfbVpLnmbjdfpiiWFqnBbukQH8lnZm9LSvZw== X-Google-Smtp-Source: AGHT+IEj42mCjGsZvowLdfLA79PodG7eyPRdy/TffZw1FbudnENA+lXyG58guJCeEJl3wpHjiWU/bw== X-Received: by 2002:a05:6a21:4581:b0:1c2:8d22:c6a6 with SMTP id adf61e73a8af0-1c44f746232mr3000378637.8.1721737800446; Tue, 23 Jul 2024 05:30:00 -0700 (PDT) Original-Received: from LAPTOP-ACR66VVN (139-218-25-158.sta.wbroadband.net.au. [139.218.25.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2ccf808f050sm8928825a91.45.2024.07.23.05.29.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jul 2024 05:30:00 -0700 (PDT) In-Reply-To: <87cyn4s7y2.fsf@k-7.ch> (=?iso-8859-1?Q?=22S=E9bastien?= Gendre"'s message of "Tue, 23 Jul 2024 12:45:25 +0200") Received-SPF: pass client-ip=2607:f8b0:4864:20::52f; envelope-from=joel.reicher@gmail.com; helo=mail-pg1-x52f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:147313 Archived-At: S=E9bastien Gendre writes: > Recently, I discovered flyspell-prog-mode and wanted to use it=20 > in all programming language editing. But this time, set to=20 > english. > > In the manual, I didn't found a way to set the spell check=20 > language based on the mode. And there is no=20 > 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=20 default? Regards, - Joel