all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stuart D. Herring" <herring@lanl.gov>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Relation between the value of shell-file-name and  explicit-shell-file-name
Date: Wed, 13 Dec 2006 17:33:15 -0800 (PST)	[thread overview]
Message-ID: <47727.128.165.123.18.1166059995.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <458084E3.6000707@student.lu.se>

> 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?

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.

  reply	other threads:[~2006-12-14  1:33 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 [this message]
2006-12-14  1:44   ` Lennart Borgman
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=47727.128.165.123.18.1166059995.squirrel@webmail.lanl.gov \
    --to=herring@lanl.gov \
    --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.