積丹尼 Dan Jacobson <[email protected]> writes: Hi Dan,
> 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 > name. 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 [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
