Pete Forman <[EMAIL PROTECTED]> writes:

> The behaviour is the same if I use g after (1) to refresh the
> directory listing.  It is also the same if I delete the Tramp buffer
> to break the connection.  Emacs/Tramp does not remake the connection
> until after (4).

Indeed. The appended patch (towards Tramp 2.1.13-pre) shall fix
it. Could you, please, test it?

Thanks for your report, and best regards, Michael.

*** /home/albinus/src/tramp/lisp/tramp.el.~1~	Wed Jan 23 21:47:20 2008
--- /home/albinus/src/tramp/lisp/tramp.el	Thu Jan 24 10:51:02 2008
***************
*** 3034,3039 ****
--- 3034,3044 ----
  	  ;; One of them must be a Tramp file.
  	  (error "Tramp implementation says this cannot happen")))
  
+       ;; In case of `rename', we must flush the cache of the source file.
+       (when (and t1 (eq op 'rename))
+ 	(with-parsed-tramp-file-name filename nil
+ 	  (tramp-flush-file-property v localname)))
+ 
        ;; When newname did exist, we have wrong cached values.
        (when t2
  	(with-parsed-tramp-file-name newname nil
_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to