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: Sat, 15 May 2004 18:22:02 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <86sme17j9x.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> <867jvekawc.fsf@slowfox.dyndns.org> <873c627ku8.fsf@gmx.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084638700 632 80.91.224.253 (15 May 2004 16:31:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 May 2004 16:31:40 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat May 15 18:31:36 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 1BP24W-0002WR-00 for ; Sat, 15 May 2004 18:31:36 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BP24V-0006KQ-00 for ; Sat, 15 May 2004 18:31:35 +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 1BP24J-00080Q-QR for emacs-devel@quimby.gnus.org; Sat, 15 May 2004 12:31:23 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BP24D-0007ud-4N for emacs-devel@gnu.org; Sat, 15 May 2004 12:31:17 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BP23e-0007WS-K5 for emacs-devel@gnu.org; Sat, 15 May 2004 12:31:15 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BP23b-0007VE-U1 for emacs-devel@gnu.org; Sat, 15 May 2004 12:30:41 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BP23b-0005bk-00 for ; Sat, 15 May 2004 18:30:39 +0200 Original-Received: from pd951f40e.dip.t-dialin.net ([217.81.244.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 May 2004 18:30:39 +0200 Original-Received: from kai.grossjohann by pd951f40e.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 May 2004 18:30:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 17 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd951f40e.dip.t-dialin.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (berkeley-unix) Cancel-Lock: sha1:a1+GSiFdvds+Oqz15iW53RtDE7k= 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:23486 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23486 Michael Albinus writes: > Optimization (like multiple connections as mentioned by Kai) would be > the next step. But I doubt it is usefull for such operations like > `file-readable-p', given the overhead of a new connection. I was thinking of using multiple connections not as an optimization regarding speed, but more of an optimization regarding complexity. It seems to me it would be much easier to implement. My plan was to keep the additional connections open; so speaking of opening a connection as overhead for `file-readable-p' is a little bit misleading: it would only happen seldom. Given the frequency in which auto-revert is doing things, I expect that in effect a connection would be dedicated to auto-revert. Kai