[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [h-e-w] ispell and complete word
From: |
Sprenger, Karel |
Subject: |
RE: [h-e-w] ispell and complete word |
Date: |
Mon, 21 Oct 2002 14:58:24 +0200 |
Hi,
As to the personal words file, my guess is that startin g from an empty one,
you create one by adding to it from ispell sessions. Whenever ispell shows a
word that could be replaced, the commands I and U may be used that according to
the ispell man page do the following
I Accept the word, capitalized as it is in the
file, and update private dictionary.
U Accept the word, and add an uncapitalized
(actually, all lower-case) version to the
private dictionary.
Haven't tried them myself yet, but this looks like what you need.
Cheers,
Karel
-----Original Message-----
From: Dr Francis J. Wright [mailto:address@hidden
Sent: maandag 21 oktober 2002 14:39
To: Chris Lott
Cc: address@hidden
Subject: Re: [h-e-w] ispell and complete word
From: "Chris Lott" <address@hidden>
To: <address@hidden>
Sent: Thursday, October 17, 2002 2:35 AM
Subject: [h-e-w] ispell and complete word
> Does anyone have ispell working so that the complete word function is
> available?
>
> I installed ispell from
> ftp://ftp.gnu.org/gnu/windows/emacs/contrib/ispell.zip
> and it works fine for ispell-buffer
>
> But isell-complete-word gives me an error that "searching for program:
there
> is no such file or directory, egrep" although egrep is available from the
> shell window:
>
> bash-2.05b$ egrep -V
> egrep (GNU grep) 2.5
On my system, egrep is an old-style symlink to grep, which bash can follow
but NTEmacs can't. One easy solution to that problem is to hard link (NTFS)
or copy (FAT) grep.exe to egrep.exe. However, word completion still doesn't
work for me because it's looking for /usr/dict/words, which I don't appear
to have.
Probably the best solution is to change egrep to grep in the ispell
customization buffer, and also set the correct path to your words file. If,
like me, you don't have a words file then I don't know off hand where to get
one or how to build one.
Francis