emacs-devel
[Top][All Lists]
Advanced

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

Re: Tramp with global-auto-revert-mode.


From: Kim F. Storm
Subject: Re: Tramp with global-auto-revert-mode.
Date: 15 May 2004 01:00:05 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Stefan Monnier <address@hidden> writes:

> > I believe that the freezes are not an Emacs or Tramp bug, but the
> > inevitable result of a slow connection.  Hence we need a user option
> > to deal with them.
> 
> If C-g does not get you out of the hang, it's a bug.
> As I said, the with-local-quit should be put in Tramp.
> You might be right that auto-reverting remote files needs to be turned off
> or customizable, but the problems you're experiencing could also be
> triggered by other packages than auto-revert, so we should fix them.
> 
> Among all the problems, one of them is actually in autorevert.el:
> the auto-revert timer should not be re-run if it hasn't finished running
> yet.  One way to do that is to not use a repeating timer, but instead to
> reset the timer manually at the end of auto-revert-buffers.  Another is to
> bind auto-revert-running to t in auto-revert-buffers and check it before
> running, as in the patch below.  A third option is to do this kind of
> re-entrance-check directly in the C code.

The C code actually does this, but the lisp handler breaks this.
I will install a patch shortly.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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