help-gnu-emacs
[Top][All Lists]
Advanced

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

Get a list of correction from ispell


From: Aurélien Aptel
Subject: Get a list of correction from ispell
Date: Fri, 10 Feb 2012 19:15:14 +0100

Hi all,

I want to get a list of correction for a word (using the ispell-mode).
Note that Flyspell works correctly.

ispell-current-dictionary
=> "francais"

(lookup-words "maiso*") ;; maison, house in french

Debugger entered--Lisp error: (error "egrep error: /bin/egrep:
/usr/dict/words: No such file or directory")
  signal(error ("egrep error: /bin/egrep: /usr/dict/words: No such
file or directory"))
  error("%s error: %s" "egrep" "/bin/egrep: /usr/dict/words: No such
file or directory")
  [...]


lookup-words wants a dictionary file, and without the optional
argument it's using /usr/dict/words instead. How can I can a list of
correction using ispell-current-dictionnary?



reply via email to

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