all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sébastien Gendre" <seb@k-7.ch>
To: help-gnu-emacs@gnu.org
Subject: Re: Problems with flyspell and accents
Date: Thu, 20 Oct 2022 09:13:09 +0200	[thread overview]
Message-ID: <87pmenhs30.fsf@k-7.ch> (raw)
In-Reply-To: <83wn8vxat0.fsf@gnu.org>


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 ?

How can I find what is the default dictionary if I not set it ?

How can I find the speller used ?

Eli Zaretskii <eliz@gnu.org> 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 <eliz@gnu.org> writes:

>> From: Sébastien Gendre <seb@k-7.ch>
>> Date: Thu, 20 Oct 2022 07:20:21 +0200
>> 
>> In french texts shown in an Emacs buffer, I got a problem with flyspell and accents.
>> 
>> Every words with an accent is seen as wrong before or after the char
>> with an accent.
>> 
>> Exemple, the word "résumer". 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?




  reply	other threads:[~2022-10-20  7:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-20  5:20 Problems with flyspell and accents Sébastien Gendre
2022-10-20  6:34 ` Eli Zaretskii
2022-10-20  7:13   ` Sébastien Gendre [this message]
2022-10-20  7:37     ` tomas
2022-10-20  8:10     ` Eli Zaretskii
2022-10-20  8:22       ` tomas
2022-10-20  9:59       ` Sébastien Gendre
2022-10-20 10:41         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmenhs30.fsf@k-7.ch \
    --to=seb@k-7.ch \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.