GNU bug report logs - #6539
ispell-complete-word looks for wrong file (at least on w32)

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Wed, 30 Jun 2010 09:19:01 UTC

Severity: minor

Tags: wontfix

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 6539 <at> debbugs.gnu.org (full text, mbox):

From: Agustin Martin <agustin6martin <at> gmail.com>
To: Lennart Borgman <lennart.borgman <at> gmail.com>, 6539 <at> debbugs.gnu.org
Subject: Re: bug#6539: ispell-complete-word looks for wrong file (at least
	on w32)
Date: Wed, 30 Jun 2010 12:38:26 +0200
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




This bug report was last modified 13 years and 322 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.