From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: shell-command parameters Date: Thu, 08 Jan 2009 00:50:54 -0500 Organization: A noiseless patient Spider Message-ID: References: <67385669-7b4e-4bac-bc95-1f64689b6379@40g2000prx.googlegroups.com> <81eizhzxhq.fsf@myhost.sbcglobal.net> <818wppsa7o.fsf@myhost.sbcglobal.net> <72a44850-9df5-44f2-99d4-5aa90b48c15d@w1g2000prm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1231396887 31888 80.91.229.12 (8 Jan 2009 06:41:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Jan 2009 06:41:27 +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 Jan 08 07:42:38 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 1LKobG-0005bX-Bx for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Jan 2009 07:42:38 +0100 Original-Received: from localhost ([127.0.0.1]:45483 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKoa0-0007f5-IO for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Jan 2009 01:41:20 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news.motzarella.org!motzarella.org!news.motzarella.org!barmar Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-X-Trace: news.eternal-september.org U2FsdGVkX19BjsuuiiYMhrgWNiMHeBGk/k6EGMEBqu60QSpayRDEMr/WXLSSF2ds1cZnrRiQe+tySU9nYzlzCO12Q4DT8IkzKlAnVhgcBGPjwlpdXLexBU/4rZvPL1HXpGB0NTUxUlI= Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Thu, 8 Jan 2009 05:50:54 +0000 (UTC) X-Auth-Sender: U2FsdGVkX19kBQiFf7p/oIfOHHIkVsDVkgWdw+/PFfQ= Cancel-Lock: sha1:ps8LV4fyjbDJACgbEUDfI5dSx/U= User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Mail-Copies-To: nobody Original-Xref: news.stanford.edu gnu.emacs.help:165843 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:61178 Archived-At: In article , rustom wrote: > On Jan 6, 7:29 pm, Kevin Rodgers wrote: > > rustom wrote: > > > But I still wonder what shell is running in windows emacs? > > > > ,----[ C-h v shell-file-name RET ] > > | shell-file-name is a variable defined in `src/callproc.c'. > > | Its value is "/bin/bash" > > > Thanks. Thats the variable I was looking for. > It turns out to be /path/to/emacs/bin/cmdproxy.exe > Changing it to c:/cygwin/bin/bash.exe makes it work as expected (by a > unix user) > > I wonder does emacs go out of its way to make life difficult for a > windows user? MS does a good job of this without help from emacs :-) > I mean 'cmd' has one expected behavior; shell has another. Why make > the 'shell' variable point to a cmd imitation? I think the expectation is that shell-command should behave similarly to typing the command in the system's normal command line interface. Why would a Windows user expect Unix-like behavior? -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** *** PLEASE don't copy me on replies, I'll read them in the group ***