Magnus Henoch <[EMAIL PROTECTED]> 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

Attachment: bin9ZVSFdANMO.bin
Description: application/emacs-lisp

_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to