problem with for tilde expansion (tramp 2.1.9)

2007-05-22 Thread Gilles Pion
To make tilde expansion work it has been necessary for me to modify the tramp-handle-expand-file-name function like this Replaced: nbsp;(setq uname nbsp; nbsp; (with-connection-property v home-directory nbsp; nbsp; nbsp; nbsp; (tramp-send-command v (format cd %s; pwd uname)) nbsp; nbsp; nbsp;

Re: problem with for tilde expansion (tramp 2.1.9)

2007-05-22 Thread Michael Albinus
Gilles Pion [EMAIL PROTECTED] writes: Without making this change ~username always uses the home directory of the remote user of the ssh connection. Is this correct? Oops, you're right. I've tried to optimize by caching the home directory path, but I did overlook this case. Stupid. I'll

Re: problem with for tilde expansion (tramp 2.1.9)

2007-05-22 Thread Michael Albinus
Gilles Pion [EMAIL PROTECTED] writes: Hi, To make tilde expansion work it has been necessary for me to modify the tramp-handle-expand-file-name function like this The following patch shall be sufficient, keeping the cache for optimization. Thanks again for the report, and best regards,