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. _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
