tramp-devel
[Top][All Lists]
Advanced

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

Re: Tramp should only change M-x shell startup when used in tramp buffer


From: Michael Albinus
Subject: Re: Tramp should only change M-x shell startup when used in tramp buffers
Date: Thu, 02 Jul 2020 18:51:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

Hi Dan,

> I notice in emacs when tramp is running and we do M-x shell, we see the prompt
>
> Remote shell path: /adb::/sdcard/GTs/gpx//system/bin/sh
>
> That is great, but what if we just want an old fashioned local shell
> like we see with plain emacs?
>
> I propose if the user does M-x shell when the current directory of the
> buffer he is in is just a local directory, then tramp should be
> "hands off", and let him proceed the old fashioned way, with no such
> scary prompts.
>
> Currently for some reason when tramp starts it causes starting M-x shell
> universally to behave different, no matter what buffer it is started
> from.

I cannot confirm. Tramp is involved in the "M-x shell" business only if
the default-directory of the current buffer is remote.

Could you pls show a scenario where it behaves differently?

Best regards, Michael.



reply via email to

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