[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode.
From: |
Kim F. Storm |
Subject: |
Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode. |
Date: |
29 May 2004 01:44:46 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Kai Grossjohann <address@hidden> writes:
> address@hidden (Kim F. Storm) writes:
>
> > I think we have a pretty good understanding of what the problems are
> > in this case: GC problems have been fixed, so it remains to fix that
> > tramp is not reentrant.
>
> I would like to discuss the solution with Michael, but I can think of
> the following solutions:
>
> (a) Make Tramp barf on reentrant calls.
That would probably break some code which does eg. file-exists-p
in a timer hook or some such. So it is not an option.
>
> (b) Make Tramp wait on reentrant calls (by implementing a queue or
> somesuch).
I prefer this (because there are problems with the alternatives).
>
> (c) Implement concurrency for reentrant calls (by opening more than
> one connection to the remote end).
How do you solve the problem with having to enter passwords or other
stuff when invoked from a hook ... and would you start a new thread
for every reentant call, that sounds like a lot of processes?
Also, tramp is slow at opening a connection (but maybe it can skip
some initial checks when it already has another connection to the
same host?).
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode., Kim F. Storm, 2004/05/25
- Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode., Kai Grossjohann, 2004/05/25
- Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode., Michael Albinus, 2004/05/26
- Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode., Luc Teirlinck, 2004/05/26
- Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode., Kim F. Storm, 2004/05/27
- Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode., Stefan Monnier, 2004/05/28
- Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode., Kim F. Storm, 2004/05/28
- Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode., Kai Grossjohann, 2004/05/28
- Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode.,
Kim F. Storm <=
- Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode., Stefan Monnier, 2004/05/29
- Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode., Kai Grossjohann, 2004/05/29
- Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode., Kim F. Storm, 2004/05/29
- Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode., Richard Stallman, 2004/05/30
- Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode., Richard Stallman, 2004/05/28