From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Wed, 30 Jun 2010 09:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6539 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6539@debbugs.gnu.org X-Debbugs-Original-To: Emacs Bugs Received: via spool by submit@debbugs.gnu.org id=B.127788952917985 (code B ref -1); Wed, 30 Jun 2010 09:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jun 2010 09:18:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTtRQ-0004g2-Ec for submit@debbugs.gnu.org; Wed, 30 Jun 2010 05:18:48 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTtRO-0004fx-Mi for submit@debbugs.gnu.org; Wed, 30 Jun 2010 05:18:47 -0400 Received: from lists.gnu.org ([199.232.76.165]:41573) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OTtRL-0001d0-Th for submit@debbugs.gnu.org; Wed, 30 Jun 2010 05:18:43 -0400 Received: from [140.186.70.92] (port=60350 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTtRK-0001ou-1u for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2010 05:18:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTtRI-0000Cr-P0 for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2010 05:18:41 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:47538) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTtRI-0000Cj-L3 for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2010 05:18:40 -0400 Received: by gxk4 with SMTP id 4so368351gxk.0 for ; Wed, 30 Jun 2010 02:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=MvL81bVjRztlNYSCcFqNLc1habkW2CEWzvd/CN9eblk=; b=bIuh+ETFUfZ0oKUhdPOgyR/7kFK/aIFKpauxusKxFtEWmztdlsAAC/GG/HDKsNZgZi H3+czIgJbB54+y2CHbbcTffGKeIvaqq3zsho+RZYFLL7oe12fIje0O5vKkmPzZzGT+xy 2QnXxewA6YFLFBZmfMDYKHQs8W48Ve1upvvBk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=FGkPGnfwKc3pEPBnsT/pJ0mCvYple1l9ScQdtEKjg3oNfhX//z5t55FB5qVGm9l4MP jTVgTGFzXlBYDTbLga79uNtAs+hqxJzDEUiWlrZ4+yvo/2+LsbxfUgCIx4OsryI38KHn ZxjwVxmEc6TEVAlHhF9I6CsE/jcMb7KfExhj0= Received: by 10.101.132.14 with SMTP id j14mr10129280ann.143.1277889517246; Wed, 30 Jun 2010 02:18:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.8.5 with HTTP; Wed, 30 Jun 2010 02:18:17 -0700 (PDT) From: Lennart Borgman Date: Wed, 30 Jun 2010 11:18:17 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.6 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) Calling ispell-complete-word on w32 gives the error grep error: grep: /usr/dict/words: No such file or directory This is wrong for w32. I am using aspell. It also seems like the function above does not know about aspell. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) Resent-From: Agustin Martin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Jun 2010 10:39:02 +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: To: Lennart Borgman , 6539@debbugs.gnu.org Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127789431720060 (code B ref 6539); Wed, 30 Jun 2010 10:39:02 +0000 Received: (at 6539) by debbugs.gnu.org; 30 Jun 2010 10:38:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTuge-0005DV-Rt for submit@debbugs.gnu.org; Wed, 30 Jun 2010 06:38:37 -0400 Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTugb-0005DQ-Ep for 6539@debbugs.gnu.org; Wed, 30 Jun 2010 06:38:34 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by edison.ccupm.upm.es (8.13.8/8.13.8) with ESMTP id o5UAcQ6x025184; Wed, 30 Jun 2010 12:38:27 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id E5569461DE; Wed, 30 Jun 2010 12:38:26 +0200 (CEST) Date: Wed, 30 Jun 2010 12:38:26 +0200 From: Agustin Martin Message-ID: <20100630103826.GA3847@agmartin.aq.upm.es> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) On Wed, Jun 30, 2010 at 11:18:17AM +0200, Lennart Borgman wrote: > Calling ispell-complete-word on w32 gives the error > > grep error: grep: /usr/dict/words: No such file or directory > > This is wrong for w32. > > I am using aspell. It also seems like the function above does not know > about aspell. Hi, Lennart, `ispell-complete-word' does not use spellchecking dictionaries but plain wordlists to guess completions, so it does not depend on spellchecking engines. Plain wordlist to use can be customized by means of `ispell-alternate-dictionary' variable. Do you have a plain wordlist installed? It has been considered a nearly standard part of any UNIX-like system (at least a minimal american wordlist) whose default location is currently /usr/share/dict/words (or previously /usr/dict/words). While this does not apply to w32, any plain wordlist at any of the locations tried in `ispell-alternate-dictionary' should work, as well as in any other location as long as `ispell-alternate-dictionary' is modified. See `lookup-words' along with `ispell-complete-word' for more info. `ispell-alternate-dictionary' docstring speaks about 'dictionary' instead of word-list dictionary as `lookup-words' does. Cannot commit now but will try to put this more clear soon. I think that this bug report can be closed or renamed to something like 'Improve `ispell-alternate-dictionary' docstring'. Cheers, -- Agustin From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Wed, 30 Jun 2010 11:47: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: To: Agustin Martin Cc: 6539@debbugs.gnu.org Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127789838424014 (code B ref 6539); Wed, 30 Jun 2010 11:47:01 +0000 Received: (at 6539) by debbugs.gnu.org; 30 Jun 2010 11:46:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTvkF-0006FH-Gy for submit@debbugs.gnu.org; Wed, 30 Jun 2010 07:46:23 -0400 Received: from mail-gx0-f172.google.com ([209.85.161.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTvkD-0006FB-NG for 6539@debbugs.gnu.org; Wed, 30 Jun 2010 07:46:22 -0400 Received: by gxk5 with SMTP id 5so310311gxk.3 for <6539@debbugs.gnu.org>; Wed, 30 Jun 2010 04:46:16 -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=F2Syl7F07jgn1KrCaw+tBfAzYkU/fyI2ne9hOsiHDaA=; b=lAECZ8BR1i7bOIDldgh3A++ope8/nkP8tXFm7GjZ7DTvez2a+Ws+KLO8meELzkbxMb /Q6gOpVxj75lFdQLTKetc0n8Ufh2lNz7cOnGqsJwcm063ffcaZoWZiNDnmkc09/0zrT7 nVnFnnbJFUDeEWe8cnuhxxtHyg7gsqe7Wk3Y0= 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=XRI6Co6AkMxwkwvK2kJSPYDFOY6HSQpiu/omWGHcfA54slJ1z1FEF8BiVpb7aiOHrf TMfG9kx/cXOP1hXIbSXqg9aPeyEasayqqMwSO8vyoXdS3EszVyMk9lx0XgfyFDAwB+5j WG1gGKiTBOII6hKBPdtW2cwzuLlbmU43Rz43g= Received: by 10.100.54.29 with SMTP id c29mr10492662ana.189.1277898376278; Wed, 30 Jun 2010 04:46:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.8.5 with HTTP; Wed, 30 Jun 2010 04:45:56 -0700 (PDT) In-Reply-To: <20100630103826.GA3847@agmartin.aq.upm.es> References: <20100630103826.GA3847@agmartin.aq.upm.es> From: Lennart Borgman Date: Wed, 30 Jun 2010 13:45:56 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) On Wed, Jun 30, 2010 at 12:38 PM, Agustin Martin wrote: > On Wed, Jun 30, 2010 at 11:18:17AM +0200, Lennart Borgman wrote: >> Calling ispell-complete-word on w32 gives the error >> >> =C2=A0 grep error: grep: /usr/dict/words: No such file or directory >> >> This is wrong for w32. >> >> I am using aspell. It also seems like the function above does not know >> about aspell. > > Hi, Lennart, Hi Agustin, thanks for replying. > `ispell-complete-word' does not use spellchecking dictionaries but > plain wordlists to guess completions, so it does not depend on spellcheck= ing > engines. Plain wordlist to use can be customized by means of > `ispell-alternate-dictionary' variable. OK, thanks. The default for ispell-alternate-dictionary is not a full path on w32 so that is a bug. > Do you have a plain wordlist installed? It has been considered a nearly > standard part of any UNIX-like system (at least a minimal american wordli= st) > whose default location is currently /usr/share/dict/words (or previously > /usr/dict/words). Does not such plain wordlists come with ispell or aspell? > I think that this bug report can be closed or renamed to something like > 'Improve `ispell-alternate-dictionary' docstring'. I think the default for ispell-alternate-dictionary should be changed on w3= 2. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) Resent-From: Agustin Martin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Jun 2010 12:28:02 +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: To: Lennart Borgman , 6539@debbugs.gnu.org Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127790087824979 (code B ref 6539); Wed, 30 Jun 2010 12:28:02 +0000 Received: (at 6539) by debbugs.gnu.org; 30 Jun 2010 12:27:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTwOT-0006Uq-44 for submit@debbugs.gnu.org; Wed, 30 Jun 2010 08:27:57 -0400 Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTwOQ-0006Ul-4X for 6539@debbugs.gnu.org; Wed, 30 Jun 2010 08:27:55 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by edison.ccupm.upm.es (8.13.8/8.13.8) with ESMTP id o5UCRmfK008621; Wed, 30 Jun 2010 14:27:48 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 10B6D46173; Wed, 30 Jun 2010 14:27:48 +0200 (CEST) Date: Wed, 30 Jun 2010 14:27:47 +0200 From: Agustin Martin Message-ID: <20100630122747.GA20074@agmartin.aq.upm.es> References: <20100630103826.GA3847@agmartin.aq.upm.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -6.3 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) > On Wed, Jun 30, 2010 at 01:45:56PM +0200, Lennart Borgman wrote: > > Does not such plain wordlists come with ispell or aspell? Hi, No, both ispell and aspell use hashed tables derived from affix rules and affix-compressed word lists and usually only that hash and affix files are shipped. Since hashes are endianess-dependent, sometimes (e.g. Debian) compressed affix-compressed wordlists are shipped along with the affix file and the hash is built on the fly on installation, but full expanded wordlist is not shipped. myspell/hunspell use plain affix-compressed word lists together with the associated affix rules file. In a limit case, myspell and hunspell could use plain wordlists along with an affix rules file with no affix rules, but that means huge wordlists and reduced efficiency, thus affix compression is generally used. > > I think that this bug report can be closed or renamed to something like > > 'Improve `ispell-alternate-dictionary' docstring'. > > I think the default for ispell-alternate-dictionary should be changed on w32. Or, more globally, find a good and not confusing name for default personal plain wordlist that can be used in every system, be it w32 or not, so it is tried first in `ispell-alternate-dictionary', something like (expand-file-name "~/.personal.words") Not sure if that syntax works well in w32. Suggestions are welcome. Cheers, -- Agustin From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Wed, 30 Jun 2010 17:30:02 +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: To: Lennart Borgman Cc: 6539@debbugs.gnu.org, agustin6martin@gmail.com Reply-To: Eli Zaretskii Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.12779189842956 (code B ref 6539); Wed, 30 Jun 2010 17:30:02 +0000 Received: (at 6539) by debbugs.gnu.org; 30 Jun 2010 17:29:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU16V-0000ld-Jd for submit@debbugs.gnu.org; Wed, 30 Jun 2010 13:29:43 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU16T-0000lY-Ez for 6539@debbugs.gnu.org; Wed, 30 Jun 2010 13:29:42 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0L4U009007SC2W00@a-mtaout21.012.net.il> for 6539@debbugs.gnu.org; Wed, 30 Jun 2010 20:29:35 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.12.240]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L4U007P48L9RB40@a-mtaout21.012.net.il>; Wed, 30 Jun 2010 20:29:35 +0300 (IDT) Date: Wed, 30 Jun 2010 20:31:40 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <837hlgbf5v.fsf@gnu.org> References: <20100630103826.GA3847@agmartin.aq.upm.es> X-Spam-Score: -1.8 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.8 (-) > From: Lennart Borgman > Date: Wed, 30 Jun 2010 13:45:56 +0200 > Cc: 6539@debbugs.gnu.org > > OK, thanks. The default for ispell-alternate-dictionary is not a full > path on w32 so that is a bug. How would you suggest to fix this "bug"? I see only 2 possibilities (besides leaving this as they are and letting w32 users customize the value, as I did): either (a) signal an error, or (b) search the entire hard disk storage for a file named `words'. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Wed, 30 Jun 2010 17:34: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: To: Agustin Martin Cc: lennart.borgman@gmail.com, 6539@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.12779192183069 (code B ref 6539); Wed, 30 Jun 2010 17:34:01 +0000 Received: (at 6539) by debbugs.gnu.org; 30 Jun 2010 17:33:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU1AH-0000nS-Ow for submit@debbugs.gnu.org; Wed, 30 Jun 2010 13:33:37 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU1AF-0000nN-L5 for 6539@debbugs.gnu.org; Wed, 30 Jun 2010 13:33:36 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L4U00E008I9BE00@a-mtaout22.012.net.il> for 6539@debbugs.gnu.org; Wed, 30 Jun 2010 20:33:30 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.12.240]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L4U003868RSU6P0@a-mtaout22.012.net.il>; Wed, 30 Jun 2010 20:33:29 +0300 (IDT) Date: Wed, 30 Jun 2010 20:35:35 +0300 From: Eli Zaretskii In-reply-to: <20100630122747.GA20074@agmartin.aq.upm.es> X-012-Sender: halo1@inter.net.il Message-id: <836310bezc.fsf@gnu.org> References: <20100630103826.GA3847@agmartin.aq.upm.es> <20100630122747.GA20074@agmartin.aq.upm.es> X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.8 (-) > Date: Wed, 30 Jun 2010 14:27:47 +0200 > From: Agustin Martin > Cc: > > > > I think that this bug report can be closed or renamed to something like > > > 'Improve `ispell-alternate-dictionary' docstring'. > > > > I think the default for ispell-alternate-dictionary should be changed on w32. > > Or, more globally, find a good and not confusing name for default personal > plain wordlist that can be used in every system, be it w32 or not, so it is > tried first in `ispell-alternate-dictionary', something like > > (expand-file-name "~/.personal.words") How will that help, exactly? /usr/dict/words exists on almost every Posix system, which is why ispell.el has that as the default. But there's no comparable functionality on Windows, so the only way of getting this work on Windows is to find or download such a file from somewhere, and manually install it in some arbitrary directory. How is Emacs supposed to know whether such a file exists, and where? From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Wed, 30 Jun 2010 18:08: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: To: Agustin Martin Cc: 6539@debbugs.gnu.org Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.12779212754077 (code B ref 6539); Wed, 30 Jun 2010 18:08:01 +0000 Received: (at 6539) by debbugs.gnu.org; 30 Jun 2010 18:07:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU1hS-00013i-Fc for submit@debbugs.gnu.org; Wed, 30 Jun 2010 14:07:54 -0400 Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU1hQ-00013d-HZ for 6539@debbugs.gnu.org; Wed, 30 Jun 2010 14:07:53 -0400 Received: by wwi17 with SMTP id 17so40665wwi.15 for <6539@debbugs.gnu.org>; Wed, 30 Jun 2010 11:07:47 -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; bh=K1Nq0qJSy3auy5ETZacrZNw+uCLjbq0KrZXpa8dqyjs=; b=Ne/PhtadC4RcIN3Wd7cKrsi2QmIrhls3qd1tlUAUCVquObe3hwlkMdNTfndIPWc87v 5ldeyEgvfYMGoFeyYiAg40J8wCq/FCpPIwkxnoutdRFpxasWC+CzQHPBDgcQBVwN8tTJ PyxiFuz2LjQBafkCskC2QypP/AdcydioLRSCQ= 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; b=TlozQVUsHcVDLGph/ZrGl+Axmraa/b15QYAvfuQLHwlQjf+PJLvHfTryuskRH0mzSu BfkHlIMfRROlVayg4r2bC0Q70/tjJPdJiQ0I3NSHpxas5Cp4lE4Aecp5c63KiD8siyOJ HDp6PNR39oaFRlPeFkp8ocuyQSzgJN4HqpLos= Received: by 10.213.25.145 with SMTP id z17mr812083ebb.62.1277921267459; Wed, 30 Jun 2010 11:07:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.15.132 with HTTP; Wed, 30 Jun 2010 11:07:27 -0700 (PDT) In-Reply-To: <20100630122747.GA20074@agmartin.aq.upm.es> References: <20100630103826.GA3847@agmartin.aq.upm.es> <20100630122747.GA20074@agmartin.aq.upm.es> From: Lennart Borgman Date: Wed, 30 Jun 2010 20:07:27 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -3.1 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) On Wed, Jun 30, 2010 at 2:27 PM, Agustin Martin wrote: >> On Wed, Jun 30, 2010 at 01:45:56PM +0200, Lennart Borgman wrote: >> >> Does not such plain wordlists come with ispell or aspell? > > Hi, > > No, both ispell and aspell use hashed tables derived from affix rules and ... Thanks for the explanations. Perhaps it would be possible to rewrite ispell-complete-word to use those tables instead? >> I think the default for ispell-alternate-dictionary should be changed on w32. > > Or, more globally, find a good and not confusing name for default personal > plain wordlist that can be used in every system, be it w32 or not, so it is > tried first in `ispell-alternate-dictionary', something like > > (expand-file-name "~/.personal.words") > > Not sure if that syntax works well in w32. Suggestions are welcome. It works well on w32. The location seems good too, but maybe it should be in ~/.emacs.d/. Maybe the name should remind more about ispell though? From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Wed, 30 Jun 2010 18:20:02 +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: To: Eli Zaretskii Cc: 6539@debbugs.gnu.org, agustin6martin@gmail.com Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.12779219744500 (code B ref 6539); Wed, 30 Jun 2010 18:20:02 +0000 Received: (at 6539) by debbugs.gnu.org; 30 Jun 2010 18:19:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU1si-0001AX-Pt for submit@debbugs.gnu.org; Wed, 30 Jun 2010 14:19:33 -0400 Received: from mail-ew0-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU1sh-000194-OE for 6539@debbugs.gnu.org; Wed, 30 Jun 2010 14:19:32 -0400 Received: by ewy22 with SMTP id 22so364722ewy.3 for <6539@debbugs.gnu.org>; Wed, 30 Jun 2010 11:19:26 -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=WcFSw7HpD1B/Fadmw+MNMxq1BkQhSGOeRltYc8xoUB8=; b=Bf3yZWXPzsp4DknkMTIgxyKK4vKr2t/RPQJ6yqYy2494EBIrIFcmH8KKg75J6pQ1Su 0wnf9Eq5xxx5nhSEN0W/fGRXFTeHz8ZcR/LDekioIWeLBWvDcNehhWdqtM1zXIU36FN/ veHhbp7gwFtsQ1Iwi+mNecJg1FINONvQGYlz4= 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=ceuSAMkbjt3Is5gxc1xs9S2yPtl/E2Sub7VCJQolbd8aWJ8Bunv/+qliiMHGa/2qGm u22qoi0dmeiiub2Gqxd6Aylr0s2gT0BB8PzT9hhNSC27WGNH1DaeswQW6hrcYhTLQu/e kZD3y/ONuRJllbtuWXUbeRKLVguDvtlOdYxNw= Received: by 10.213.9.67 with SMTP id k3mr838826ebk.78.1277921966229; Wed, 30 Jun 2010 11:19:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.15.132 with HTTP; Wed, 30 Jun 2010 11:13:42 -0700 (PDT) In-Reply-To: <837hlgbf5v.fsf@gnu.org> References: <20100630103826.GA3847@agmartin.aq.upm.es> <837hlgbf5v.fsf@gnu.org> From: Lennart Borgman Date: Wed, 30 Jun 2010 20:13:42 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) On Wed, Jun 30, 2010 at 7:31 PM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Wed, 30 Jun 2010 13:45:56 +0200 >> Cc: 6539@debbugs.gnu.org >> >> OK, thanks. The default for ispell-alternate-dictionary is not a full >> path on w32 so that is a bug. > > How would you suggest to fix this "bug"? =C2=A0I see only 2 possibilities > (besides leaving this as they are and letting w32 users customize the > value, as I did): either (a) signal an error, or (b) search the entire > hard disk storage for a file named `words'. I would perhaps suggest leaving it as nil on w32. That would make it more clear that this is not a left over from unix systems, but rather something a user must setup on w32 systems to make it work. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Wed, 30 Jun 2010 20:55: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: To: Lennart Borgman Cc: 6539@debbugs.gnu.org, agustin6martin@gmail.com Reply-To: Eli Zaretskii Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127793124314558 (code B ref 6539); Wed, 30 Jun 2010 20:55:01 +0000 Received: (at 6539) by debbugs.gnu.org; 30 Jun 2010 20:54:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU4IE-0003ml-Ul for submit@debbugs.gnu.org; Wed, 30 Jun 2010 16:54:03 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU4IC-0003mP-8Y for 6539@debbugs.gnu.org; Wed, 30 Jun 2010 16:54:01 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0L4U00F00H22UE00@a-mtaout21.012.net.il> for 6539@debbugs.gnu.org; Wed, 30 Jun 2010 23:52:57 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.12.240]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L4U00CNUI05Z8A0@a-mtaout21.012.net.il>; Wed, 30 Jun 2010 23:52:54 +0300 (IDT) Date: Wed, 30 Jun 2010 23:55:00 +0300 From: Eli Zaretskii In-reply-to: Message-id: <831vbob5qz.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <20100630103826.GA3847@agmartin.aq.upm.es> <837hlgbf5v.fsf@gnu.org> X-Spam-Score: -1.8 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.8 (-) > From: Lennart Borgman > Date: Wed, 30 Jun 2010 20:13:42 +0200 > Cc: agustin6martin@gmail.com, 6539@debbugs.gnu.org >=20 > On Wed, Jun 30, 2010 at 7:31 PM, Eli Zaretskii wrote= : > >> From: Lennart Borgman > >> Date: Wed, 30 Jun 2010 13:45:56 +0200 > >> Cc: 6539@debbugs.gnu.org > >> > >> OK, thanks. The default for ispell-alternate-dictionary is not a= full > >> path on w32 so that is a bug. > > > > How would you suggest to fix this "bug"? =C2=A0I see only 2 possi= bilities > > (besides leaving this as they are and letting w32 users customize= the > > value, as I did): either (a) signal an error, or (b) search the e= ntire > > hard disk storage for a file named `words'. >=20 > I would perhaps suggest leaving it as nil on w32. That would make i= t > more clear that this is not a left over from unix systems, but rath= er > something a user must setup on w32 systems to make it work. Then you'd see Debugger entered--Lisp error: (wrong-type-argument stringp nil) Is that really better? From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Wed, 30 Jun 2010 21:05:02 +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: To: Eli Zaretskii Cc: 6539@debbugs.gnu.org, agustin6martin@gmail.com Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127793187914819 (code B ref 6539); Wed, 30 Jun 2010 21:05:02 +0000 Received: (at 6539) by debbugs.gnu.org; 30 Jun 2010 21:04:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU4SV-0003qy-5F for submit@debbugs.gnu.org; Wed, 30 Jun 2010 17:04:39 -0400 Received: from mail-ew0-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU4ST-0003qs-6x for 6539@debbugs.gnu.org; Wed, 30 Jun 2010 17:04:37 -0400 Received: by ewy22 with SMTP id 22so427638ewy.3 for <6539@debbugs.gnu.org>; Wed, 30 Jun 2010 14:04:32 -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=ofzu7z93ui9XL5UADnnOBkWlTxxacBmpU9TTB9qMN6I=; b=QaRyclAGQW/3Gx9jBa7hkRPflfusPW8AAQNKX6J15/L/Eb2WxJ+LaThjyLPVtqe7TP 9TBsWGhrVhpyWqv4ZzQ7On/w3PynTUEhVwIF8Fz3fDo95S9Y6af5UFIOErlkRwx7KjIt UugotKy9eV3E3KTax+IBgCwfa3hsN77RPpUC0= 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=EbtsYfYi3eCHk4U3l6DRGxMH4QXRiTLJKccRf1UQVu2b98Jwnf9X8NFcQxVCGu2z8D AvMGg2ca4kEkzUQNtIogfPCCY83PSdm+mKUDM0VEFKC07phAPdUGmAAdCUmsQSTZSPBW VoyOZ+Sn2y9J9AtEhHe934NCbny/1w1vUoFcI= Received: by 10.213.4.207 with SMTP id 15mr1048141ebs.63.1277931872407; Wed, 30 Jun 2010 14:04:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.15.132 with HTTP; Wed, 30 Jun 2010 14:04:11 -0700 (PDT) In-Reply-To: <831vbob5qz.fsf@gnu.org> References: <20100630103826.GA3847@agmartin.aq.upm.es> <837hlgbf5v.fsf@gnu.org> <831vbob5qz.fsf@gnu.org> From: Lennart Borgman Date: Wed, 30 Jun 2010 23:04:11 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) On Wed, Jun 30, 2010 at 10:55 PM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Wed, 30 Jun 2010 20:13:42 +0200 >> Cc: agustin6martin@gmail.com, 6539@debbugs.gnu.org >> >> On Wed, Jun 30, 2010 at 7:31 PM, Eli Zaretskii wrote: >> >> From: Lennart Borgman >> >> Date: Wed, 30 Jun 2010 13:45:56 +0200 >> >> Cc: 6539@debbugs.gnu.org >> >> >> >> OK, thanks. The default for ispell-alternate-dictionary is not a full >> >> path on w32 so that is a bug. >> > >> > How would you suggest to fix this "bug"? =C2=A0I see only 2 possibilit= ies >> > (besides leaving this as they are and letting w32 users customize the >> > value, as I did): either (a) signal an error, or (b) search the entire >> > hard disk storage for a file named `words'. >> >> I would perhaps suggest leaving it as nil on w32. That would make it >> more clear that this is not a left over from unix systems, but rather >> something a user must setup on w32 systems to make it work. > > Then you'd see > > =C2=A0 Debugger entered--Lisp error: (wrong-type-argument stringp nil) > > Is that really better? Hm, maybe not. Then perhaps a suitable file name for w32 is better? An accompanying explanatory message would of course be even better. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Jul 2010 01:52:02 +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: To: Agustin Martin Cc: Lennart Borgman , 6539@debbugs.gnu.org Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127794908124636 (code B ref 6539); Thu, 01 Jul 2010 01:52:02 +0000 Received: (at 6539) by debbugs.gnu.org; 1 Jul 2010 01:51:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU8vx-0006PJ-1j for submit@debbugs.gnu.org; Wed, 30 Jun 2010 21:51:21 -0400 Received: from smtp-03.vtx.ch ([194.38.175.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU8vu-0006PD-If for 6539@debbugs.gnu.org; Wed, 30 Jun 2010 21:51:19 -0400 Received: from ceviche.home (dyn.144-85-133-055.dsl.vtx.ch [144.85.133.55]) by smtp-03.vtx.ch (VTX Services SA) with ESMTP id C1CC4296CCF; Thu, 1 Jul 2010 03:51:14 +0200 (CEST) Received: by ceviche.home (Postfix, from userid 20848) id A86E266289; Thu, 1 Jul 2010 03:34:53 +0200 (CEST) From: Stefan Monnier Message-ID: References: <20100630103826.GA3847@agmartin.aq.upm.es> Date: Thu, 01 Jul 2010 03:34:53 +0200 In-Reply-To: <20100630103826.GA3847@agmartin.aq.upm.es> (Agustin Martin's message of "Wed, 30 Jun 2010 12:38:26 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) > `ispell-complete-word' does not use spellchecking dictionaries but > plain wordlists to guess completions, so it does not depend on spellchecking > engines. Plain wordlist to use can be customized by means of > `ispell-alternate-dictionary' variable. FWIW, I find it really confusing that ispell-complete-word does not use ispell. It should probably be moved out of ispell.el (unless we can somehow make it use some ispell/aspell/hunspell functionality). Stefan From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Thu, 01 Jul 2010 03:16: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: To: Lennart Borgman Cc: 6539@debbugs.gnu.org, agustin6martin@gmail.com Reply-To: Eli Zaretskii Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127795411726626 (code B ref 6539); Thu, 01 Jul 2010 03:16:01 +0000 Received: (at 6539) by debbugs.gnu.org; 1 Jul 2010 03:15:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUAFA-0006vP-1j for submit@debbugs.gnu.org; Wed, 30 Jun 2010 23:15:16 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUAF7-0006vK-9q for 6539@debbugs.gnu.org; Wed, 30 Jun 2010 23:15:14 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L4U00E00Z8X8A00@a-mtaout23.012.net.il> for 6539@debbugs.gnu.org; Thu, 01 Jul 2010 06:14:53 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.12.240]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L4U00EYWZOSD500@a-mtaout23.012.net.il>; Thu, 01 Jul 2010 06:14:53 +0300 (IDT) Date: Thu, 01 Jul 2010 06:16:59 +0300 From: Eli Zaretskii In-reply-to: Message-id: <83wrtfao2c.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <20100630103826.GA3847@agmartin.aq.upm.es> <837hlgbf5v.fsf@gnu.org> <831vbob5qz.fsf@gnu.org> X-Spam-Score: -1.8 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.8 (-) > From: Lennart Borgman > Date: Wed, 30 Jun 2010 23:04:11 +0200 > Cc: agustin6martin@gmail.com, 6539@debbugs.gnu.org >=20 > > Then you'd see > > > > =C2=A0 Debugger entered--Lisp error: (wrong-type-argument stringp= nil) > > > > Is that really better? >=20 > Hm, maybe not. Then perhaps a suitable file name for w32 is better? Then you'd have the same error message as we do now, just with a w32 formatted absolute file name. How is this better than the current state of affairs? From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Thu, 01 Jul 2010 03:16:02 +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: To: Stefan Monnier Cc: 6539@debbugs.gnu.org, agustin6martin@gmail.com Reply-To: Eli Zaretskii Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127795415526640 (code B ref 6539); Thu, 01 Jul 2010 03:16:02 +0000 Received: (at 6539) by debbugs.gnu.org; 1 Jul 2010 03:15:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUAFn-0006vd-8v for submit@debbugs.gnu.org; Wed, 30 Jun 2010 23:15:55 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUAFk-0006vY-Nu for 6539@debbugs.gnu.org; Wed, 30 Jun 2010 23:15:53 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L4U00E00ZPAKE00@a-mtaout23.012.net.il> for 6539@debbugs.gnu.org; Thu, 01 Jul 2010 06:15:35 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.12.240]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L4U00E0JZPYD510@a-mtaout23.012.net.il>; Thu, 01 Jul 2010 06:15:35 +0300 (IDT) Date: Thu, 01 Jul 2010 06:17:41 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83vd8zao16.fsf@gnu.org> References: <20100630103826.GA3847@agmartin.aq.upm.es> X-Spam-Score: -1.8 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > From: Stefan Monnier > Date: Thu, 01 Jul 2010 03:34:53 +0200 > Cc: 6539@debbugs.gnu.org > > FWIW, I find it really confusing that ispell-complete-word does not > use ispell. It should probably be moved out of ispell.el (unless we > can somehow make it use some ispell/aspell/hunspell functionality). It's there because it's an Ispell feature, present also in the stand-alone version of the speller. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Thu, 01 Jul 2010 09:47: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: To: Eli Zaretskii Cc: 6539@debbugs.gnu.org, agustin6martin@gmail.com Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.12779775753259 (code B ref 6539); Thu, 01 Jul 2010 09:47:01 +0000 Received: (at 6539) by debbugs.gnu.org; 1 Jul 2010 09:46:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUGLX-0000qW-Fl for submit@debbugs.gnu.org; Thu, 01 Jul 2010 05:46:15 -0400 Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUGLW-0000qQ-Ff for 6539@debbugs.gnu.org; Thu, 01 Jul 2010 05:46:14 -0400 Received: by wwi18 with SMTP id 18so527757wwi.15 for <6539@debbugs.gnu.org>; Thu, 01 Jul 2010 02:46:11 -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=nEoViyUIGD/ED1YJc7kKW3wSCG6ThvanufcqoK9gRTY=; b=IkehFhSt5ZjXDbh2sh+nNlnt85+0BFoKmAyvRksvPejI18wIc1Xqr0On6bRZcw/kX7 nvvQxZ4iw14Zw/glj84IRNJYK1CAeqURA2DyeC+quqzvsOCKGqqOuOeeVTAiuCg2fJuD BBLy9VGBhkPcpM/i1Q6IxLoJ/QZAFMO8yKqwI= 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=MV693sWIuJ1Wc97M/+jnOTTA6wrkrss9llaVOjLgkXERygdBGo1Y3GENhBGXZ+1e38 rzx9NiRnIhSzJikXlrcwG5AEo/pUSzX89HHbss0AzVZZ1CTLeaYpZ47JC6Wu2O80lBQS 6hgnIc1sgMOnQ2FrQShwOx0A10QL4ZaUcZwnM= Received: by 10.213.10.147 with SMTP id p19mr4946609ebp.76.1277977571235; Thu, 01 Jul 2010 02:46:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.15.132 with HTTP; Thu, 1 Jul 2010 02:45:51 -0700 (PDT) In-Reply-To: <83wrtfao2c.fsf@gnu.org> References: <20100630103826.GA3847@agmartin.aq.upm.es> <837hlgbf5v.fsf@gnu.org> <831vbob5qz.fsf@gnu.org> <83wrtfao2c.fsf@gnu.org> From: Lennart Borgman Date: Thu, 1 Jul 2010 11:45:51 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.1 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) On Thu, Jul 1, 2010 at 5:16 AM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Wed, 30 Jun 2010 23:04:11 +0200 >> Cc: agustin6martin@gmail.com, 6539@debbugs.gnu.org >> >> > Then you'd see >> > >> > =C2=A0 Debugger entered--Lisp error: (wrong-type-argument stringp nil) >> > >> > Is that really better? >> >> Hm, maybe not. Then perhaps a suitable file name for w32 is better? > > Then you'd have the same error message as we do now, just with a w32 > formatted absolute file name. =C2=A0How is this better than the current > state of affairs? As I said earlier it would be less confusing. Then the user will know that this is not just something that no one has cared about on w32. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Thu, 01 Jul 2010 16:53: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: To: Lennart Borgman Cc: 6539@debbugs.gnu.org, agustin6martin@gmail.com Reply-To: Eli Zaretskii Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127800318015872 (code B ref 6539); Thu, 01 Jul 2010 16:53:01 +0000 Received: (at 6539) by debbugs.gnu.org; 1 Jul 2010 16:53:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUN0V-00047x-QR for submit@debbugs.gnu.org; Thu, 01 Jul 2010 12:52:59 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUN0T-00047s-8K for 6539@debbugs.gnu.org; Thu, 01 Jul 2010 12:52:58 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L4W006001H3R400@a-mtaout20.012.net.il> for 6539@debbugs.gnu.org; Thu, 01 Jul 2010 19:52:51 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.12.240]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L4W00AGP1K2DMH0@a-mtaout20.012.net.il>; Thu, 01 Jul 2010 19:52:51 +0300 (IDT) Date: Thu, 01 Jul 2010 19:54:57 +0300 From: Eli Zaretskii In-reply-to: Message-id: <83tyoj9m72.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <20100630103826.GA3847@agmartin.aq.upm.es> <837hlgbf5v.fsf@gnu.org> <831vbob5qz.fsf@gnu.org> <83wrtfao2c.fsf@gnu.org> X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > From: Lennart Borgman > Date: Thu, 1 Jul 2010 11:45:51 +0200 > Cc: agustin6martin@gmail.com, 6539@debbugs.gnu.org >=20 > On Thu, Jul 1, 2010 at 5:16 AM, Eli Zaretskii wrote: > >> From: Lennart Borgman > >> Date: Wed, 30 Jun 2010 23:04:11 +0200 > >> Cc: agustin6martin@gmail.com, 6539@debbugs.gnu.org > >> > >> > Then you'd see > >> > > >> > =C2=A0 Debugger entered--Lisp error: (wrong-type-argument stri= ngp nil) > >> > > >> > Is that really better? > >> > >> Hm, maybe not. Then perhaps a suitable file name for w32 is bett= er? > > > > Then you'd have the same error message as we do now, just with a = w32 > > formatted absolute file name. =C2=A0How is this better than the c= urrent > > state of affairs? >=20 > As I said earlier it would be less confusing. I don't see how. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Thu, 01 Jul 2010 17:09:02 +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: To: Eli Zaretskii Cc: 6539@debbugs.gnu.org, agustin6martin@gmail.com Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127800408616269 (code B ref 6539); Thu, 01 Jul 2010 17:09:02 +0000 Received: (at 6539) by debbugs.gnu.org; 1 Jul 2010 17:08:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUNF8-0004EM-Ev for submit@debbugs.gnu.org; Thu, 01 Jul 2010 13:08:06 -0400 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUNF6-0004E0-Bt for 6539@debbugs.gnu.org; Thu, 01 Jul 2010 13:08:04 -0400 Received: by wyg36 with SMTP id 36so202723wyg.3 for <6539@debbugs.gnu.org>; Thu, 01 Jul 2010 10:07:55 -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=PX0SMkHJEl7eK0WD2gjdgGEmJXulOWXpcWOywXv7hD4=; b=eTL9kZ4EeidbB3vpdY6FwlDur3QfAea6EkB4yKLOKTL/tr6j3XgFWqmR5kSdWB/gy/ XxR1Ju3E2HgT55vtji9bB1Bz+PrDIs4vDZVQnZP0Rtsighp+AmVuB29WrV6OvFR+D0PX 8zE0YhciYinA3B/gNHXuHsqX8J7VhjtS1wQ54= 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=quAqveKzGQngOTydvVbktXBroJDxyMkvLlWh39GfxIoaQQBUSTHrj518lIKPgNgyei MJUHazbmvF7rQ2kpsimWJ1b/7E034GfRx/QfFq6zgXejUDElyHo27sGF5ChNoJb0MuXn eHCLTRkxvXvaWLryNS1huSotyKH57iovfgMfo= Received: by 10.213.17.7 with SMTP id q7mr195412eba.21.1278003726335; Thu, 01 Jul 2010 10:02:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.15.132 with HTTP; Thu, 1 Jul 2010 10:01:45 -0700 (PDT) In-Reply-To: <83tyoj9m72.fsf@gnu.org> References: <20100630103826.GA3847@agmartin.aq.upm.es> <837hlgbf5v.fsf@gnu.org> <831vbob5qz.fsf@gnu.org> <83wrtfao2c.fsf@gnu.org> <83tyoj9m72.fsf@gnu.org> From: Lennart Borgman Date: Thu, 1 Jul 2010 19:01:45 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.1 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) On Thu, Jul 1, 2010 at 6:54 PM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Thu, 1 Jul 2010 11:45:51 +0200 >> Cc: agustin6martin@gmail.com, 6539@debbugs.gnu.org >> >> On Thu, Jul 1, 2010 at 5:16 AM, Eli Zaretskii wrote: >> >> From: Lennart Borgman >> >> Date: Wed, 30 Jun 2010 23:04:11 +0200 >> >> Cc: agustin6martin@gmail.com, 6539@debbugs.gnu.org >> >> >> >> > Then you'd see >> >> > >> >> > =C2=A0 Debugger entered--Lisp error: (wrong-type-argument stringp n= il) >> >> > >> >> > Is that really better? >> >> >> >> Hm, maybe not. Then perhaps a suitable file name for w32 is better? >> > >> > Then you'd have the same error message as we do now, just with a w32 >> > formatted absolute file name. =C2=A0How is this better than the curren= t >> > state of affairs? >> >> As I said earlier it would be less confusing. > > I don't see how. If Emacs says that it can not find a file with a path that is clearly not a w32 path, but a unix style path, is not that more confusing to you? Don't you get the impression that this is not yet working on w32 because no has fixed the file name? And in such a case don't you get the impression that there might be more things involved that are not OS independent? After seeing many such cases at least I get that impression. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) Resent-From: Agustin Martin 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 11:31:02 +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: To: 6539@debbugs.gnu.org Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.12783294197536 (code B ref 6539); Mon, 05 Jul 2010 11:31:02 +0000 Received: (at 6539) by debbugs.gnu.org; 5 Jul 2010 11:30:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVjsR-0001xP-Dr for submit@debbugs.gnu.org; Mon, 05 Jul 2010 07:30:19 -0400 Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVjsO-0001k2-QW for 6539@debbugs.gnu.org; Mon, 05 Jul 2010 07:30:18 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by edison.ccupm.upm.es (8.13.8/8.13.8) with ESMTP id o65BUAXf003653; Mon, 5 Jul 2010 13:30:10 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 1D961463B1; Mon, 5 Jul 2010 13:30:10 +0200 (CEST) Date: Mon, 5 Jul 2010 13:30:10 +0200 From: Agustin Martin Message-ID: <20100705113009.GA27776@agmartin.aq.upm.es> References: <20100630103826.GA3847@agmartin.aq.upm.es> <20100630122747.GA20074@agmartin.aq.upm.es> <836310bezc.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <836310bezc.fsf@gnu.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) On Wed, Jun 30, 2010 at 08:35:35PM +0300, Eli Zaretskii wrote: > > Date: Wed, 30 Jun 2010 14:27:47 +0200 > > From: Agustin Martin > > Cc: > > > > > > I think that this bug report can be closed or renamed to something like > > > > 'Improve `ispell-alternate-dictionary' docstring'. > > > > > > I think the default for ispell-alternate-dictionary should be changed on w32. > > > > Or, more globally, find a good and not confusing name for default personal > > plain wordlist that can be used in every system, be it w32 or not, so it is > > tried first in `ispell-alternate-dictionary', something like > > > > (expand-file-name "~/.personal.words") > > How will that help, exactly? /usr/dict/words exists on almost every > Posix system, which is why ispell.el has that as the default. But > there's no comparable functionality on Windows, so the only way of > getting this work on Windows is to find or download such a file from > somewhere, and manually install it in some arbitrary directory. How > is Emacs supposed to know whether such a file exists, and where? My initial intention was to provide an out-of-the box default for personal wordlist, useful for both w32 and *X systems. However, as you point out in another message, since this is originally an Ispell feature, I think I should not add an Emacs specific difference. Customizing `ispell-alternate-dictionary' (or `ispell-complete-word-dict') seems the way to go. However, docstrings and error handling for this complete-word stuff needs to be improved, so it provides useful and accurate information. I am currently trying something like attached patch where `ispell-alternate-dictionary' is set to nil if no default is found and checked before use. I find error message too long, but better that before. As usually, suggestions are welcome. It also changes `file-exists-p' to `file-readable-p' in `ispell-alternate-dictionary' definition. I have also noticed that ispell.el uses `ispell-alternate-dictionary' and `ispell-complete-word-dict' in a way that seems to be interchangeable, but confusing. The former was probably used at some time as a real alternate dictionary for spellchecking, but current use seems to be for completion. Have to think a bit more about this. Cheers, -- Agustin From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) Resent-From: Agustin Martin 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 11:53: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: To: 6539@debbugs.gnu.org Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.12783307518602 (code B ref 6539); Mon, 05 Jul 2010 11:53:01 +0000 Received: (at 6539) by debbugs.gnu.org; 5 Jul 2010 11:52:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVkDv-0002Eh-GP for submit@debbugs.gnu.org; Mon, 05 Jul 2010 07:52:31 -0400 Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVkDs-0002EZ-OS for 6539@debbugs.gnu.org; Mon, 05 Jul 2010 07:52:29 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by edison.ccupm.upm.es (8.13.8/8.13.8) with ESMTP id o65BqMu4008300; Mon, 5 Jul 2010 13:52:22 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 6FEB0463B1; Mon, 5 Jul 2010 13:52:22 +0200 (CEST) Date: Mon, 5 Jul 2010 13:52:22 +0200 From: Agustin Martin Message-ID: <20100705115222.GA2013@agmartin.aq.upm.es> References: <20100630103826.GA3847@agmartin.aq.upm.es> <20100630122747.GA20074@agmartin.aq.upm.es> <836310bezc.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <836310bezc.fsf@gnu.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -6.3 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 30, 2010 at 08:35:35PM +0300, Eli Zaretskii wrote: > > Date: Wed, 30 Jun 2010 14:27:47 +0200 > > From: Agustin Martin > > Cc: > > > > > > I think that this bug report can be closed or renamed to something like > > > > 'Improve `ispell-alternate-dictionary' docstring'. > > > > > > I think the default for ispell-alternate-dictionary should be changed on w32. > > > > Or, more globally, find a good and not confusing name for default personal > > plain wordlist that can be used in every system, be it w32 or not, so it is > > tried first in `ispell-alternate-dictionary', something like > > > > (expand-file-name "~/.personal.words") > > How will that help, exactly? /usr/dict/words exists on almost every > Posix system, which is why ispell.el has that as the default. But > there's no comparable functionality on Windows, so the only way of > getting this work on Windows is to find or download such a file from > somewhere, and manually install it in some arbitrary directory. How > is Emacs supposed to know whether such a file exists, and where? [Really attaching diff] My initial intention was to provide an out-of-the box default for personal wordlist, useful for both w32 and *X systems. However, as you point out in another message, since this is originally an Ispell feature, I think I should not add an Emacs specific difference. Customizing `ispell-alternate-dictionary' (or `ispell-complete-word-dict') seems the way to go. However, docstrings and error handling for this complete-word stuff needs to be improved, so it provides useful and accurate information. I am currently trying something like attached patch where `ispell-alternate-dictionary' is set to nil if no default is found and checked before use. I find error message too long, but better that before. As usually, suggestions are welcome. It also changes `file-exists-p' to `file-readable-p' in `ispell-alternate-dictionary' definition. I have also noticed that ispell.el uses `ispell-alternate-dictionary' and `ispell-complete-word-dict' in a way that seems to be interchangeable, but confusing. The former was probably used at some time as a real alternate dictionary for spellchecking, but current use seems to be for completion. Have to think a bit more about this. Cheers, -- Agustin --vtzGhvizbBRQ85DL Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="ispell.el_complete-word-2.diff" --- ispell.el.orig 2010-07-05 11:31:21.000000000 +0200 +++ ispell.el 2010-07-05 13:25:03.000000000 +0200 @@ -357,21 +357,20 @@ :group 'ispell) (defcustom ispell-alternate-dictionary - (cond ((file-exists-p "/usr/dict/web2") "/usr/dict/web2") - ((file-exists-p "/usr/share/dict/web2") "/usr/share/dict/web2") - ((file-exists-p "/usr/dict/words") "/usr/dict/words") - ((file-exists-p "/usr/lib/dict/words") "/usr/lib/dict/words") - ((file-exists-p "/usr/share/dict/words") "/usr/share/dict/words") - ((file-exists-p "/usr/share/lib/dict/words") + (cond ((file-readable-p "/usr/dict/web2") "/usr/dict/web2") + ((file-readable-p "/usr/share/dict/web2") "/usr/share/dict/web2") + ((file-readable-p "/usr/dict/words") "/usr/dict/words") + ((file-readable-p "/usr/lib/dict/words") "/usr/lib/dict/words") + ((file-readable-p "/usr/share/dict/words") "/usr/share/dict/words") + ((file-readable-p "/usr/share/lib/dict/words") "/usr/share/lib/dict/words") - ((file-exists-p "/sys/dict") "/sys/dict") - (t "/usr/dict/words")) - "*Alternate dictionary for spelling help." + ((file-readable-p "/sys/dict") "/sys/dict")) + "*Alternate plain word-list dictionary for spelling help." :type '(choice file (const :tag "None" nil)) :group 'ispell) (defcustom ispell-complete-word-dict ispell-alternate-dictionary - "*Dictionary used for word completion." + "*Plain word-list dictionary used for word completion." :type '(choice file (const :tag "None" nil)) :group 'ispell) @@ -2273,6 +2272,12 @@ (if (null lookup-dict) (setq lookup-dict ispell-alternate-dictionary)) + (if lookup-dict + (unless (file-readable-p lookup-dict) + (error "lookup-words error: Unreadable or missing plain word-list %s." + lookup-dict)) + (error "lookup-words error: No plain word-list found at system default locations. Customize `ispell-alternate-dictionary' to set yours.")) + (let* ((process-connection-type ispell-use-ptys-p) (wild-p (string-match "\\*" word)) (look-p (and ispell-look-p ; Only use look for an exact match. --vtzGhvizbBRQ85DL-- From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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 12:29:02 +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: To: Agustin Martin Cc: 6539@debbugs.gnu.org Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.12783328989475 (code B ref 6539); Mon, 05 Jul 2010 12:29:02 +0000 Received: (at 6539) by debbugs.gnu.org; 5 Jul 2010 12:28:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVkmX-0002Sm-Vs for submit@debbugs.gnu.org; Mon, 05 Jul 2010 08:28:18 -0400 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVkmV-0002Sh-RT for 6539@debbugs.gnu.org; Mon, 05 Jul 2010 08:28:16 -0400 Received: by wyg36 with SMTP id 36so1677451wyg.3 for <6539@debbugs.gnu.org>; Mon, 05 Jul 2010 05:28:10 -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=atZ7EOEAhkwPsbRk2bqYTvrqCZSTo/yKyce/mjE9jrs=; b=Ohijf00OlpVg4LMal2gg2KCfH09GOwiED33tZ/5pC6hWxfNOPaK4b3nbS7DwtVchdJ 2y1POWzqKR5vMZvT8TSypJx1Ta/QhhZ811il2dziQYiJ6A52HA/0i1ayWzUgTbqkSMAT 41nAag+ivh067fPHYUHzEobkHUKXBhbdZPagY= 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=UH4tFFwtKgm0IUwT8OHyFUWW4HFBQUePkKbiAg5FeKMnwdV/1qg0OaBf3RQXUrtULD PNZVgvxna+//gp33OK2qPmQS0KAjTBiPe1Nbfd5wyQI/ebbYsk/xS2G28roy2w1mISMV VZoAP9H3YHU96Xtuvj4R5jzHYkMkqSkU+4DAQ= Received: by 10.213.26.84 with SMTP id d20mr2112429ebc.43.1278332890238; Mon, 05 Jul 2010 05:28:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.15.132 with HTTP; Mon, 5 Jul 2010 05:27:50 -0700 (PDT) In-Reply-To: <20100705115222.GA2013@agmartin.aq.upm.es> References: <20100630103826.GA3847@agmartin.aq.upm.es> <20100630122747.GA20074@agmartin.aq.upm.es> <836310bezc.fsf@gnu.org> <20100705115222.GA2013@agmartin.aq.upm.es> From: Lennart Borgman Date: Mon, 5 Jul 2010 14:27:50 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) On Mon, Jul 5, 2010 at 1:52 PM, Agustin Martin wrote: >> > >> > Or, more globally, find a good and not confusing name for default pers= onal >> > plain wordlist that can be used in every system, be it w32 or not, so = it is >> > tried first in `ispell-alternate-dictionary', something like >> > >> > (expand-file-name "~/.personal.words") >> >> How will that help, exactly? =C2=A0/usr/dict/words exists on almost ever= y >> Posix system, which is why ispell.el has that as the default. =C2=A0But >> there's no comparable functionality on Windows, so the only way of >> getting this work on Windows is to find or download such a file from >> somewhere, and manually install it in some arbitrary directory. =C2=A0Ho= w >> is Emacs supposed to know whether such a file exists, and where? > > [Really attaching diff] > > My initial intention was to provide an out-of-the box default for persona= l > wordlist, useful for both w32 and *X systems. However, as you point out i= n > another message, since this is originally an Ispell feature, I think I > should not add an Emacs specific difference. Customizing > `ispell-alternate-dictionary' (or `ispell-complete-word-dict') seems the > way to go. > > However, docstrings and error handling for this complete-word stuff needs > to be improved, so it provides useful and accurate information. I am > currently trying something like attached patch where > `ispell-alternate-dictionary' is set to nil if no default is found and > checked before use. I find error message too long, but better that before= . > As usually, suggestions are welcome. > > It also changes `file-exists-p' to `file-readable-p' in > `ispell-alternate-dictionary' definition. > > I have also noticed that ispell.el uses `ispell-alternate-dictionary' and > `ispell-complete-word-dict' in a way that seems to be interchangeable, bu= t > confusing. The former was probably used at some time as a real alternate > dictionary for spellchecking, but current use seems to be for completion. > Have to think a bit more about this. Thanks Agustin, but I still think it is a very bad idea to have unix-style file names as default for other systems. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Mon, 05 Jul 2010 17:26: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: To: Agustin Martin Cc: 6539@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127835076018389 (code B ref 6539); Mon, 05 Jul 2010 17:26:01 +0000 Received: (at 6539) by debbugs.gnu.org; 5 Jul 2010 17:26:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVpQd-0004mY-TF for submit@debbugs.gnu.org; Mon, 05 Jul 2010 13:26:00 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVpQb-0004mE-4K for 6539@debbugs.gnu.org; Mon, 05 Jul 2010 13:25:58 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L5300700HMAQW00@a-mtaout22.012.net.il> for 6539@debbugs.gnu.org; Mon, 05 Jul 2010 20:25:51 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.253.155]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L53002G2HR2RQD0@a-mtaout22.012.net.il>; Mon, 05 Jul 2010 20:25:51 +0300 (IDT) Date: Mon, 05 Jul 2010 20:23:49 +0300 From: Eli Zaretskii In-reply-to: <20100705115222.GA2013@agmartin.aq.upm.es> X-012-Sender: halo1@inter.net.il Message-id: <83mxu59716.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> X-Spam-Score: -1.7 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.7 (-) > Date: Mon, 5 Jul 2010 13:52:22 +0200 > From: Agustin Martin > Cc: > > However, docstrings and error handling for this complete-word stuff needs > to be improved, so it provides useful and accurate information. I am > currently trying something like attached patch where > `ispell-alternate-dictionary' is set to nil if no default is found and > checked before use. I find error message too long, but better that before. > As usually, suggestions are welcome. For the error message, just put 2 spaces between the sentences, as we do everywhere in Emacs. 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. Thanks. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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:33:02 +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: To: Eli Zaretskii Cc: Agustin Martin , 6539@debbugs.gnu.org Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127835118018611 (code B ref 6539); Mon, 05 Jul 2010 17:33:02 +0000 Received: (at 6539) by debbugs.gnu.org; 5 Jul 2010 17:33:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVpXQ-0004q8-Bl for submit@debbugs.gnu.org; Mon, 05 Jul 2010 13:33:00 -0400 Received: from mail-ew0-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVpXO-0004q1-CH for 6539@debbugs.gnu.org; Mon, 05 Jul 2010 13:32:58 -0400 Received: by ewy22 with SMTP id 22so1617435ewy.3 for <6539@debbugs.gnu.org>; Mon, 05 Jul 2010 10:32:53 -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=K3uSxozoUeyURn/MiQ83MPb2JpGuthKQoxaqrEZcfRk=; b=Gh86ajx+cBX4Pqh6jedAI+iXtv9WEnzybgQy54xZTlAmUzpp3JvMrBJx/jP8MRtdTd VLlD7u61x1lHRinHX6CKA2cZJpnCKDUvVycsjsaarBD19izIg+px7g7ZhiIXwNVcCGav yZlOGyJr/oc0TK4yOBdDIFCiUws60hLUFmrsE= 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=CR6ckpg5QW6ytqVUEgUYwYrxS1cjAw8gQ1dauEhmLHA4xOjSD2H+nh/eI2J+toTt2p F+eLGZ2GsSlW5XjwmgNVqHMM36e4OAvp7+Bdoog7+mO4Ne6OPheH9nleqs7Hh9buE3BI 6FfH9EvF6io0Rvtxo/JCpDuWmdlXkCtTHIk0M= Received: by 10.213.16.140 with SMTP id o12mr779876eba.20.1278351173269; Mon, 05 Jul 2010 10:32:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.15.132 with HTTP; Mon, 5 Jul 2010 10:32:33 -0700 (PDT) In-Reply-To: <83mxu59716.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> From: Lennart Borgman Date: Mon, 5 Jul 2010 19:32:33 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) On Mon, Jul 5, 2010 at 7:23 PM, Eli Zaretskii wrote: >> Date: Mon, 5 Jul 2010 13:52:22 +0200 >> From: Agustin Martin >> Cc: >> >> However, docstrings and error handling for this complete-word stuff need= s >> to be improved, so it provides useful and accurate information. I am >> currently trying something like attached patch where >> `ispell-alternate-dictionary' is set to nil if no default is found and >> checked before use. I find error message too long, but better that befor= e. >> As usually, suggestions are welcome. > > For the error message, just put 2 spaces between the sentences, as we > do everywhere in Emacs. > > 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. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Mon, 05 Jul 2010 17:43:02 +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: To: Lennart Borgman Cc: agustin.martin@hispalinux.es, 6539@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127835174018930 (code B ref 6539); Mon, 05 Jul 2010 17:43:02 +0000 Received: (at 6539) by debbugs.gnu.org; 5 Jul 2010 17:42:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVpgS-0004vH-40 for submit@debbugs.gnu.org; Mon, 05 Jul 2010 13:42:20 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVpgP-0004vC-W6 for 6539@debbugs.gnu.org; Mon, 05 Jul 2010 13:42:19 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L5300I00IF1FJ00@a-mtaout23.012.net.il> for 6539@debbugs.gnu.org; Mon, 05 Jul 2010 20:42:12 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.253.155]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L5300FWJII0OU60@a-mtaout23.012.net.il>; Mon, 05 Jul 2010 20:42:01 +0300 (IDT) Date: Mon, 05 Jul 2010 20:39:59 +0300 From: Eli Zaretskii In-reply-to: Message-id: <83iq4t96a8.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il 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> X-Spam-Score: -1.7 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.6 (-) > From: Lennart Borgman > Date: Mon, 5 Jul 2010 19:32:33 +0200 > Cc: Agustin Martin , 6539@debbugs.gnu= .org >=20 > > For the rest, the patch looks fine, but why not test /usr/dict/wo= rds > > with file-readable-p as well? =C2=A0Then, if it does not exist, t= he > > defcustom will evaluate to nil, and the error message will be eve= n > > more to the point. >=20 >=20 > 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 driv= e. > 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? 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. Unless you do that, this feature will _ALWAYS_ fail on Windows; the only thing we can do is make the error message more helpful. And if the option _is_ customized, I trust the user to include the drive letter in the value. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: To: Eli Zaretskii Cc: agustin.martin@hispalinux.es, 6539@debbugs.gnu.org Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127835255519305 (code B ref 6539); Mon, 05 Jul 2010 17:56:01 +0000 Received: (at 6539) by debbugs.gnu.org; 5 Jul 2010 17:55:55 +0000 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 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 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= Received: by 10.213.16.140 with SMTP id o12mr747452eba.32.1278352548667; Mon, 05 Jul 2010 10:55:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.15.132 with HTTP; Mon, 5 Jul 2010 10:55:28 -0700 (PDT) In-Reply-To: <83iq4t96a8.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> <83iq4t96a8.fsf@gnu.org> From: Lennart Borgman Date: Mon, 5 Jul 2010 19:55:28 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) 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. > From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Mon, 05 Jul 2010 18:26:02 +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: To: Lennart Borgman Cc: agustin.martin@hispalinux.es, 6539@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127835433120209 (code B ref 6539); Mon, 05 Jul 2010 18:26:02 +0000 Received: (at 6539) by debbugs.gnu.org; 5 Jul 2010 18:25:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVqMF-0005Ft-43 for submit@debbugs.gnu.org; Mon, 05 Jul 2010 14:25:31 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVqMC-0005Fm-Le for 6539@debbugs.gnu.org; Mon, 05 Jul 2010 14:25:29 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L5300900KF0VZ00@a-mtaout22.012.net.il> for 6539@debbugs.gnu.org; Mon, 05 Jul 2010 21:25:23 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.253.155]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L53002O5KI9WYJ0@a-mtaout22.012.net.il>; Mon, 05 Jul 2010 21:25:21 +0300 (IDT) Date: Mon, 05 Jul 2010 21:23:20 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83hbkd949z.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> <83iq4t96a8.fsf@gnu.org> X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.6 (-) > From: Lennart Borgman > Date: Mon, 5 Jul 2010 19:55:28 +0200 > Cc: agustin.martin@hispalinux.es, 6539@debbugs.gnu.org > > > 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. The chances of the user accidentally putting the file in the same directory where Ispell looks for it, which doesn't exist on Windows and needs to be created, are slim. The chances of doing that without looking at ispell.el and discovering the defcustom and its default value are even more slim. So I think your fears are entirely imaginary, and the problem you describe does not exist in practice. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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 19:52:02 +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: To: Eli Zaretskii Cc: agustin.martin@hispalinux.es, 6539@debbugs.gnu.org Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127835946225347 (code B ref 6539); Mon, 05 Jul 2010 19:52:02 +0000 Received: (at 6539) by debbugs.gnu.org; 5 Jul 2010 19:51:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVrgz-0006ak-OP for submit@debbugs.gnu.org; Mon, 05 Jul 2010 15:51:02 -0400 Received: from mail-ew0-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVrgx-0006aV-To for 6539@debbugs.gnu.org; Mon, 05 Jul 2010 15:51:00 -0400 Received: by ewy22 with SMTP id 22so1637577ewy.3 for <6539@debbugs.gnu.org>; Mon, 05 Jul 2010 12:50:55 -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=Lp4U0oA89vX9pasvKvBmotrcKHRyak8mY3Y6DhgqQzw=; b=eDwAxcZ8IPO1dj5M+Aj9DpZjKXiUuZE+o5A1TF5NNPSvszIbnL92JZlWUTcc1B9a8w tdKKRYc/yr9Ns0AXLa+VaGqaBOh5JV7Q8aalYxtTdvXQ4TAjGEYjua43KCDr9MwFO0D7 a5iEdc6Ox8SXVH81g5+WJ28ErmyiKaqMRp4oc= 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=lsT60ikpmRb3FoiqvKpwGTUQLvXHZux0PYDnpn2gh8Pb+d1hdRKI2268moBTg89IMg ELBjXYRfO/5Yk55l/VWeNfqROeFjxhqbAhgO7lJDkPaIw+m/sTOA6PmKWoloKqWx8HqJ zD3Ftn5QSt990umqsrOcMdWr/X3TY60LyVs1k= Received: by 10.213.33.134 with SMTP id h6mr2570965ebd.87.1278359455182; Mon, 05 Jul 2010 12:50:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.15.132 with HTTP; Mon, 5 Jul 2010 12:50:35 -0700 (PDT) In-Reply-To: <83hbkd949z.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> <83iq4t96a8.fsf@gnu.org> <83hbkd949z.fsf@gnu.org> From: Lennart Borgman Date: Mon, 5 Jul 2010 21:50:35 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) On Mon, Jul 5, 2010 at 8:23 PM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Mon, 5 Jul 2010 19:55:28 +0200 >> Cc: agustin.martin@hispalinux.es, 6539@debbugs.gnu.org >> >> > 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. > > The chances of the user accidentally putting the file in the same > directory where Ispell looks for it, which doesn't exist on Windows > and needs to be created, are slim. =C2=A0The chances of doing that withou= t > looking at ispell.el and discovering the defcustom and its default > value are even more slim. This can rather easily happen. Just imagine a user getting the error message and then putting the files there on the current drive. > So I think your fears are entirely imaginary, and the problem you > describe does not exist in practice. It is less imaginary than a matter of imagination and logic. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) Resent-From: Agustin Martin 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 13:49:02 +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: To: 6539@debbugs.gnu.org Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127842409729226 (code B ref 6539); Tue, 06 Jul 2010 13:49:02 +0000 Received: (at 6539) by debbugs.gnu.org; 6 Jul 2010 13:48:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OW8VU-0007b5-JJ for submit@debbugs.gnu.org; Tue, 06 Jul 2010 09:48:17 -0400 Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OW8VR-0007WV-9Y for 6539@debbugs.gnu.org; Tue, 06 Jul 2010 09:48:14 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by edison.ccupm.upm.es (8.13.8/8.13.8) with ESMTP id o66Dm7IN001192; Tue, 6 Jul 2010 15:48:07 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 5E297463B0; Tue, 6 Jul 2010 15:48:07 +0200 (CEST) Date: Tue, 6 Jul 2010 15:48:07 +0200 From: Agustin Martin Message-ID: <20100706134807.GA3297@agmartin.aq.upm.es> References: <20100630122747.GA20074@agmartin.aq.upm.es> <836310bezc.fsf@gnu.org> <20100705115222.GA2013@agmartin.aq.upm.es> <83mxu59716.fsf@gnu.org> <83iq4t96a8.fsf@gnu.org> <83hbkd949z.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by edison.ccupm.upm.es id o66Dm7IN001192 X-Spam-Score: -6.3 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) On Mon, Jul 05, 2010 at 09:50:35PM +0200, Lennart Borgman wrote: > On Mon, Jul 5, 2010 at 8:23 PM, Eli Zaretskii wrote: > >> From: Lennart Borgman > >> Date: Mon, 5 Jul 2010 19:55:28 +0200 > >> Cc: agustin.martin@hispalinux.es, 6539@debbugs.gnu.org > >> > >> > Why does it matter which file names are tried, if the net result w= ill > >> > 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 th= e > >> required files there. > > > > The chances of the user accidentally putting the file in the same > > directory where Ispell looks for it, which doesn't exist on Windows > > and needs to be created, are slim. =A0The chances of doing that witho= ut > > looking at ispell.el and discovering the defcustom and its default > > value are even more slim. >=20 > This can rather easily happen. Just imagine a user getting the error > message and then putting the files there on the current drive. Note that proposed new error message does not point to an specific location (just uses 'standard default locations'), but to customize `ispell-alternate-dictionary'. --=20 Agustin From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) Resent-From: Agustin Martin 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 15:13:02 +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: To: 6539@debbugs.gnu.org Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.12784291742700 (code B ref 6539); Tue, 06 Jul 2010 15:13:02 +0000 Received: (at 6539) by debbugs.gnu.org; 6 Jul 2010 15:12:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OW9pN-0000hV-SN for submit@debbugs.gnu.org; Tue, 06 Jul 2010 11:12:54 -0400 Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OW9pL-0000hN-DT for 6539@debbugs.gnu.org; Tue, 06 Jul 2010 11:12:52 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by edison.ccupm.upm.es (8.13.8/8.13.8) with ESMTP id o66FCj8i008949; Tue, 6 Jul 2010 17:12:45 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 5CDDC463B0; Tue, 6 Jul 2010 17:12:45 +0200 (CEST) Date: Tue, 6 Jul 2010 17:12:45 +0200 From: Agustin Martin Message-ID: <20100706151245.GA26238@agmartin.aq.upm.es> 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> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <83mxu59716.fsf@gnu.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -5.1 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jul 05, 2010 at 08:23:49PM +0300, Eli Zaretskii wrote: > > Date: Mon, 5 Jul 2010 13:52:22 +0200 > > From: Agustin Martin > > Cc: > > > > However, docstrings and error handling for this complete-word stuff needs > > to be improved, so it provides useful and accurate information. I am > > currently trying something like attached patch where > > `ispell-alternate-dictionary' is set to nil if no default is found and > > checked before use. I find error message too long, but better that before. > > As usually, suggestions are welcome. > > For the error message, just put 2 spaces between the sentences, as we > do everywhere in Emacs. Thanks, that is the kind of things casual contributors like me usually forget. > 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. Regarding the `ispell-alternate-dictionary'/`ispell-complete-word-dict' duality I am modifying `ispell-complete-word-dict' default value to nil and using (or ispell-complete-word-dict ispell-alternate-dictionary)) for previous standalone calls of any of both variables. That way `ispell-complete-word-dict' is only used if explicitly set and `ispell-alternate-dictionary' is used otherwise. If they are ever used for something different this should not disturb and leave things ready. 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. -- Agustin --VS++wcV0S1rZb1Fb Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="ispell.el_complete-word-3.diff" --- ispell.el.orig 2010-07-05 11:31:21.000000000 +0200 +++ ispell.el 2010-07-06 16:24:00.000000000 +0200 @@ -357,21 +357,21 @@ :group 'ispell) (defcustom ispell-alternate-dictionary - (cond ((file-exists-p "/usr/dict/web2") "/usr/dict/web2") - ((file-exists-p "/usr/share/dict/web2") "/usr/share/dict/web2") - ((file-exists-p "/usr/dict/words") "/usr/dict/words") - ((file-exists-p "/usr/lib/dict/words") "/usr/lib/dict/words") - ((file-exists-p "/usr/share/dict/words") "/usr/share/dict/words") - ((file-exists-p "/usr/share/lib/dict/words") + (cond ((file-readable-p "/usr/dict/web2") "/usr/dict/web2") + ((file-readable-p "/usr/share/dict/web2") "/usr/share/dict/web2") + ((file-readable-p "/usr/dict/words") "/usr/dict/words") + ((file-readable-p "/usr/lib/dict/words") "/usr/lib/dict/words") + ((file-readable-p "/usr/share/dict/words") "/usr/share/dict/words") + ((file-readable-p "/usr/share/lib/dict/words") "/usr/share/lib/dict/words") - ((file-exists-p "/sys/dict") "/sys/dict") - (t "/usr/dict/words")) - "*Alternate dictionary for spelling help." + ((file-readable-p "/sys/dict") "/sys/dict")) + "*Alternate plain word-list dictionary for spelling help." :type '(choice file (const :tag "None" nil)) :group 'ispell) -(defcustom ispell-complete-word-dict ispell-alternate-dictionary - "*Dictionary used for word completion." +(defcustom ispell-complete-word-dict nil + "*Plain word-list dictionary used for word completion if +different from `ispell-alternate-dictionary'." :type '(choice file (const :tag "None" nil)) :group 'ispell) @@ -2049,10 +2049,11 @@ (erase-buffer) (setq count ?0 skipped 0 - mode-line-format + mode-line-format ;; setup the *Choices* buffer with valid data. (concat "-- %b -- word: " new-word - " -- dict: " - ispell-alternate-dictionary) + " -- word-list: " + (or ispell-complete-word-dict + ispell-alternate-dictionary)) miss (lookup-words new-word) choices miss line ispell-choices-win-default-height) @@ -2267,11 +2268,20 @@ search for the words (usually egrep). Optional second argument contains the dictionary to use; the default is -`ispell-alternate-dictionary'." +`ispell-alternate-dictionary', overriden by `ispell-complete-word-dict' +if defined." ;; We don't use the filter for this function, rather the result is written ;; into a buffer. Hence there is no need to save the filter values. (if (null lookup-dict) - (setq lookup-dict ispell-alternate-dictionary)) + (setq lookup-dict (or ispell-complete-word-dict + ispell-alternate-dictionary))) + + (if lookup-dict + (unless (file-readable-p lookup-dict) + (error "lookup-words error: Unreadable or missing plain word-list %s." + lookup-dict)) + (error (concat "lookup-words error: No plain word-list found at system default " + "locations. Customize `ispell-alternate-dictionary' to set yours."))) (let* ((process-connection-type ispell-use-ptys-p) (wild-p (string-match "\\*" word)) @@ -3342,7 +3352,8 @@ (lookup-words (concat (and interior-frag "*") word (if (or interior-frag (null ispell-look-p)) "*")) - ispell-complete-word-dict))) + (or ispell-complete-word-dict + ispell-alternate-dictionary)))) (cond ((eq possibilities t) (message "No word to complete")) ((null possibilities) --VS++wcV0S1rZb1Fb-- From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: To: Agustin Martin Cc: 6539@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.12784409368192 (code B ref 6539); Tue, 06 Jul 2010 18:29:01 +0000 Received: (at 6539) by debbugs.gnu.org; 6 Jul 2010 18:28:56 +0000 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 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 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) 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) Date: Tue, 06 Jul 2010 21:26:47 +0300 From: Eli Zaretskii In-reply-to: <20100706151245.GA26238@agmartin.aq.upm.es> X-012-Sender: halo1@inter.net.il 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> X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.6 (-) > 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. From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Jul 2010 15:33: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: To: Eli Zaretskii Cc: 6539@debbugs.gnu.org, agustin6martin@gmail.com Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127989913718029 (code B ref 6539); Fri, 23 Jul 2010 15:33:01 +0000 Received: (at 6539) by debbugs.gnu.org; 23 Jul 2010 15:32:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcKES-0004gj-RP for submit@debbugs.gnu.org; Fri, 23 Jul 2010 11:32:17 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcKER-0004ge-4X for 6539@debbugs.gnu.org; Fri, 23 Jul 2010 11:32:15 -0400 Received: from ceviche.home (vpn-132-204-232-78.acd.umontreal.ca [132.204.232.78]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o6NFWAo7028680; Fri, 23 Jul 2010 11:32:11 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 41656660D2; Fri, 23 Jul 2010 17:32:09 +0200 (CEST) From: Stefan Monnier Message-ID: References: <20100630103826.GA3847@agmartin.aq.upm.es> <83vd8zao16.fsf@gnu.org> Date: Fri, 23 Jul 2010 17:32:09 +0200 In-Reply-To: <83vd8zao16.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 01 Jul 2010 06:17:41 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3584=0 X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >> FWIW, I find it really confusing that ispell-complete-word does not >> use ispell. It should probably be moved out of ispell.el (unless we >> can somehow make it use some ispell/aspell/hunspell functionality). > It's there because it's an Ispell feature, present also in the > stand-alone version of the speller. I must be missing something: Does ispell-complete-word use Ispell? If not, then it shouldn't be in ispell.el (even if it provides a feature which Ispell also provides). Stefan From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) Resent-From: Agustin Martin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Jul 2010 16:49:02 +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: To: 6539@debbugs.gnu.org Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127990368320257 (code B ref 6539); Fri, 23 Jul 2010 16:49:02 +0000 Received: (at 6539) by debbugs.gnu.org; 23 Jul 2010 16:48:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcLPn-0005Gg-Bb for submit@debbugs.gnu.org; Fri, 23 Jul 2010 12:48:03 -0400 Received: from fibonacci.ccupm.upm.es ([138.100.198.70] helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcLPk-0005GI-JN for 6539@debbugs.gnu.org; Fri, 23 Jul 2010 12:48:01 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/fibonacci-001) with ESMTP id o6NGlv00028367; Fri, 23 Jul 2010 18:47:57 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 5B058462FB; Fri, 23 Jul 2010 18:47:57 +0200 (CEST) Date: Fri, 23 Jul 2010 18:47:57 +0200 From: Agustin Martin Message-ID: <20100723164757.GB6298@agmartin.aq.upm.es> References: <20100630103826.GA3847@agmartin.aq.upm.es> <83vd8zao16.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -6.3 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) On Fri, Jul 23, 2010 at 05:32:09PM +0200, Stefan Monnier wrote: > >> FWIW, I find it really confusing that ispell-complete-word does not > >> use ispell. It should probably be moved out of ispell.el (unless we > >> can somehow make it use some ispell/aspell/hunspell functionality). > > > It's there because it's an Ispell feature, present also in the > > stand-alone version of the speller. > > I must be missing something: > Does ispell-complete-word use Ispell? If not, then it shouldn't be in > ispell.el (even if it provides a feature which Ispell also provides). I see it as related to spell-checking (word-completion is often useful for that), so ispell.el is not at all a bad place. I guess that is this relation to spell-checking what makes this feature be provided by Ispell. Cheers, -- Agustin From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) 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: Fri, 23 Jul 2010 18:02:02 +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: To: Stefan Monnier Cc: 6539@debbugs.gnu.org, agustin6martin@gmail.com Reply-To: Eli Zaretskii Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127990807622415 (code B ref 6539); Fri, 23 Jul 2010 18:02:02 +0000 Received: (at 6539) by debbugs.gnu.org; 23 Jul 2010 18:01:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcMYe-0005pU-J0 for submit@debbugs.gnu.org; Fri, 23 Jul 2010 14:01:16 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcMYc-0005pP-3c for 6539@debbugs.gnu.org; Fri, 23 Jul 2010 14:01:15 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L6000600UNXVA00@a-mtaout22.012.net.il> for 6539@debbugs.gnu.org; Fri, 23 Jul 2010 21:01:11 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.61.30]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L6000JLMVDW9TV0@a-mtaout22.012.net.il>; Fri, 23 Jul 2010 21:01:09 +0300 (IDT) Date: Fri, 23 Jul 2010 21:01:08 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83k4omt6vv.fsf@gnu.org> References: <20100630103826.GA3847@agmartin.aq.upm.es> <83vd8zao16.fsf@gnu.org> X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.6 (-) > From: Stefan Monnier > Cc: agustin6martin@gmail.com, 6539@debbugs.gnu.org > Date: Fri, 23 Jul 2010 17:32:09 +0200 > > >> FWIW, I find it really confusing that ispell-complete-word does not > >> use ispell. It should probably be moved out of ispell.el (unless we > >> can somehow make it use some ispell/aspell/hunspell functionality). > > > It's there because it's an Ispell feature, present also in the > > stand-alone version of the speller. > > I must be missing something: > Does ispell-complete-word use Ispell? No. > If not, then it shouldn't be in ispell.el (even if it provides a > feature which Ispell also provides). It was there to begin with, and it saves words into the same personal dictionary that the rest of ispell.el uses. So I see no point to remove it from ispell.el, even though it doesn't run Ispell the program. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 19:43:06 2011 Received: (at control) by debbugs.gnu.org; 13 Jul 2011 23:43:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh957-0008Vy-RE for submit@debbugs.gnu.org; Wed, 13 Jul 2011 19:43:06 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh956-0008VK-3W for control@debbugs.gnu.org; Wed, 13 Jul 2011 19:43:04 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Qh94v-0007JS-8v for control@debbugs.gnu.org; Thu, 14 Jul 2011 01:42:53 +0200 Date: Thu, 14 Jul 2011 01:42:52 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #6539 X-MailScanner-ID: 1Qh94v-0007JS-8v X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311205373.54486@3WniqPlLt4PG16uDBNvhSg X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) tags 6539 wontfix close 6539 From unknown Wed Jun 25 10:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jul 2011 23:52:03 +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: wontfix To: Eli Zaretskii Cc: Lennart Borgman , 6539@debbugs.gnu.org, agustin6martin@gmail.com Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.13106010904332 (code B ref 6539); Wed, 13 Jul 2011 23:52:03 +0000 Received: (at 6539) by debbugs.gnu.org; 13 Jul 2011 23:51:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh9DE-00017l-Ty for submit@debbugs.gnu.org; Wed, 13 Jul 2011 19:51:29 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh9DA-00016z-6E for 6539@debbugs.gnu.org; Wed, 13 Jul 2011 19:51:24 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Qh9Cx-0007SQ-0i; Thu, 14 Jul 2011 01:51:11 +0200 From: Lars Magne Ingebrigtsen In-Reply-To: <83tyoj9m72.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 01 Jul 2010 19:54:57 +0300") Date: Thu, 14 Jul 2011 01:42:45 +0200 Message-ID: References: <20100630103826.GA3847@agmartin.aq.upm.es> <837hlgbf5v.fsf@gnu.org> <831vbob5qz.fsf@gnu.org> <83wrtfao2c.fsf@gnu.org> <83tyoj9m72.fsf@gnu.org> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Depeche Mode's _A Broken Frame_: "Nothing to Fear" X-Hashcash: 1:23:110713:lennart.borgman@gmail.com::P+aJMU894ZgwnkBR:000000000000000000000000000000000000Qqkt X-Hashcash: 1:23:110713:agustin6martin@gmail.com::UEcJd4hgDACrND1e:0000000000000000000000000000000000000cCSi X-Hashcash: 1:23:110713:6539@debbugs.gnu.org::NANoeOi28bxuSNMb:00000000000000000000000000000000000000000iWTd X-Hashcash: 1:23:110713:eliz@gnu.org::SS1dzJb/b+elwwVQ:00000oK3t MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MailScanner-ID: 1Qh9Cx-0007SQ-0i X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311205871.09885@2x8573E1C0Pj/Ua/9kOMEg X-Spam-Status: No X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Eli Zaretskii writes: >> > Then you'd have the same error message as we do now, just with a w32 >> > formatted absolute file name. =A0How is this better than the current >> > state of affairs? >>=20 >> As I said earlier it would be less confusing. > > I don't see how. Me neither, so I think the current state of the default here is as good as we're going to get. I'm closing this report. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/