From: Jason Rumney <jasonrumney@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: setup spell checking in windows emacs with emacsW32
Date: Sun, 31 May 2009 17:09:38 -0700 (PDT) [thread overview]
Message-ID: <88ce99d4-e907-4224-8267-23c6dd2f5809@a36g2000yqc.googlegroups.com> (raw)
In-Reply-To: u6CdnZa2VqnNLr_XnZ2dnUVZ_vqdnZ2d@sysmatrix.net
On Jun 1, 12:42 am, "B. T. Raven" <ni...@nihilo.net> wrote:
> Jason Rumney wrote:
> > On May 31, 12:16 pm, "B. T. Raven" <ni...@nihilo.net> wrote:
>
> >> Lennart's Emacs is patched native w32 build I think. You might need
> >> aspell from here:
>
> >>http://www.winkde.org/pub/kde/ports/win32/repository/aspell/
>
> >> I don't know whether you also need w32 kde or not or even what that
> >> might mean.
>
> > You don't need KDE to use aspell. If you want to be sure that there
> > are no KDE dependencies, you can also download aspell fromhttp://aspell.net/win32/
>
> Thanks, Jason. I did download that one first (1.19 meg
> Aspell-0-50-3-3-Setup.exe) but then found the other 0.60 version (aspell
> binary only). Can I install the 0.50 and then copy the newer file(s) on
> top of them? All my GnuWin32 tools are in a flat directory C:\gnu and
> this is included in my PATH, but after winnt/system32. Name collisions
> like sort, ftp, etc. will try to run the MS versions first.
>
>
>
> >> but most of the paths in this file refer to glunix directory structure
>
> > If aspell.exe is in your PATH, Emacs will find it. But on Windows, it
> > is conventional for installers to not put executables in the PATH, or
> > even to set PATH to include the directory they install to.
> > Unfortunately many installers for ports of GNU tools also follow this
> > convention, even though GNU tools are designed to collaborate
> > together, rather than be used as a monolithic application, so it may
> > be necessary to customize ispell-program to the full path of
> > aspell.exe.
>
> So is this on the right track then:
>
> (defcustom ispell-program-name
ispell-program-name is already defined in ispell.el. You probably want
to use setq here.
> (or "C:/gnu/aspell"
> "ispell")
The above is the same as "C:/gnu/aspell".
> (or (locate-file "c:/gnu/aspell" exec-path exec-suffixes 'file-executable-p)
> "ispell")
Since you're supplying the full path, you don't really need to locate-
file unless you are unsure which of exec-suffixes applies.
(file-executable-p "c:/gnu/aspell.exe")
Should be enough if you find the behaviour of falling back on "ispell"
useful when aspell does not exist in that location.
next prev parent reply other threads:[~2009-06-01 0:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-30 14:48 setup spell checking in windows emacs with emacsW32 Xah Lee
2009-05-31 4:16 ` B. T. Raven
2009-05-31 7:11 ` Jason Rumney
2009-05-31 16:42 ` B. T. Raven
2009-06-01 0:09 ` Jason Rumney [this message]
2009-06-01 4:51 ` Xah Lee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=88ce99d4-e907-4224-8267-23c6dd2f5809@a36g2000yqc.googlegroups.com \
--to=jasonrumney@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.