emacs-devel
[Top][All Lists]
Advanced

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

Re: SHELL in shell.el


From: Jason Rumney
Subject: Re: SHELL in shell.el
Date: 03 Dec 2001 19:21:45 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

"Eli Zaretskii" <address@hidden> writes:

> > From: "Stefan Monnier" <monnier+gnu/address@hidden>
> > Date: Sun, 02 Dec 2001 14:20:31 -0500
> > 
> > > The difference between the old and the new code is that if someone
> > > modified the value of $SHELL inside Emacs, you will get the same
> > > complaints as with shell-file-name before the change.
> > > 
> > > I don't know if this will cause any problems in practice.
> > 
> > Good point.  So maybe I should just revert it, or does anybody
> > know whether it's more common to set shell-file-name than to
> > (setenv "SHELL" foo) ?
> 
> I guess it's something for Jason to comment on: I think Windows users
> are those who mostly play with shell-file-name and $SHELL.

My own preference would be to set SHELL before starting Emacs, or to
set shell-file-name. But I don't know how common it is to use
(setenv "SHELL" foo) instead. Personally I find it surprising that
that works. Emacs normally only checks environment variables at
startup, or uses them to initialize elisp variables.


-- 
Jason Rumney




reply via email to

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