[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 16:59:33 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) |
"Richard M. Stallman" <address@hidden> writes:
> I think the default behavior should be to extract the necessary
> information from aspell at run time.
>
> Can you tell us how to do that? Is there a way to invoke aspell
> from the command line so that it will list the dictionaries?
Yes, 'aspell dicts' prints a list of installed dictionaries.
However, I've looked closer at ispell.el, and it seems that the fix is
not trivial, as ispell-dictionary-alist contains additional data
(described in the docstring). Some seems to be specific to ispell,
but casechars and otherchars need to be determined in some way.
Otherchars could be extracted from aspell's $LANG.dat file (the
"special" declaration). Redefining some of the ispell-get-*
functions[1] to behave differently if aspell is used would probably
be nearly sufficient.
I'm slightly inclined to fix it myself, if there's noone more suitable
to do it.
Magnus
[1] ispell-get-casechars, ispell-get-not-casechars,
ispell-get-otherchars, ispell-get-many-otherchars-p,
ispell-get-ispell-args, ispell-get-extended-character-mode,
ispell-get-coding-system are short accessor functions to
ispell-{local-,}dictionary-alist.
- 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 <=
- 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, 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