Rodney Sparapani <[EMAIL PROTECTED]> writes:

> However, occasionally when I'm trying to open a directory remotely
> in a dired buffer with tramp, itimer will fail with a message.
> Something like:  itimer:  "<itimer -1>" (nocatch nil).

Please try this patch.  It disables use of itimer-time-difference,
causing tramp-time-diff to fall back to its own implementation in
your case.

Maybe other XEmacs users could also test this change, if it proves
useful then we might enable it generally.

--- tramp.el.~2.322.~   Thu Jul  3 13:51:57 2003
+++ tramp.el    Tue Jul 15 08:09:43 2003
@@ -6214,11 +6214,11 @@
              (fboundp 'time-to-seconds))
          (funcall (symbol-function 'time-to-seconds)
                  (funcall (symbol-function 'subtract-time) t1 t2)))
-        ((fboundp 'itimer-time-difference)
-         (floor (funcall
-                (symbol-function 'itimer-time-difference)
-                (if (< (length t1) 3) (append t1 '(0)) t1)
-                (if (< (length t2) 3) (append t2 '(0)) t2))))
+;;         ((fboundp 'itimer-time-difference)
+;;          (floor (funcall
+;;              (symbol-function 'itimer-time-difference)
+;;              (if (< (length t1) 3) (append t1 '(0)) t1)
+;;              (if (< (length t2) 3) (append t2 '(0)) t2))))
         (t
          ;; snarfed from Emacs 21 time-date.el; combining
         ;; time-to-seconds and subtract-time

-- 
~/.signature


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

Reply via email to