From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#6539: ispell-complete-word looks for wrong file (at least on w32) Date: Wed, 30 Jun 2010 13:45:56 +0200 Message-ID: References: <20100630103826.GA3847@agmartin.aq.upm.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1277899942 25734 80.91.229.12 (30 Jun 2010 12:12:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Jun 2010 12:12:22 +0000 (UTC) Cc: 6539@debbugs.gnu.org To: Agustin Martin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 30 14:12:20 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OTw9J-0007gJ-CI for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jun 2010 14:12:18 +0200 Original-Received: from localhost ([127.0.0.1]:54563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTw9G-0002c9-QJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jun 2010 08:12:15 -0400 Original-Received: from [140.186.70.92] (port=42001 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTvwu-0003Bn-38 for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2010 07:59:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTvws-00015a-Oh for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2010 07:59:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49688) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTvws-00015U-M6 for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2010 07:59:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OTvkr-0006FZ-Sj; Wed, 30 Jun 2010 07:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: 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: Original-Received: via spool by 6539-submit@debbugs.gnu.org id=B6539.127789838424014 (code B ref 6539); Wed, 30 Jun 2010 11:47:01 +0000 Original-Received: (at 6539) by debbugs.gnu.org; 30 Jun 2010 11:46:24 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTvkF-0006FH-Gy for submit@debbugs.gnu.org; Wed, 30 Jun 2010 07:46:23 -0400 Original-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 Original-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= Original-Received: by 10.100.54.29 with SMTP id c29mr10492662ana.189.1277898376278; Wed, 30 Jun 2010 04:46:16 -0700 (PDT) Original-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> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 30 Jun 2010 07:47:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38139 Archived-At: 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.