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, Michael.
*** /home/albinus/src/tramp/lisp/tramp.el.~2.557.~ 2007-04-23 23:38:25.000000000 +0200 --- /home/albinus/src/tramp/lisp/tramp.el 2007-05-22 22:00:38.000000000 +0200 *************** *** 3361,3367 **** (string-match "\\`su\\(do\\)?\\'" method)) (setq uname (concat uname user))) (setq uname ! (with-connection-property v "home-directory" (tramp-send-command v (format "cd %s; pwd" uname)) (with-current-buffer (tramp-get-buffer v) (goto-char (point-min)) --- 3361,3367 ---- (string-match "\\`su\\(do\\)?\\'" method)) (setq uname (concat uname user))) (setq uname ! (with-connection-property v uname (tramp-send-command v (format "cd %s; pwd" uname)) (with-current-buffer (tramp-get-buffer v) (goto-char (point-min))
_______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
