From: Michael Albinus <michael.albinus@gmx.de>
To: "Mathias Dahl" <mathias.dahl@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Reasons for Switching to Eshell
Date: Mon, 31 Mar 2008 10:13:15 +0200 [thread overview]
Message-ID: <nqk5jjfh0k.fsf@alcatel-lucent.de> (raw)
In-Reply-To: <7dbe73ed0803301529v3c36dfcep7ee12dedca8d1e1c@mail.gmail.com> (Mathias Dahl's message of "Mon, 31 Mar 2008 00:29:31 +0200")
"Mathias Dahl" <mathias.dahl@gmail.com> writes:
> Neat feature however. I don't understand how it can work, how can
> Tramp affect Eshell and who I am when running a certain program? Is
> there code in Eshell for this?
See eshell-external-command (in esh-ext.el). Eshell checks for a file
name handler of shell-command, depending on default-directory. If it
is found, that file name handler is called - tramp-handle-shell-command
in this case.
Your identity is always the one of default-directory. Btw, it works
also when you jump to a real remote host like "/ssh:user@host:".
The commands id and hostname might help you when you are lost. And
there is also the prompt, which shows default-directory by default.
Best regards, Michael.
next prev parent reply other threads:[~2008-03-31 8:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.9571.1206798351.18990.help-gnu-emacs@gnu.org>
2008-03-30 1:25 ` Reasons for Switching to Eshell Will Parsons
2008-03-30 7:41 ` Tim X
2008-03-30 8:54 ` Richard G Riley
2008-03-30 23:13 ` William Xu
2008-03-30 12:15 ` Mathias Dahl
2008-03-30 13:00 ` Michael Albinus
[not found] ` <mailman.9637.1206881927.18990.help-gnu-emacs@gnu.org>
2008-03-30 19:43 ` Mathias Dahl
2008-03-30 20:24 ` Thierry Volpiatto
2008-03-30 22:29 ` Mathias Dahl
2008-03-31 8:13 ` Michael Albinus [this message]
2008-03-31 13:30 ` Christian Herenz
2008-03-31 14:56 ` Michael Albinus
2008-03-30 12:51 ` poppyer
2008-03-31 7:34 ` Tim X
2008-03-30 9:40 Pavol Murin
-- strict thread matches above, loose matches on Subject: below --
2008-03-29 13:45 Lorenzo Isella
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nqk5jjfh0k.fsf@alcatel-lucent.de \
--to=michael.albinus@gmx.de \
--cc=help-gnu-emacs@gnu.org \
--cc=mathias.dahl@gmail.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).