From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Relation between the value of shell-file-name and explicit-shell-file-name
Date: Thu, 14 Dec 2006 02:44:58 +0100 [thread overview]
Message-ID: <4580AC9A.3090608@student.lu.se> (raw)
In-Reply-To: <47727.128.165.123.18.1166059995.squirrel@webmail.lanl.gov>
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
>
> (or explicit-shell-file-name
> (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
> Emacs 21:
>
> (or explicit-shell-file-name
> (getenv "ESHELL")
> (getenv "SHELL")
> "/bin/sh")
>
> 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.
next prev parent reply other threads:[~2006-12-14 1:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-13 22:55 Relation between the value of shell-file-name and explicit-shell-file-name Lennart Borgman
2006-12-14 1:33 ` Stuart D. Herring
2006-12-14 1:44 ` Lennart Borgman [this message]
2006-12-14 17:47 ` Richard Stallman
2006-12-14 18:01 ` Lennart Borgman
2006-12-15 21:25 ` Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4580AC9A.3090608@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
--cc=emacs-devel@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.