From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: Flyspell error Date: Sun, 2 Aug 2009 13:02:45 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <83tz0souue.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249247844 14166 80.91.229.12 (2 Aug 2009 21:17:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Aug 2009 21:17:24 +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 Aug 02 23:17:18 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 1MXiQc-000119-Hm for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Aug 2009 23:17:14 +0200 Original-Received: from localhost ([127.0.0.1]:52629 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXiQb-0004g7-Pu for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Aug 2009 17:17:13 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!p10g2000prm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 84 Original-NNTP-Posting-Host: 76.102.12.87 Original-X-Trace: posting.google.com 1249243366 23507 127.0.0.1 (2 Aug 2009 20:02:46 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 2 Aug 2009 20:02:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p10g2000prm.googlegroups.com; posting-host=76.102.12.87; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.37 Safari/530.5, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:171493 X-Mailman-Approved-At: Sun, 02 Aug 2009 17:14:15 -0400 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:66680 Archived-At: On Aug 2, 12:10 am, sam jesse 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 whe= n 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 =E2=88=91 http://xahlee.org/ =E2=98=84 > On Sun, Aug 2, 2009 at 7:58 AM, Xah Lee wrote: > > On Aug 1, 1:53 am, sam jesse 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("=EC=88=81 " [nil (ispell-check-version) ((error))] 3) > > > (defvar ispell-library-directory (byte-code "=EC=88=81 " [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/" > > ) > > ) > > ) > > )