[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ispell.el doesn't find all of aspell's dictionaries
From: |
Magnus Henoch |
Subject: |
Re: ispell.el doesn't find all of aspell's dictionaries |
Date: |
Sun, 26 Jun 2005 18:30:30 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) |
Magnus Henoch <address@hidden> writes:
> I'm slightly inclined to fix it myself, if there's noone more suitable
> to do it.
I just did. Running aspell-find-dictionaries as defined below solves
my problem. It replaces the value of ispell-dictionary-alist with
information gathered from aspell.
This function should be called automatically somewhere, but it's not
clear to me where. And the menu should be updated - now it uses the
value of ispell-dictionary-alist defined at startup.
My code specifies UTF-8 as the encoding to use for all communications
with aspell. This is very convenient for the programmer, but will
fail in these cases:
* Some code passes a word to spellcheck on the command line, as
opposed to through stdin. (aspell will interpret it according to
the current locale.) I haven't checked for this thoroughly.
* Some language supported by aspell can't be encoded in UTF-8. Seems
unlikely to me.
* aspell is compiled without UTF-8 support. Its README file says that
the prerequisites are lib{n,}cursesw and the mblen function, which
should be present on any modern GNU system, and many others.
And I need to assign the copyright for this to the FSF, I guess.
Magnus
bin_jjQgUxy2H.bin
Description: application/emacs-lisp
- ispell.el doesn't find all of aspell's dictionaries, Magnus Henoch, 2005/06/24
- Re: ispell.el doesn't find all of aspell's dictionaries, Richard M. Stallman, 2005/06/25
- Re: ispell.el doesn't find all of aspell's dictionaries, Magnus Henoch, 2005/06/26
- Re: ispell.el doesn't find all of aspell's dictionaries,
Magnus Henoch <=
- Re: ispell.el doesn't find all of aspell's dictionaries, Richard M. Stallman, 2005/06/27
- Re: ispell.el doesn't find all of aspell's dictionaries, Kevin Atkinson, 2005/06/27
- Re: ispell.el doesn't find all of aspell's dictionaries, Richard M. Stallman, 2005/06/28
- Re: ispell.el doesn't find all of aspell's dictionaries, Magnus Henoch, 2005/06/28
- Re: ispell.el doesn't find all of aspell's dictionaries, Stefan Monnier, 2005/06/28
- Re: ispell.el doesn't find all of aspell's dictionaries, Richard M. Stallman, 2005/06/29
- Re: ispell.el doesn't find all of aspell's dictionaries, Richard M. Stallman, 2005/06/26
- Re: ispell.el doesn't find all of aspell's dictionaries, Magnus Henoch, 2005/06/26