[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp with global-auto-revert-mode.
From: |
David Kastrup |
Subject: |
Re: Tramp with global-auto-revert-mode. |
Date: |
14 May 2004 14:06:32 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Kai Grossjohann <address@hidden> writes:
> Stefan Monnier <address@hidden> writes:
>
> >> I do not see why global-auto-revert-mode should increase the
> >> probability of Tramp being recalled recursively. It certainly
> >
> > Because it runs Tramp from a timer. Timers can be run whenever Emacs is
> > waiting, i.e. it can happen when Tramp is waiting for the other end's
> > prompt to come up.
>
> Eeek.
>
> There is nothing in Tramp that anticipates such reentrant calls.
>
> What should Tramp do with such calls?
Work properly if they are on a different connection. Queue them if
they are on the same connection. You don't need an explicit queue for
that, you can just sleep with accept-process-output and get woken up
at a time when there might nothing else be pending anymore. I don't
think a timer gets rerun while it is sleeping on that.
When the code continues, you probably should check whether something
else that was scheduled beforehand has already done the job.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: Tramp with global-auto-revert-mode., (continued)
- Re: Tramp with global-auto-revert-mode., Luc Teirlinck, 2004/05/15
- Re: Tramp with global-auto-revert-mode., Eli Zaretskii, 2004/05/15
- Re: Tramp with global-auto-revert-mode., Luc Teirlinck, 2004/05/14
- Re: Tramp with global-auto-revert-mode., Luc Teirlinck, 2004/05/15
- Re: Tramp with global-auto-revert-mode., Richard Stallman, 2004/05/14
- Re: Tramp with global-auto-revert-mode., Luc Teirlinck, 2004/05/13
- Re: Tramp with global-auto-revert-mode., Luc Teirlinck, 2004/05/14
- Re: Tramp with global-auto-revert-mode., Kai Grossjohann, 2004/05/14
- Re: Tramp with global-auto-revert-mode.,
David Kastrup <=
- Re: Tramp with global-auto-revert-mode., Stefan Monnier, 2004/05/14
- Re: Tramp with global-auto-revert-mode., David Kastrup, 2004/05/14
- Re: Tramp with global-auto-revert-mode., Kim F. Storm, 2004/05/14
- Re: Tramp with global-auto-revert-mode., David Kastrup, 2004/05/14
- Re: Tramp with global-auto-revert-mode., Kim F. Storm, 2004/05/14
- Re: Tramp with global-auto-revert-mode., David Kastrup, 2004/05/14
- Re: Tramp with global-auto-revert-mode., Kim F. Storm, 2004/05/14
- Re: Tramp with global-auto-revert-mode., Stefan Monnier, 2004/05/14
- Re: Tramp with global-auto-revert-mode., Kim F. Storm, 2004/05/14
- Re: Tramp with global-auto-revert-mode., Stefan Monnier, 2004/05/14