[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Relation between the value of shell-file-name and explicit-shell-fil
Re: Relation between the value of shell-file-name and explicit-shell-file-name
Thu, 14 Dec 2006 02:44:58 +0100
Thunderbird 18.104.22.168 (Windows/20061025)
Stuart D. Herring wrote:
What is the relation between the values of these two variables? Could
the doc strings please mention something about it? (Does
explicit-shell-file-name override shell-file-name for explicitly
requested shells? Are those the shells started with M-x shell? )
`explicit-shell-file-name' is only ever used by M-x shell. It does
(getenv "ESHELL") shell-file-name)
which obviously prefers $ESHELL to `shell-file-name' and
`explicit-shell-file-name' to $ESHELL. Note that it was different in
Here `shell-file-name' is absent. The idea is that e-s-f-n is the
"personal" shell and s-f-n is the "utility" shell used by such things as
M-! and (unless you customize `ediff-shell') M-x ediff.
What do you want added to e-s-f-n's doc string to clarify this?
Thanks Davis. I think the best would be to tell that it is only used by
the function shell. And BTW the doc string for shell is incorrect
regarding what shell file name to use.