all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Ethan Brown <ethandbrown@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Tramp: how to set path to remote shell?
Date: Mon, 14 Mar 2011 10:59:15 +0100	[thread overview]
Message-ID: <878vwiqaz0.fsf@gmx.de> (raw)
In-Reply-To: <AANLkTik3GDYaRFDRBKPyojLN34SzcVeuPa=xXNxRg5No@mail.gmail.com> (Ethan Brown's message of "Sun, 13 Mar 2011 13:29:17 -0700")

Ethan Brown <ethandbrown@gmail.com> writes:

> Hi Michael

Hi Ethan,

> Thanks so much for your quick response.  You are correct that I'm
> running "M-x shell".  I suppose I'll need to write a bit of code to
> toggle the shell path so I can reset it to the local path when I'm
> running "M-x shell" locally instead of remotely.  Too bad there isn't
> something to set that works only in the tramp context.

Tramp cannot do anything in this context; it is just a set of basic
functions which are called when you're on a remote host. It does not
know the context.

I have applied a patch to Emacs' trunk (aka Emacs 24). When "M-x shell"
is called interactively, and you're on a remote host, you will be asked
for the shell path to be used.

> --Ethan

Best regards, Michael.



  reply	other threads:[~2011-03-14  9:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-12 20:37 Tramp: how to set path to remote shell? Ethan
2011-03-13  8:52 ` Michael Albinus
2011-03-13 20:29   ` Ethan Brown
2011-03-14  9:59     ` Michael Albinus [this message]
2011-03-14 14:24       ` Ethan Brown

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=878vwiqaz0.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=ethandbrown@gmail.com \
    --cc=help-gnu-emacs@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.