help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flyspell error


From: Xah Lee
Subject: Re: Flyspell error
Date: Sun, 2 Aug 2009 13:02:45 -0700 (PDT)
User-agent: G2/1.0

On Aug 2, 12:10 am, sam jesse <rev...@gmail.com> wrote:
> I installed Aspell and not Ispell.
> I now have Start > Programs > Aspell ...
> can I start this application on its own to see if it is working fine?

type Win+r, then launch cmd.exe.
cd to your aspell dir, then type aspell. It should run like that.

> it
> does not seam to provide a short cut for running the application.
> I seam to missing the bigger picture; why the error trace says ispell when I
> have aspell installed, I have ispell.el and ispell.elc in
> C:\Documents and Settings\emp1\My Documents\emacs-22.3\lisp\textmodes

you need to tell emacs that your spelling program is aspell not
ispell.

Richard Riley gave you this:

> I didnt see the whole thread, but does he have:
> (setq-default ispell-program-name "aspell")

however, i cant' find the var ispell-program-name in my emacs. Don't
want to spend time on this but there a var somewhere you need to set
about that. Best to read the emacs's doc on the spelling section for
good detail ... you know how to use emacs's info doc?

seems to me you are new to emacs?

if so, i'd suggest you download emacsW32 to begin with because that
distribution made things much easier for window users.

  Xah
∑ http://xahlee.org/

☄


> On Sun, Aug 2, 2009 at 7:58 AM, Xah Lee <xah...@gmail.com> wrote:
> > On Aug 1, 1:53 am, sam jesse <rev...@gmail.com> wrote:
> > > do I need to install both? I already installed aspell and the trace I am
> > > getting is:
>
> > > Debugger entered--Lisp error: (file-error "Searching for program" "no
> > such
> > > file or directory" "ispell")
> > >   call-process("ispell" nil t nil "-vv")
> > >   apply(call-process ("ispell" nil t nil "-vv"))
> > >   ispell-call-process("ispell" nil t nil "-vv")
> > >   ispell-check-version()
> > >   byte-code("숁 " [nil (ispell-check-version) ((error))] 3)
> > >   (defvar ispell-library-directory (byte-code "숁 " [nil ... ...] 3)
> > > ("c:/Documents and Settings/emp1/My
> > > Documents/emacs-22.3/lisp/textmodes/ispell.elc" . 25279))
>
> > > also I have in my .emacs
> > > (setq flyspell-mode t)
> > > (setq debug-on-error t)
> > > (setq debug-on-signal t)
>
> > make sure ispell is in your windows path.
>
> > e.g. here's what i have in my init file:
>
> > (when (string-equal system-type "windows-nt")
> >  (progn
> >    (setenv "PATH" "/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/
> > cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/
> > System32/Wbem")
> > (setq exec-path
> > '(
> > "C:/Program Files (x86)/Emacs/emacs/bin/"
> > "C:/Windows/system32/"
> > "C:/Windows/"
> > "C:/Windows/System32/Wbem/"
> > "C:/Windows/system32/WindowsPowerShell/v1.0/"
> > "C:/cygwin/bin/"
> > )
> >  )
> >    )
> >  )


reply via email to

[Prev in Thread] Current Thread [Next in Thread]