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: Sun, 31 May 2009 11:42:19 -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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243791689 16384 80.91.229.12 (31 May 2009 17:41:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 May 2009 17:41:29 +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 19:41:27 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 1MAp2E-00050a-SF for geh-help-gnu-emacs@m.gmane.org; Sun, 31 May 2009 19:41:27 +0200 Original-Received: from localhost ([127.0.0.1]:40921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MAp2E-0006OI-Am for geh-help-gnu-emacs@m.gmane.org; Sun, 31 May 2009 13:41:26 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!border1.nntp.dca.giganews.com!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: Sun, 31 May 2009 11:41:51 -0500 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) Original-Newsgroups: gnu.emacs.help,comp.emacs In-Reply-To: Original-Lines: 49 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.132.39 Original-X-Trace: sv3-U3OSqRQwmr3TauzKcSYEgEXsFkOPruK68cBeOeFV7aKYyf7Cr8cXJDdOWOOhIGLrzfnIS6evSlnpXA9!+aECResgoc4OiOI+TwkLYU4TySG2xz+671OweRGHyqm5m2FRJ+TDWWVtDseHY3gRZncRhk3VA+er!qcWzU1MmcYQQIv0IeZc1Cy4SrG1c7g== 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 X-Original-Bytes: 3410 Original-Xref: news.stanford.edu gnu.emacs.help:169617 comp.emacs:98193 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:64848 Archived-At: Jason Rumney wrote: > On May 31, 12:16 pm, "B. T. Raven" 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 from http://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 (or "C:/gnu/aspell" "ispell") ;; anyway (or "this" "that") returns "this" without error in scratch ;; but the function in context wouldn't work in general if aspell weren't there. ;; maybe this is a better guess: (or (locate-file "c:/gnu/aspell" exec-path exec-suffixes 'file-executable-p) "ispell") "Program invoked by \\[ispell-word] and \\[ispell-region] commands." :type 'string :group 'ispell)