all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ethan Brown <ethandbrown@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Tramp: how to set path to remote shell?
Date: Mon, 14 Mar 2011 07:24:37 -0700	[thread overview]
Message-ID: <AANLkTi=Fvufgx3_cLmSVz8z+RCuJ0KNuxHZQobGsFB5u@mail.gmail.com> (raw)
In-Reply-To: <878vwiqaz0.fsf@gmx.de>

On Mon, Mar 14, 2011 at 2:59 AM, Michael Albinus <michael.albinus@gmx.de> wrote:
> 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.
>

Thanks Michael.  I should also mention to you how much I appreciate
having the tramp functionality.  Just one more feature that makes
Emacs  a joy to use.

All my best,

--Ethan



      reply	other threads:[~2011-03-14 14:24 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
2011-03-14 14:24       ` Ethan Brown [this message]

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='AANLkTi=Fvufgx3_cLmSVz8z+RCuJ0KNuxHZQobGsFB5u@mail.gmail.com' \
    --to=ethandbrown@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael.albinus@gmx.de \
    /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.