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: auto-revert-mode and tramp file handlers Date: Wed, 12 May 2004 09:18:32 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87ad0ekt9z.fsf@emptyhost.emptydomain.de> References: <200405091734.i49HYRM01844@raven.dms.auburn.edu> <87isf4zajy.fsf@emptyhost.emptydomain.de> <200405120445.i4C4jle15322@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084346427 15233 80.91.224.253 (12 May 2004 07:20:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 May 2004 07:20:27 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 12 09:20:19 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 1BNo2N-00051i-00 for ; Wed, 12 May 2004 09:20:19 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNo2N-0008Ok-00 for ; Wed, 12 May 2004 09:20:19 +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 1BNo14-00064q-90 for emacs-devel@quimby.gnus.org; Wed, 12 May 2004 03:18:58 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BNo0u-00064E-TD for emacs-devel@gnu.org; Wed, 12 May 2004 03:18:48 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BNo0O-0005x3-Fo for emacs-devel@gnu.org; Wed, 12 May 2004 03:18:47 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNo0O-0005ww-4Z for emacs-devel@gnu.org; Wed, 12 May 2004 03:18:16 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BNo0N-0004dp-00 for ; Wed, 12 May 2004 09:18:15 +0200 Original-Received: from 213-203-244-156.kunde.vdserver.de ([213.203.244.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 May 2004 09:18:15 +0200 Original-Received: from kai by 213-203-244-156.kunde.vdserver.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 May 2004 09:18:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 18 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 213-203-244-156.kunde.vdserver.de User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:zSn5TC11gPk0EyoEZUhuAWYcKQU= 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:23217 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23217 Luc Teirlinck writes: > Is there no way that tramp could detect that the user is off line in a > fraction of a second (as ssh apparently can) and if so, return nil for > file-exists-p and other functions that expect a return value of nil in > this case? I see what you're talking about. The problem is that Tramp invokes ssh to connect the remote host, then waits 60 seconds for the shell prompt. Additionally, it could check whether the process is still alive and stop waiting when the process dies. I completely forgot to put this in. Can't promise to do this right away, but I'll try. Thanks a lot for helping make Tramp better! Kai