unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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 11:59:40 +0200	[thread overview]
Message-ID: <87lepaizkr.fsf@k-7.ch> (raw)
In-Reply-To: <83o7u6yky7.fsf@gnu.org>


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

>> From: Sébastien Gendre <seb@k-7.ch>
>> Date: Thu, 20 Oct 2022 09:13:09 +0200
>> 
>> 
>> 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.
>
> 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.
>> 
>> 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 ?
>
> 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.




  parent reply	other threads:[~2022-10-20  9:59 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
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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87lepaizkr.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).