From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Problems with ispell/flyspell
Date: Wed, 21 Dec 2005 17:11:54 -0500 [thread overview]
Message-ID: <87zmmui0a1.fsf-monnier+emacs@gnu.org> (raw)
I recently started to get problems with flyspell that seem to be due to
ispell.el. Basically, the main symptom is that flyspell doesn't do anything
(none of the incorrect spellings are highlighted).
Most likely the problem is caused by the second problem below (because the
error is signalled while running flyspell-post-command-hook and it thus
causes post-command-hook to be set to nil).
- when I start flyspell-mode, I tend to get an error of the form:
"Error: no word lists can be found for the language fr_CH"
this error is raised in ispell-init-process by
(error "%s" (mapconcat 'identity ispell-filter "\n"))
- later on, while using flyspell, I get errors of the form
"wrong-argument-type, string, nil" because
in ispell-find-aspell-dictionaries, (assoc "en" ispell-dictionary-alist)
has returned nil, which caused ispell-dictionary-alist to have an entry of
the form (nil), so when ispell-current-dictionary is nil,
(ispell-get-decoded-string 1) returns nil, so ispell-get-casechars returns
nil, so flyspell-get-casechars returns nil, so flyspell-get-word
does a (looking-at nil) which signals an error.
This is on a machine where I have both ispell and aspell installed
(as I just discovered), in case it matters.
~-0% ispell -v
@(#) International Ispell Version 3.1.20 10/10/95, patch 1
...
~-0% aspell -v
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.4)
~-0%
All this is somewhat mostly reproducible, tho it doesn't seem to be
100% deterministic.
Stefan
next reply other threads:[~2005-12-21 22:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-21 22:11 Stefan Monnier [this message]
2005-12-22 0:00 ` Problems with ispell/flyspell Agustin Martin
2005-12-22 1:43 ` Stefan Monnier
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=87zmmui0a1.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
/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.