tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with tramp-time-diff


From: Kai Großjohann
Subject: Re: problem with tramp-time-diff
Date: Tue, 15 Jul 2003 08:11:36 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Rodney Sparapani <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]