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: Problems with flyspell and accents Date: Thu, 20 Oct 2022 11:59:40 +0200 Message-ID: <87lepaizkr.fsf@k-7.ch> References: <87tu3zhxmy.fsf@k-7.ch> <83wn8vxat0.fsf@gnu.org> <87pmenhs30.fsf@k-7.ch> <83o7u6yky7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29758"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.9; emacs 28.1 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 20 12:24:11 2022 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 1olSig-0007VQ-L1 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 12:24:10 +0200 Original-Received: from localhost ([::1]:53822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olSie-0002tU-Vw for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 06:24:09 -0400 Original-Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olSYO-0004S1-0m for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 06:13:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olSMT-0004Km-OF for help-gnu-emacs@gnu.org; Thu, 20 Oct 2022 06:01:14 -0400 Original-Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96]:36288 helo=gandalf.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 1olSMR-0000bj-Uf for help-gnu-emacs@gnu.org; Thu, 20 Oct 2022 06:01:13 -0400 Original-Received: from sherazad-lan (_gateway [192.168.1.1]) (Authenticated sender: seb) by gandalf.k-7.ch (Postfix) with ESMTPSA id 62E0D1502 for ; Thu, 20 Oct 2022 12:01:09 +0200 (CEST) In-reply-to: <83o7u6yky7.fsf@gnu.org> Received-SPF: permerror client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=gandalf.k-7.ch X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.4, PDS_RDNS_DYNAMIC_FP=0.01, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, TVD_RCVD_IP=0.001, T_SPF_PERMERROR=0.01 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" Xref: news.gmane.io gmane.emacs.help:140190 Archived-At: Eli Zaretskii writes: > Let's start with the latter: after you turn on flyspell-mode, type > "M-x list-processes RET", and see what speller are you running. Based on list-processes, the command run for ispell is: /usr/bin/enchant-2 -a -m -B > Is that in "emacs -Q", btw? If not, please try in "emacs -Q" first. Yep, I used `emacs -q`. Eli Zaretskii writes: >> From: S=C3=A9bastien Gendre >> Date: Thu, 20 Oct 2022 09:13:09 +0200 >>=20 >>=20 >> As the word suggested by ispell where in french, I think the default >> dictionary is set to French language (like my system). >>=20 >> But if, after called `flyspell-mode`, I set the dictionary to fr_FR with >> `ispell-change-dictionary`, the problem is gone. > > So the default dictionary is not for French, or so it seems. > >> It's strange, because before Emacs 28.1, I didn't need to tell ispell to >> speak french. It was by default. >>=20 >> But now, I know I need to set the default language in my init.el file: >> ``` >> (ispell-change-dictionary "fr_FR") >> ``` >>=20 >> But how I need to set the dictionary at Emacs start now=C2=A0? >>=20 >> How can I find what is the default dictionary if I not set it=C2=A0? >>=20 >> How can I find the speller used=C2=A0? > > Let's start with the latter: after you turn on flyspell-mode, type > "M-x list-processes RET", and see what speller are you running. I > think the issue of setting up the default dictionary might depend on > that. > > Is that in "emacs -Q", btw? If not, please try in "emacs -Q" first.