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: setevn PATH vs exec-path [was Re: Flyspell error] Date: Wed, 5 Aug 2009 05:40:40 -0700 (PDT) Organization: http://groups.google.com Message-ID: <50df3107-0728-4060-b8f7-9edaae519290@a37g2000prf.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> <74580316-83d3-4fca-910c-f8faa0935195@t11g2000prh.googlegroups.com> <1e28e3b6-5be0-4d3e-a290-1d18d6812ed2@u16g2000pru.googlegroups.com> 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 1249591861 24917 80.91.229.12 (6 Aug 2009 20:51:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2009 20:51:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 06 22:50:54 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 1MZ9vJ-0001xJ-SQ for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Aug 2009 22:50:54 +0200 Original-Received: from localhost ([127.0.0.1]:40747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZ9vJ-0002Vs-9I for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Aug 2009 16:50:53 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!a37g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 51 Original-NNTP-Posting-Host: 76.102.12.87 Original-X-Trace: posting.google.com 1249476040 21719 127.0.0.1 (5 Aug 2009 12:40:40 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 5 Aug 2009 12:40:40 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a37g2000prf.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:171607 X-Mailman-Approved-At: Thu, 06 Aug 2009 16:47:43 -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:66874 Archived-At: Hi Len, thanks for the w32shell.el tip. we chatted this before... but i'll have to spend some time down the road to study this. it'd be nice to integrate PowerShell into it too. Hopefully i can look at it soon and maybe send you a patch. On Aug 4, 10:52 pm, Lennart Borgman wrote: > On Wed, Aug 5, 2009 at 12:06 AM,XahLee wrote: > > btw, on Windows emacsW23, it has cmd-shell. Is this particular to > > emacsW23 or is it in GNU Emacs's Windows branch? > > w32shell.el (where cmd-shell lives) contains wrappers for the "shell" > function that comes with Emacs itself. i believe you are saying that w32shell.el is NOT in GNU Emacs code base right? so, when people compile emacs 23 on Windows, they don't have cmd- shell, but just shell, which invokes Windows's cmd.exe right? what are the reasons not to have w32shell.el in GNU emacs? It seems to me that it is good to have separate shells. Cause for me, i use all cmd.exe, cygwin bash, and PowerShell on my Windows machine, and i'd prefer to be able to run them indivdually while in emacs, instead of one shell that has all these shell's paths togeter... at least the unix cygwin bash shell wouldn't mesh well with Windows's. > The purpose of it is to make it more easy to switch between uing cmd, > Cygwin, MSYS etc as the shell program in command shell. (The name is a > bit unfortunate. I did not know it was so hard to get additions like > this into Emacs so I choose something that could fit Emacs.) Thanks for the info. Today i just compiled emacs 23 on my old PPC Mac, and it went very smooth! I was fantastically happy. Especially so because my mac is a late 2005 machine running OSX 10.4, and all the other Mac ports of emacs all have abandoned it for about a year now. I haven't compiled a program for years... last time i did compile emacs is sometimes in 2002, lol. This week or so i'll install cygwin gcc or whatever Microsoft's compiler offerings (if free) and try to compile it on Windows. Xah =E2=88=91 http://xahlee.org/ =E2=98=84