unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Configuring ISPELL for EMACS
@ 2004-05-27  7:15 BlakJak
  2004-05-27 10:20 ` It's me FKtPp ;)
  0 siblings, 1 reply; 4+ messages in thread
From: BlakJak @ 2004-05-27  7:15 UTC (permalink / raw)


Hi!

I have just installed ispell for my emacs. I have ispell.elc in my
load-path
and I have installed ispell into c:/ispell and I have also added
c:/ispell/bin
to my path. I am using Windows 2000.

The problem occurs when I try to:

    M-x ispell.

I get the following line:

"Continuing spelling check using default dictionary..."

At this point it just hangs and I have to C-g to break it.

It seems to be a dictionary problem but I have built my 'english.has'
file
and put it into C:/ispell/lib. (When I built this I got a lot of
numbers on
the screen but it did not fail. Is this correct?)

Is there any way to configure ispell to run from another directory
such
as C:/progra~1/ispell ?


Regards.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Configuring ISPELL for EMACS
  2004-05-27  7:15 Configuring ISPELL for EMACS BlakJak
@ 2004-05-27 10:20 ` It's me FKtPp ;)
  2004-05-27 11:23   ` BlakJak
  0 siblings, 1 reply; 4+ messages in thread
From: It's me FKtPp ;) @ 2004-05-27 10:20 UTC (permalink / raw)


"BlakJak" <bj_4paws@yahoo.com> writes:

> Hi!
> 
> I have just installed ispell for my emacs. I have ispell.elc in my
> load-path
> and I have installed ispell into c:/ispell and I have also added
> c:/ispell/bin
> to my path. I am using Windows 2000.

set another environment variable

DICTIONARY=C:\ispell\lib\english.hash

and in your .emacs, put in 

;; Text mode hook for ispell
(add-hook 'text-mode-hook 'flyspell-mode)

;; I set this because, when flyspell changes dictionary, it always
;; complains dictionary can't be found. seems like someting break the
;; ispell command. -_- and the EOL is very strange in windows(two ^M).

(setq flyspell-default-dictionary nil)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Configuring ISPELL for EMACS
  2004-05-27 10:20 ` It's me FKtPp ;)
@ 2004-05-27 11:23   ` BlakJak
  2004-05-27 13:47     ` It's me FKtPp ;)
  0 siblings, 1 reply; 4+ messages in thread
From: BlakJak @ 2004-05-27 11:23 UTC (permalink / raw)



"It's me FKtPp ;)" <m_pupil@163.com> wrote in message
news:ullje5fyg.fsf@163.com...
> "BlakJak" <bj_4paws@yahoo.com> writes:
>
>
> set another environment variable
>
> DICTIONARY=C:\ispell\lib\english.hash
>

Did this but had to set it as C:\ispell\lib\english.has
(note the 'h' missing from the end)

> and in your .emacs, put in
>
> ;; Text mode hook for ispell
> (add-hook 'text-mode-hook 'flyspell-mode)

This automatically setup flyspell-mode when I opened a .TXT file.
This is what it was supposed to do. However, when I typed a
word then press 'space' EMACS hung again and I was unable to
break it with C-g.

>
> ;; I set this because, when flyspell changes dictionary, it always
> ;; complains dictionary can't be found. seems like someting break
the
> ;; ispell command. -_- and the EOL is very strange in windows(two
^M).
>
> (setq flyspell-default-dictionary nil)
>

Could I be having a problem with my dictionary. When I created it with
'buildhas' I got a lot of numbers on the screen. It looked a bit
strange.
My 'english.has' file is ~4.7MB. Does that sound right?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Configuring ISPELL for EMACS
  2004-05-27 11:23   ` BlakJak
@ 2004-05-27 13:47     ` It's me FKtPp ;)
  0 siblings, 0 replies; 4+ messages in thread
From: It's me FKtPp ;) @ 2004-05-27 13:47 UTC (permalink / raw)


"BlakJak" <bj_4paws@yahoo.com> writes:


[...]

> Could I be having a problem with my dictionary. When I created it with
> 'buildhas' I got a lot of numbers on the screen. It looked a bit
> strange.
> My 'english.has' file is ~4.7MB. Does that sound right?

It maybe too big. My english.hash and american.hash both under 1MB.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-27 13:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-27  7:15 Configuring ISPELL for EMACS BlakJak
2004-05-27 10:20 ` It's me FKtPp ;)
2004-05-27 11:23   ` BlakJak
2004-05-27 13:47     ` It's me FKtPp ;)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).