* Keep getting "can't open /usr/local/lib/english.hash" for ispell
@ 2006-10-25 13:42 Abbott, Kevin-p98710
2006-10-26 7:43 ` Eli Zaretskii
[not found] ` <mailman.259.1161848625.27805.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 7+ messages in thread
From: Abbott, Kevin-p98710 @ 2006-10-25 13:42 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 798 bytes --]
Ispell problem - cannot find dictionary - although path and file exists
- I have emacs 21.3 running on a windows machine (XP).
- Also I have cygwin on the same machine.
- I downloaded the latest ispell software and the program is located at
C:\usr\local\bin. (emacs finds and runs the ispell program)
- The ispell library (dictionary (english.hash) is located at
C:\usr\local\lib ---I have checked the dictionary is at this location
- When run ispell (M-x ispell or from the menu) the ispell program is
fouind and starts running. However, I keep getting the error message
"can't open /usr/local/lib/english.hash."
- I don't see any variables to change the location and emacs can
find the ispell program which is on the same branch.
Any help/suggestions?
KC
[-- Attachment #1.2: Type: text/html, Size: 1742 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Keep getting "can't open /usr/local/lib/english.hash" for ispell
2006-10-25 13:42 Keep getting "can't open /usr/local/lib/english.hash" for ispell Abbott, Kevin-p98710
@ 2006-10-26 7:43 ` Eli Zaretskii
[not found] ` <mailman.259.1161848625.27805.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2006-10-26 7:43 UTC (permalink / raw)
> Content-class: urn:content-classes:message
> Date: Wed, 25 Oct 2006 06:42:50 -0700
> From: "Abbott, Kevin-p98710" <Kevin.Abbott@gdc4s.com>
>
> - I have emacs 21.3 running on a windows machine (XP).=20
> - Also I have cygwin on the same machine.
> - I downloaded the latest ispell software and the program is located at
> C:\usr\local\bin. (emacs finds and runs the ispell program)
> - The ispell library (dictionary (english.hash) is located at
> C:\usr\local\lib ---I have checked the dictionary is at this location
>
>
> - When run ispell (M-x ispell or from the menu) the ispell program is
> fouind and starts running. However, I keep getting the error message
> "can't open /usr/local/lib/english.hash."
> - I don't see any variables to change the location and emacs can
> find the ispell program which is on the same branch.
>
> Any help/suggestions?
Use the ispell-change-dictionary command to point Ispell to the actual
location of the english.hash file, including the drive letter and the
leading directories.
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <mailman.259.1161848625.27805.help-gnu-emacs@gnu.org>]
* Re: Keep getting "can't open /usr/local/lib/english.hash" for ispell
[not found] ` <mailman.259.1161848625.27805.help-gnu-emacs@gnu.org>
@ 2006-10-26 15:26 ` p98710
2006-10-27 8:34 ` Eli Zaretskii
2006-10-27 14:34 ` p98710
0 siblings, 2 replies; 7+ messages in thread
From: p98710 @ 2006-10-26 15:26 UTC (permalink / raw)
I tried the suggestion below using the ispell-change-dictionary
M-x ispell-change-dictionary
C:\usr\local\lib\english.hash -----> [no match}
I can see the hash file and open the hash with emacs at
C:\usr\local\lib
any other suggestions?
KC
On Oct 26, 12:43 am, Eli Zaretskii <e...@gnu.org> wrote:
> > Content-class: urn:content-classes:message
> > Date: Wed, 25 Oct 2006 06:42:50 -0700
> > From: "Abbott, Kevin-p98710" <Kevin.Abb...@gdc4s.com>
>
> > - I have emacs 21.3 running on a windows machine (XP).=20
> > - Also I have cygwin on the same machine.
> > - I downloaded the latest ispell software and the program is located at
> > C:\usr\local\bin. (emacs finds and runs the ispell program)
> > - The ispell library (dictionary (english.hash) is located at
> > C:\usr\local\lib ---I have checked the dictionary is at this location
>
> > - When run ispell (M-x ispell or from the menu) the ispell program is
> > fouind and starts running. However, I keep getting the error message
> > "can't open /usr/local/lib/english.hash."
> > - I don't see any variables to change the location and emacs can
> > find the ispell program which is on the same branch.
>
> > Any help/suggestions?Use the ispell-change-dictionary command to point Ispell to the actual
> location of the english.hash file, including the drive letter and the
> leading directories.- Hide quoted text -- Show quoted text -
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Keep getting "can't open /usr/local/lib/english.hash" for ispell
2006-10-26 15:26 ` p98710
@ 2006-10-27 8:34 ` Eli Zaretskii
2006-10-27 14:34 ` p98710
1 sibling, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2006-10-27 8:34 UTC (permalink / raw)
> From: p98710@gdc4s.com
> Date: 26 Oct 2006 08:26:30 -0700
>
> I tried the suggestion below using the ispell-change-dictionary
>
> M-x ispell-change-dictionary
> C:\usr\local\lib\english.hash -----> [no match}
>
> I can see the hash file and open the hash with emacs at
> C:\usr\local\lib
>
> any other suggestions?
How about this one, does it work?
M-: (ispell-change-dictionary "C:/usr/local/lib/english.hash" t) RET
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Keep getting "can't open /usr/local/lib/english.hash" for ispell
2006-10-26 15:26 ` p98710
2006-10-27 8:34 ` Eli Zaretskii
@ 2006-10-27 14:34 ` p98710
2006-10-27 22:15 ` Kevin Rodgers
1 sibling, 1 reply; 7+ messages in thread
From: p98710 @ 2006-10-27 14:34 UTC (permalink / raw)
Sorry I get the same results.
EVAL output
=====================================================
Debugger entered--Lisp error: (error "Undefined dictionary:
C:/usr/local/lib/english.hash")
signal(error ("Undefined dictionary: C:/usr/local/lib/english.hash"))
error("Undefined dictionary: %s" "C:/usr/local/lib/english.hash")
ispell-change-dictionary("C:/usr/local/lib/english.hash" t)
eval((ispell-change-dictionary "C:/usr/local/lib/english.hash" t))
eval-expression((ispell-change-dictionary
"C:/usr/local/lib/english.hash" t) nil)
* call-interactively(eval-expression)
Directory path (using emacs - open directory option)
=================================================
c:/usr/local/lib:
total 2497 free 15356344
drwxrwxrwx 2 P98710 root 0 Oct 24 15:20 .
drwxrwxrwx 2 P98710 root 0 Oct 24 14:02 ..
-rw-rw-rw- 1 P98710 root 844776 Aug 15 2001 american.hash
-rw-rw-rw- 1 P98710 root 845976 Aug 15 2001 british.hash
-rw-rw-rw- 1 P98710 root 20938 Aug 15 2001 english.aff
-rw-rw-rw- 1 P98710 root 844776 Aug 15 2001 english.hash
M-x ispell
=================================================
------> Starting new Ispell process ...
-----> cant open /usr/local/lib/english.hash
Do you know anything else I can try?
Thank you,
Kevin
On Oct 26, 8:26 am, p98...@gdc4s.com wrote:
> I tried the suggestion below using the ispell-change-dictionary
>
> M-x ispell-change-dictionary
> C:\usr\local\lib\english.hash -----> [no match}
>
> I can see the hash file and open the hash with emacs at
> C:\usr\local\lib
>
> any other suggestions?
>
> KC
>
> On Oct 26, 12:43 am, Eli Zaretskii <e...@gnu.org> wrote:
>
>
>
> > > Content-class: urn:content-classes:message
> > > Date: Wed, 25 Oct 2006 06:42:50 -0700
> > > From: "Abbott, Kevin-p98710" <Kevin.Abb...@gdc4s.com>
>
> > > - I have emacs 21.3 running on a windows machine (XP).=20
> > > - Also I have cygwin on the same machine.
> > > - I downloaded the latest ispell software and the program is located at
> > > C:\usr\local\bin. (emacs finds and runs the ispell program)
> > > - The ispell library (dictionary (english.hash) is located at
> > > C:\usr\local\lib ---I have checked the dictionary is at this location
>
> > > - When run ispell (M-x ispell or from the menu) the ispell program is
> > > fouind and starts running. However, I keep getting the error message
> > > "can't open /usr/local/lib/english.hash."
> > > - I don't see any variables to change the location and emacs can
> > > find the ispell program which is on the same branch.
>
> > > Any help/suggestions?Use the ispell-change-dictionary command to point Ispell to the actual
> > location of the english.hash file, including the drive letter and the
> > leading directories.- Hide quoted text -- Show quoted text -- Hide quoted text -- Show quoted text -
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Keep getting "can't open /usr/local/lib/english.hash" for ispell
2006-10-27 14:34 ` p98710
@ 2006-10-27 22:15 ` Kevin Rodgers
0 siblings, 0 replies; 7+ messages in thread
From: Kevin Rodgers @ 2006-10-27 22:15 UTC (permalink / raw)
[Please don't top-post.]
p98710@gdc4s.com wrote:
> Sorry I get the same results.
No, the original error you reported was "can't open
/usr/local/lib/english.hash."
> EVAL output
> =====================================================
> Debugger entered--Lisp error: (error "Undefined dictionary:
> C:/usr/local/lib/english.hash")
> signal(error ("Undefined dictionary: C:/usr/local/lib/english.hash"))
> error("Undefined dictionary: %s" "C:/usr/local/lib/english.hash")
> ispell-change-dictionary("C:/usr/local/lib/english.hash" t)
> eval((ispell-change-dictionary "C:/usr/local/lib/english.hash" t))
> eval-expression((ispell-change-dictionary
> "C:/usr/local/lib/english.hash" t) nil)
> * call-interactively(eval-expression)
The only time ispell-change-dictionary signals that error is when its
DICT argument is not a key in either ispell-local-dictionary-alist or
ispell-dictionary-alist. So what do these commands display:
C-h v ispell-local-dictionary-alist
C-h v ispell-dictionary-alist
--
Kevin
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <mailman.253.1161836690.27805.help-gnu-emacs@gnu.org>]
* Re: Keep getting "can't open /usr/local/lib/english.hash" for ispell
[not found] <mailman.253.1161836690.27805.help-gnu-emacs@gnu.org>
@ 2006-11-11 22:46 ` Olive
0 siblings, 0 replies; 7+ messages in thread
From: Olive @ 2006-11-11 22:46 UTC (permalink / raw)
Abbott, Kevin-p98710 wrote:
> Ispell problem - cannot find dictionary - although path and file exists
>
> - I have emacs 21.3 running on a windows machine (XP).
> - Also I have cygwin on the same machine.
> - I downloaded the latest ispell software and the program is located at
> C:\usr\local\bin. (emacs finds and runs the ispell program)
>
> - The ispell library (dictionary (english.hash) is located at
> C:\usr\local\lib ---I have checked the dictionary is at this location
>
>
> - When run ispell (M-x ispell or from the menu) the ispell program is
> fouind and starts running. However, I keep getting the error message_*
> "can't open /usr/local/lib/english.hash."*_
>
> - I don't see any variables to change the location and emacs can
> find the ispell program which is on the same branch.
>
> Any help/suggestions?
>
> KC
>
You have to set the ISPELLDICTDIR environment variable to point to the
directory where the dictionary are installed (you can do so by Control
Pannel->System->Advanced->Environment variables)
Olive
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-11-11 22:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-25 13:42 Keep getting "can't open /usr/local/lib/english.hash" for ispell Abbott, Kevin-p98710
2006-10-26 7:43 ` Eli Zaretskii
[not found] ` <mailman.259.1161848625.27805.help-gnu-emacs@gnu.org>
2006-10-26 15:26 ` p98710
2006-10-27 8:34 ` Eli Zaretskii
2006-10-27 14:34 ` p98710
2006-10-27 22:15 ` Kevin Rodgers
[not found] <mailman.253.1161836690.27805.help-gnu-emacs@gnu.org>
2006-11-11 22:46 ` Olive
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.