Paul Northug <[email protected]> writes:
Hi Paul,

> I had removed file-remote-p as it was not defined. I added (require
> 'tramp) at the top of the python-mode.el file and was able to use it
> as you suggested.

file-remote-p exists outside Tramp, at least since Emacs 22.

> I also used py-temp-directory of /tmp. I tried to use
> '~/.py-temp-directory' but ~ resolves to /Users/paul on my client (a
> Mac) and /home/paul on the host (Linux) so that didn't work.

Why not? If you create /Users/paul/.py-temp-directory and
/home/paul/.py-temp-directory manually in advance on the respective
host, it shall work.

Or you write a function, which checks the existence of the temp
directory, and which applies make-directory in case it is missing.

> This is with python-mode-5.1.
>
> Thanks,
> Paul.

Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to