From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.devel Subject: Re: Tramp with global-auto-revert-mode. Date: Fri, 14 May 2004 22:29:53 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <86brkqkb0e.fsf@slowfox.dyndns.org> References: <200405122254.i4CMsUj29445@raven.dms.auburn.edu> <200405122326.i4CNQk929511@raven.dms.auburn.edu> <200405132324.i4DNOBs14811@raven.dms.auburn.edu> <200405140008.i4E08lb14858@raven.dms.auburn.edu> <871xln4xmc.fsf-monnier+emacs@gnu.org> <87oeorb5pq.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084570033 25942 80.91.224.253 (14 May 2004 21:27:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 May 2004 21:27:13 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 14 23:27:05 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOkCv-0006tl-00 for ; Fri, 14 May 2004 23:27:05 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOkCu-0000Fb-00 for ; Fri, 14 May 2004 23:27:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOjmX-00045f-RO for emacs-devel@quimby.gnus.org; Fri, 14 May 2004 16:59:49 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BOjlm-00040H-PG for emacs-devel@gnu.org; Fri, 14 May 2004 16:59:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BOjlA-0003oI-I3 for emacs-devel@gnu.org; Fri, 14 May 2004 16:58:55 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOjJc-0006fH-LD for emacs-devel@gnu.org; Fri, 14 May 2004 16:29:57 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BOjJb-00058t-00 for ; Fri, 14 May 2004 22:29:55 +0200 Original-Received: from pd9e1e7fe.dip.t-dialin.net ([217.225.231.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 May 2004 22:29:55 +0200 Original-Received: from kai.grossjohann by pd9e1e7fe.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 May 2004 22:29:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 28 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd9e1e7fe.dip.t-dialin.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (berkeley-unix) Cancel-Lock: sha1:H7wdMQbv+47DH/IObhHNs7LwWsw= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23428 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23428 David Kastrup writes: > Kai Grossjohann writes: > >> What should Tramp do with [reentrant] calls? > > Work properly if they are on a different connection. Okay, that can be made to work. > 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. So user does C-x C-f on a large file using an inline method. Tramp starts to transfer the base64 data across the wire... And then the timer kicks in. Tramp notices it is already busy in that buffer, so the timer waits... and waits... and waits... It could be quite a while until the large file is transferred. (I don't see how accept-process-output can wake me up when there is no output, btw. But, as everybody else here, I'm too stupid to see the consequences :-) However, the difference is that you seem to have an idea how to solve it, and I don't.) Kai