From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) Date: Tue, 06 Jul 2010 21:26:47 +0300 Message-ID: <837hl88o0o.fsf@gnu.org> References: <20100630103826.GA3847@agmartin.aq.upm.es> <20100630122747.GA20074@agmartin.aq.upm.es> <836310bezc.fsf@gnu.org> <20100705115222.GA2013@agmartin.aq.upm.es> <83mxu59716.fsf@gnu.org> <20100706151245.GA26238@agmartin.aq.upm.es> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1278441049 22149 80.91.229.12 (6 Jul 2010 18:30:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Jul 2010 18:30:49 +0000 (UTC) Cc: 6539@debbugs.gnu.org To: Agustin Martin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 06 20:30:47 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OWCur-0007H7-Q7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Jul 2010 20:30:46 +0200 Original-Received: from localhost ([127.0.0.1]:39510 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWCur-0001B7-66 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Jul 2010 14:30:45 -0400 Original-Received: from [140.186.70.92] (port=47855 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWCu5-0000fQ-BK for bug-gnu-emacs@gnu.org; Tue, 06 Jul 2010 14:29:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWCtz-0005QX-62 for bug-gnu-emacs@gnu.org; Tue, 06 Jul 2010 14:29:52 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50425) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWCtz-0005QS-3O for bug-gnu-emacs@gnu.org; Tue, 06 Jul 2010 14:29:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OWCtC-00028J-03; Tue, 06 Jul 2010 14:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Jul 2010 18:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6539 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.12784409368192 (code B ref 6539); Tue, 06 Jul 2010 18:29:01 +0000 Original-Received: (at 6539) by debbugs.gnu.org; 6 Jul 2010 18:28:56 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWCt6-000285-6a for submit@debbugs.gnu.org; Tue, 06 Jul 2010 14:28:56 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWCt3-00027w-Vz for 6539@debbugs.gnu.org; Tue, 06 Jul 2010 14:28:55 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L5500J00F8BUU00@a-mtaout22.012.net.il> for 6539@debbugs.gnu.org; Tue, 06 Jul 2010 21:28:48 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.253.155]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L5500F8GFBZEPD0@a-mtaout22.012.net.il>; Tue, 06 Jul 2010 21:28:48 +0300 (IDT) In-reply-to: <20100706151245.GA26238@agmartin.aq.upm.es> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 06 Jul 2010 14:29:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38266 Archived-At: > Date: Tue, 6 Jul 2010 17:12:45 +0200 > From: Agustin Martin > Cc: > > > For the rest, the patch looks fine, but why not test /usr/dict/words > > with file-readable-p as well? Then, if it does not exist, the > > defcustom will evaluate to nil, and the error message will be even > > more to the point. > > Seems already checked. Last /usr/dict/words was originally the return value > when nothing is found and has been removed. You are right, I've misread the diffs. Sorry. > For those curious, I am attaching a diff with my current changes. Will check > a bit more and if no further problems are found will commit to trunk > tomorrow to allow for wider checking of changes. Looks okay to me, thanks.