help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell-command parameters


From: rustom
Subject: Re: shell-command parameters
Date: Tue, 6 Jan 2009 07:02:14 -0800 (PST)
User-agent: G2/1.0

On Jan 6, 7:29 pm, Kevin Rodgers <address@hidden> 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?

(Sorry to grumble)

Is it possible to remember the calls to these shell calls (made with
M-!) across emacs invocations -- the way bash remembers?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]