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
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to