From: Eli Zaretskii <eliz@gnu.org>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: 72528@debbugs.gnu.org
Subject: bug#72528: 29.2; ispell considers that entries in the private ispell
Date: Thu, 08 Aug 2024 21:31:07 +0300 [thread overview]
Message-ID: <86a5hmn9xw.fsf@gnu.org> (raw)
In-Reply-To: <87ikwbdkqs.fsf@mat.ucm.es> (bug-gnu-emacs@gnu.org)
> Date: Thu, 08 Aug 2024 18:47:55 +0200
> From: Uwe Brauer via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
>
> Hi
>
> I have used ispell+flyspell for many years, and have also added words
> not found in the ispell dictoionaries to my private lists, for example
>
> .ispell_castellano
>
> contains words like
>
> acreditación
>
> saved in UTF8.
> That was never a problem.
>
> now it is:
>
> Steps to reprocuce the problem (provided you have a private wordlist in
> UTF8)
>
> 1. emacs -Q
> 2. load the file containing
> (setq ispell-program-name "ispell")
> (autoload 'flyspell-mode "flyspell" "On-the-fly spelling checking" t)
> (add-hook 'LaTeX-mode-hook 'turn-on-flyspell)
>
> (setq flyspell-issue-message-flag nil)
>
> (add-hook 'message-mode-hook 'turn-on-flyspell)
>
> (defun turn-on-flyspell ()
> "Turn on FlySpell minor mode."
> (flyspell-mode t))
>
> open a file:
>
> %% -*-coding: utf-8;ispell-local-dictionary: "castellano8";-*-
>
> nacion
>
> mark the region containing the word nacion, run ispell-region
>
> the following error appears
> Starting new Ispell process ispell with castellano8 dictionary...done
> ispell-init-process: @(#) International Ispell Version 3.4.06 30 Oct 2023
> Word 'zoonóticas' contains illegal characters
>
> Word 'ZacarÃas' contains illegal characters
>
> Word 'Vázquez' contains illegal characters
>
>
> any idea what is the reason for this (new) behavior? Shall I save the
> list in latin-1? (I did and the message disappears, but I am still
> puzzled)
If it's really Ispell that you are using (not Aspell or Hunspell that
pretend to be Ispell), then you cannot use UTF-8, because Ispell
doesn't support it. You must use 8-bit encoding such as Latin-1.
next prev parent reply other threads:[~2024-08-08 18:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-08 16:47 bug#72528: 29.2; ispell considers that entries in the private ispell Uwe Brauer via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-08 18:31 ` Eli Zaretskii [this message]
2024-08-08 19:47 ` Uwe Brauer via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-09 5:23 ` Eli Zaretskii
2024-08-09 7:56 ` Uwe Brauer via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-09 10:29 ` Eli Zaretskii
2024-08-09 13:14 ` Uwe Brauer via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=86a5hmn9xw.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=72528@debbugs.gnu.org \
--cc=oub@mat.ucm.es \
/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.