"emacs user" <[EMAIL PROTECTED]> writes:

> ok, done.  the only output is:
> 0
> printed in the echo area after I give the above command.  the status
> of the file after this command is changed to:
>
>   -rw-------   1 me None       30 Mar  1 00:00 .dvipsrc

Strange. Exactly as it should do.

Could you, please, apply the appended patch to tramp.el (recent CVS
version)? It adds some traces.

Then you should rerun your test copying the file with Tramp. When it
fails again, I'ld like to see the *Messages* buffer.

Best regards, Michael.

*** /tmp/tramp.el.orig
--- /tmp/tramp.el
***************
*** 4917,4926 ****
  	       buf))))
        ;; It's a local file
        (with-temp-buffer
! 	(unless (zerop (call-process
! 			"touch" nil (current-buffer) nil "-t" touch-time file))
! 	      (pop-to-buffer (current-buffer))
! 	      (signal 'file-error "touch failed"))))))
  
  (defun tramp-buffer-name (method user host)
    "A name for the connection buffer for USER at HOST using METHOD."
--- 4917,4931 ----
  	       buf))))
        ;; It's a local file
        (with-temp-buffer
! 	(unless (zerop
! 		 (setq xxx
! 		       (call-process
! 			"touch" nil (current-buffer) nil "-t" touch-time file)))
! 	  (setq message-log-max t)
! 	  (message "Tramp: command `touch -t %s %s´ rc %s" touch-time file xxx)
! 	  (message "Tramp: buffer `%s´" (buffer-substring (point-min) (point-max)))
! 	  (pop-to-buffer "*Messages*")
! 	  (signal 'file-error "touch failed"))))))
  
  (defun tramp-buffer-name (method user host)
    "A name for the connection buffer for USER at HOST using METHOD."
_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to