From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) Date: Mon, 5 Jul 2010 19:55:28 +0200 Message-ID: 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> <83iq4t96a8.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278353618 2332 80.91.229.12 (5 Jul 2010 18:13:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Jul 2010 18:13:38 +0000 (UTC) Cc: agustin.martin@hispalinux.es, 6539@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 05 20:13:37 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 1OVqAi-0000JB-AE for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Jul 2010 20:13:36 +0200 Original-Received: from localhost ([127.0.0.1]:42606 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVqAh-0002OC-0V for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Jul 2010 14:13:35 -0400 Original-Received: from [140.186.70.92] (port=57858 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVqAW-0002MJ-Kf for bug-gnu-emacs@gnu.org; Mon, 05 Jul 2010 14:13:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OVpxJ-0002p6-CW for bug-gnu-emacs@gnu.org; Mon, 05 Jul 2010 13:59:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46351) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVpxJ-0002p2-9v for bug-gnu-emacs@gnu.org; Mon, 05 Jul 2010 13:59:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OVpth-00051X-Pe; Mon, 05 Jul 2010 13:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Jul 2010 17:56: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.127835255519305 (code B ref 6539); Mon, 05 Jul 2010 17:56:01 +0000 Original-Received: (at 6539) by debbugs.gnu.org; 5 Jul 2010 17:55:55 +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 1OVptb-00051K-L1 for submit@debbugs.gnu.org; Mon, 05 Jul 2010 13:55:55 -0400 Original-Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVptZ-00051D-Nb for 6539@debbugs.gnu.org; Mon, 05 Jul 2010 13:55:54 -0400 Original-Received: by wwb39 with SMTP id 39so359073wwb.15 for <6539@debbugs.gnu.org>; Mon, 05 Jul 2010 10:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=JX5lNt47d2Dm1RzZbsJX7UWtnWbU0vU1ij5a/ZJ1v+Y=; b=jfVkQ7utWPZSQvwbfN1fOftmHrAxXWlA9184ke4Nqv6zrH/HxT4+L/vPzB3Pgd07Je eG6sxgnDwcVOHvCX9ddZ6KpOwcEsDq6terrqWyW0fQnH6+nlWXVIfP0GxpAfijRwnXRx VBZoNs5bsw/BP3phsXEo/GEHKXwRtD1sTjzv4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=BDVLmwGADvRWbURyyzfQXC+sfvb1x/mOipaZqVMejWcthj8ouAYQIQThnbWxXzLgzF 5JT3bLPKWfOD/af8JIz8dbhHcH4CUM9gEWMv97QWaNSGqjjCM6VDjg5XKi6xqEm9nNrs wiit3F7M7ccURvOn2AoPgK7w6XUF2cK8o0D1c= Original-Received: by 10.213.16.140 with SMTP id o12mr747452eba.32.1278352548667; Mon, 05 Jul 2010 10:55:48 -0700 (PDT) Original-Received: by 10.213.15.132 with HTTP; Mon, 5 Jul 2010 10:55:28 -0700 (PDT) In-Reply-To: <83iq4t96a8.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 05 Jul 2010 13:56:01 -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:38243 Archived-At: On Mon, Jul 5, 2010 at 7:39 PM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Mon, 5 Jul 2010 19:32:33 +0200 >> Cc: Agustin Martin , 6539@debbugs.gnu.org >> >> > For the rest, the patch looks fine, but why not test /usr/dict/words >> > with file-readable-p as well? =C2=A0Then, if it does not exist, the >> > defcustom will evaluate to nil, and the error message will be even >> > more to the point. >> >> >> Such a test will make things even worse with unix style file names on >> w32 since they with these paths Emacs will look on the current drive. >> That does not have to be the same drive next time the library is >> loaded. > > Why does it matter which file names are tried, if the net result will > be the same: to fail? I thought I did explain that above. The unix style file names can happen to work on the current default drive if the user did place the required files there. What is unclear? > Read my lips: the _ONLY_ way to make this feature work on Windows is > to customize the value of ispell-complete-word-dict or that of > ispell-alternate-dictionary. =C2=A0Unless you do that, this feature will > _ALWAYS_ fail on Windows; the only thing we can do is make the error > message more helpful. =C2=A0And if the option _is_ customized, I trust th= e > user to include the drive letter in the value. >