GNU bug report logs -
#20581
24.5; aspell dictionary de-alt not found
Previous Next
Reported by: "Felix E. Klee" <felix.klee <at> inka.de>
Date: Thu, 14 May 2015 22:17:02 UTC
Severity: normal
Found in version 24.5
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 20581 <at> debbugs.gnu.org (full text, mbox):
On Fri, May 15, 2015 at 11:01 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> So could you please step in Edebug through the code in ispell.el […]
As said before, `ispell-dictionary-alist` is assembled from the output
of `aspell dicts`. For each line in the output,
`ispell-aspell-find-dictionary` is called. Example:
ELISP> (ispell-aspell-find-dictionary "de_DE")
("de_DE" "[[:alpha:]]" "[^[:alpha:]]" "" t
("-d" "de_DE")
nil utf-8)
It doesn’t work with `de-alt`:
ELISP> (ispell-aspell-find-dictionary "de-alt")
nil
I used `edebug` on `ispell-aspell-find-dictionary` and found that there
is pattern matching happening that strips the variant `alt` from
`de-alt`. Then a path is assembled, `fullpath`, which evaluates to:
"/usr/lib/aspell-0.60/de.dat"
That `.dat` file doesn’t exist. For `de-alt` it is a mistake to strip
the variant. The correct path is: "/usr/lib/aspell-0.60/de-alt.dat"
This bug report was last modified 10 years and 88 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.