From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: setup spell checking in windows emacs with emacsW32 Date: Sat, 30 May 2009 23:16:56 -0500 Message-ID: References: <437c6633-147e-4e12-91de-85767bf72295@k2g2000yql.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1243744868 21676 80.91.229.12 (31 May 2009 04:41:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 May 2009 04:41:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 31 06:41:06 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MAcr0-0000Gx-V0 for geh-help-gnu-emacs@m.gmane.org; Sun, 31 May 2009 06:41:03 +0200 Original-Received: from localhost ([127.0.0.1]:36521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MAcr0-0001RK-6O for geh-help-gnu-emacs@m.gmane.org; Sun, 31 May 2009 00:41:02 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!novia!border2.nntp.dca.giganews.com!nntp.giganews.com!backlog2.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Sat, 30 May 2009 23:16:35 -0500 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) Original-Newsgroups: gnu.emacs.help,comp.emacs In-Reply-To: <437c6633-147e-4e12-91de-85767bf72295@k2g2000yql.googlegroups.com> Original-Lines: 44 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.133.11 Original-X-Trace: sv3-hu9KtBYeru2Wd0qAEr8GsKt3gaMFqSEIKoPkvrIYwYfIOSgCV8/o7Ql7+bQO5L25L3yR4QIoJSQ0O8q!6vdjPcHhLz5gZgdJK7HWj1SwNJ7Fmre+709k8XKxuKjx/UecYBWoiLopcUWxKOBr4AbEwLKC9Nph!WNY2dEwJ1V/VUK/iAjkOLMtSzM9ltA== Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Original-Xref: news.stanford.edu gnu.emacs.help:169611 comp.emacs:98191 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64839 Archived-At: Xah Lee wrote: > just bought a PC and installed Lennart's EmacsW32, which is really > fantastic. > > how to set the spell checking up though? i.e. ispell-word or flyspell- > buffer. > > when i run ispell-word, it gives: > “apply: Searching for program: no such file or directory, ispell”. > > i read most emacsW32 doc and emacswiki, but didn't seems to find the > answer. > > Do i need to set a path to cygwin ispell or something? (i have aspell > installed in cygwin, but not ispell yet) > > Thanks. > > Xah > ∑ http://xahlee.org/ > 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. If you learn anything, let me know how you use ispell-aspell for other languages than English. The relevant line from ispell.el is: (defcustom ispell-program-name (or (locate-file "aspell" exec-path exec-suffixes 'file-executable-p) "ispell") "Program invoked by \\[ispell-word] and \\[ispell-region] commands." :type 'string :group 'ispell) but most of the paths in this file refer to glunix directory structure so I don't know how it applies to w32. Maybe if you had Lennart's Emacs running and also had a cygwin bash shell process, Emacs might find your aspell program. Ed