From: Barry Margolin <barmar@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: shell-command parameters
Date: Thu, 08 Jan 2009 00:50:54 -0500 [thread overview]
Message-ID: <barmar-BE3A8D.00505408012009@mara100-84.onlink.net> (raw)
In-Reply-To: dd6000ea-5ab7-411c-966d-a715f68c94c9@d42g2000prb.googlegroups.com
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1252 bytes --]
In article
<dd6000ea-5ab7-411c-966d-a715f68c94c9@d42g2000prb.googlegroups.com>,
rustom <rustompmody@gmail.com> wrote:
> On Jan 6, 7:29 pm, Kevin Rodgers <kevin.d.rodg...@gmail.com> 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 ***
prev parent reply other threads:[~2009-01-08 5:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-05 11:11 shell-command parameters rustom
2009-01-05 13:35 ` Chetan
2009-01-05 14:07 ` Peter Dyballa
2009-01-05 20:15 ` Eli Zaretskii
[not found] ` <mailman.4046.1231186569.26697.help-gnu-emacs@gnu.org>
2009-01-05 21:40 ` Chetan
2009-01-06 4:05 ` Eli Zaretskii
[not found] ` <mailman.4079.1231214715.26697.help-gnu-emacs@gnu.org>
2009-01-06 7:33 ` rustom
2009-01-06 14:29 ` Kevin Rodgers
[not found] ` <mailman.4120.1231252170.26697.help-gnu-emacs@gnu.org>
2009-01-06 15:02 ` rustom
2009-01-06 15:45 ` Andreas Politz
2009-01-06 20:40 ` Eli Zaretskii
2009-01-08 5:50 ` Barry Margolin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=barmar-BE3A8D.00505408012009@mara100-84.onlink.net \
--to=barmar@alum.mit.edu \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).