積丹尼 Dan Jacobson <jida...@jidanni.org> writes:
> OK but if the user, while in a TRAMP window, decides to send an email,
> this email window now is "infected" with the remote directory, and then
> doing M-x shell there will also be "infected".
> So maybe instead of looking at the default-directory, look at the buffer
No way. Checking for a remote default-directory is the very basic
mechanism for process-file, start-file-process and shell-command to
invoke Tramp. This cannot be changed.
But you can call "C-u M-x shell". Beside other questions, it asks you
also for default-directory. You could change it in the mini-buffer.
Best regards, Michael.
Tramp-devel mailing list