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: Tue, 4 Aug 2009 12:02:55 -0700 (PDT) Organization: http://groups.google.com Message-ID: <74580316-83d3-4fca-910c-f8faa0935195@t11g2000prh.googlegroups.com> References: <66ade717-927b-4304-bf4b-104d0848cc5c@u16g2000pru.googlegroups.com> <844648ac-0b6c-44b0-bfee-ac5f147ce0f9@u38g2000pro.googlegroups.com> <2537dd5a-5644-416b-be14-38877d92bf5c@g1g2000pra.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249418484 13400 80.91.229.12 (4 Aug 2009 20:41:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2009 20:41: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 Tue Aug 04 22:41:17 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 1MYQoo-0006CE-TQ for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Aug 2009 22:41:11 +0200 Original-Received: from localhost ([127.0.0.1]:53335 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYQoo-0006qy-22 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Aug 2009 16:41:10 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!t11g2000prh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 76.102.12.87 Original-X-Trace: posting.google.com 1249412575 20316 127.0.0.1 (4 Aug 2009 19:02:55 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 4 Aug 2009 19:02:55 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t11g2000prh.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:171567 X-Mailman-Approved-At: Tue, 04 Aug 2009 16:37:27 -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:66747 Archived-At: On Aug 4, 11:10=A0am, Eli Zaretskii wrote: > > Date: Tue, 4 Aug 2009 14:44:33 +1000 > > From: sam jesse > > Cc: help-gnu-em...@gnu.org > > > (when (string-equal system-type "windows-nt") > > =A0(progn > > =A0 =A0(setenv "PATH" "/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin") > > Huh? why do you set PATH to a Unixy value when you are on a Windows > machine? my bad... am using cygwin. > You should instead set PATH to the same value you set exec-path (only > not as a Lisp list): so the setenv PATH is equivalent to just setq exec-path? this is great to know. Xah > > (setq exec-path > > '( > > "C:/Windows/system32/" > > "C:/Windows/" > > "C:/Windows/System32/Wbem/" > > "C:/Windows/system32/WindowsPowerShell/v1.0/" > > "C:/Program Files/Aspell/bin/" > > emacs shell echo %PATH% puts out > > > /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/ > > Of course! because that's what you set it to, above.