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 09:13:09 +0200 Message-ID: <87pmenhs30.fsf@k-7.ch> References: <87tu3zhxmy.fsf@k-7.ch> <83wn8vxat0.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="32969"; 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 09:37:06 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 1olQ6z-0008HK-Gm for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 09:37:05 +0200 Original-Received: from localhost ([::1]:53352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olQ6y-0007BV-2A for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 03:37:04 -0400 Original-Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olQ0l-0003cG-PI for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 03:30:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olPyc-0003aD-5o for help-gnu-emacs@gnu.org; Thu, 20 Oct 2022 03:28:29 -0400 Original-Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96]:45012 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 1olPya-0008HH-6Q for help-gnu-emacs@gnu.org; Thu, 20 Oct 2022 03:28:25 -0400 Original-Received: from sherazad-lan (_gateway [192.168.1.1]) (Authenticated sender: seb) by gandalf.k-7.ch (Postfix) with ESMTPSA id 62E3E1502 for ; Thu, 20 Oct 2022 09:28:20 +0200 (CEST) In-reply-to: <83wn8vxat0.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:140176 Archived-At: As the word suggested by ispell where in french, I think the default dictionary is set to French language (like my system). But if, after called `flyspell-mode`, I set the dictionary to fr_FR with `ispell-change-dictionary`, the problem is gone. It's strange, because before Emacs 28.1, I didn't need to tell ispell to speak french. It was by default. But now, I know I need to set the default language in my init.el file: ``` (ispell-change-dictionary "fr_FR") ``` But how I need to set the dictionary at Emacs start now=C2=A0? How can I find what is the default dictionary if I not set it=C2=A0? How can I find the speller used=C2=A0? Eli Zaretskii writes: > you perhaps upgrade the speller as well when you switched to Emacs 28? Probably, it was after an upgrade of Fedora to a new major version. Eli Zaretskii writes: >> From: S=C3=A9bastien Gendre >> Date: Thu, 20 Oct 2022 07:20:21 +0200 >>=20 >> In french texts shown in an Emacs buffer, I got a problem with flyspell = and accents. >>=20 >> Every words with an accent is seen as wrong before or after the char >> with an accent. >>=20 >> Exemple, the word "r=C3=A9sumer". The last part "sumer" is underlined in= red. >> And if I look at the flyspell suggestions, it offer a substitution to the >> word "sumer". > > Sounds like the speller was set up for the English language, not for > French. Or maybe the encoding of the non-ASCII characters sent to the > speller is wrong. > > Does this happen in "emacs -Q"? Which speller are you using, and did > you perhaps upgrade the speller as well when you switched to Emacs 28?