From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Get a list of correction from ispell Date: Fri, 10 Feb 2012 22:03:22 +0200 Message-ID: <83d39m1mnp.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1328904245 32518 80.91.229.3 (10 Feb 2012 20:04:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2012 20:04:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 10 21:04:05 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RvwhK-0004rG-7L for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Feb 2012 21:03:58 +0100 Original-Received: from localhost ([::1]:47550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvwhJ-0000Wi-I1 for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Feb 2012 15:03:57 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:35414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvwhF-0000Wd-A0 for help-gnu-emacs@gnu.org; Fri, 10 Feb 2012 15:03:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvwhE-0004XV-3j for help-gnu-emacs@gnu.org; Fri, 10 Feb 2012 15:03:53 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:49726) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvwhD-0004V1-SJ for help-gnu-emacs@gnu.org; Fri, 10 Feb 2012 15:03:52 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LZ700H000ZNBL00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Fri, 10 Feb 2012 22:03:22 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.150.51]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LZ700GZU11MLVC0@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Fri, 10 Feb 2012 22:03:22 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83682 Archived-At: > Date: Fri, 10 Feb 2012 19:15:14 +0100 > From: Aur=C3=A9lien Aptel >=20 > (lookup-words "maiso*") ;; maison, house in french >=20 > 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 suc= h > file or directory") > [...] >=20 >=20 > lookup-words wants a dictionary file, and without the optional > argument it's using /usr/dict/words instead. How can I can a list o= f > 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.