emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Localize `ispell-completion-at-point'


From: Eli Zaretskii
Subject: Re: Localize `ispell-completion-at-point'
Date: Thu, 14 Dec 2023 11:32:12 +0200

> From: Arash Esbati <arash@gnu.org>
> Cc: emacs-devel@gnu.org
> Date: Thu, 14 Dec 2023 10:21:48 +0100
> 
> > Are there any free word lists in the format expected by
> > ispell-completion-at-point in languages other than English?
> 
> I searched only for a German word list which seems to be available
> here[1].  README.txt says:
> 
>   The format is one word per line, alphabetically ordered, ANSI-encoded
>   (Latin-1), with Windows line endings (CR-LF).
> 
> Changing it to utf8 and unix line endings should be easy.
> 
> > If so, we could add a feature that changed that value automatically
> > when the speller changes the main dictionary, perhaps.  But this would
> > only work well if those word lists are sufficiently standardized and
> > exist on many systems.
> 
> I didn't test but it seems possible to dump aspell dictionaries into
> plain word lists.[2]
> 
> > AFAIK, even the default /usr/share/dict/web2 doesn't exist on many
> > systems nowadays.
> 
> Maybe, on macOS, it is provided OOTB.  One can create an English word
> list easily here[3].

Everything is possible, of course.  I have this list on my systems.
But teaching Emacs about the names of such files and the place they
can be found on each system only makes sense if distros include them
in standardized places.  From what you say, I conclude that this is
not the case, with the possible exception of /usr/share/dict/web2,
which we already support.  If this is indeed so, I think leaving this
to manual user customization is TRT.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]