From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Get a list of correction from ispell
Date: Fri, 10 Feb 2012 22:03:22 +0200 [thread overview]
Message-ID: <83d39m1mnp.fsf@gnu.org> (raw)
In-Reply-To: <CA+5B0FNvmGSaLm=53TJ=BhyKuaa=xDMx9w3Eg_s+EN84+dcW3w@mail.gmail.com>
> Date: Fri, 10 Feb 2012 19:15:14 +0100
> From: Aurélien Aptel <aurelien.aptel+emacs@gmail.com>
>
> (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?
You can't. lookup-words invokes ispell in a way that cannot use your
usual dictionary. It needs a list of words instead. For the details,
read the man pages of Ispell the program (the `L' command in Ispell).
Just find somewhere a list of French words and put it in
/usr/dict/words; then the command will work.
next prev parent reply other threads:[~2012-02-10 20:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-10 18:15 Get a list of correction from ispell Aurélien Aptel
2012-02-10 20:03 ` Eli Zaretskii [this message]
2012-02-10 20:08 ` Peter Dyballa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83d39m1mnp.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).