I quite often log into a remote machine with Tramp and do:

 M-x eshell RET
 (rename-file "file" (format-time-string "file-%Y-%m-%d)) RET

...to rename a file on the remote host, which I think is just the
duck's nuts, BTW.

What I'd also like to do (also from eshell) is:

 (make-symbolic-link "file" "symlink")

But it tells me that "file" is not a Tramp filename.  If I do:

 (make-symbolic-link "/[sm/user@host]file" "/[sm/user@host]symlink")

...it creates a symlink with a literal filename of
"/[sm/user@host]symlink" that points to a non-existent file with the
literal name of "/[sm/user@host]file".

What I'd like the 'make-symbolic-link' to do is the same as if I had
run 'ln -s file symlink' on the remote host.

Is this even remotely (pardon the pun) possible?

-- 
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
|            XEmacs - It's not just an editor.             |
|                    It's a way of life.                   |
|------------------------------------<[EMAIL PROTECTED]>---|

_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.freesoftware.fsf.org/mailman/listinfo/tramp-devel

Reply via email to