[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp: how to set path to remote shell?

From: Ethan Brown
Subject: Re: Tramp: how to set path to remote shell?
Date: Mon, 14 Mar 2011 07:24:37 -0700

On Mon, Mar 14, 2011 at 2:59 AM, Michael Albinus <address@hidden> wrote:
> Ethan Brown <address@hidden> 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,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]