From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: auto-revert-mode and tramp file handlers Date: Tue, 11 May 2004 21:57:17 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200405120257.i4C2vHo12978@raven.dms.auburn.edu> References: <200405091734.i49HYRM01844@raven.dms.auburn.edu> <87isf4zajy.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084330828 22273 80.91.224.253 (12 May 2004 03:00:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 May 2004 03:00:28 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 12 05:00:15 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 1BNjyh-0004DT-00 for ; Wed, 12 May 2004 05:00:15 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNjyh-0003co-00 for ; Wed, 12 May 2004 05:00:15 +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 1BNjyP-0006hr-Gc for emacs-devel@quimby.gnus.org; Tue, 11 May 2004 22:59:57 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BNjxD-00069p-Ol for emacs-devel@gnu.org; Tue, 11 May 2004 22:58:44 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BNjwX-0004yE-Um for emacs-devel@gnu.org; Tue, 11 May 2004 22:58:34 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNjw7-0004FO-N3 for emacs-devel@gnu.org; Tue, 11 May 2004 22:57:35 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i4C2vKTS004273; Tue, 11 May 2004 21:57:21 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i4C2vHo12978; Tue, 11 May 2004 21:57:17 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: kai@emptydomain.de In-reply-to: <87isf4zajy.fsf@emptyhost.emptydomain.de> (message from Kai Grossjohann on Mon, 10 May 2004 15:17:05 +0200) 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:23212 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23212 Kai Grossjohann wrote: I'm not sure how to change Tramp to make this better: it often happens that a connection is closed merely because a timeout has expired. In that case, just silently reopening the connection appears to be the right approach. In the described situation I am off line. Do you mean Tramp is trying get me back on line? If so, there must be something wrong with my setup, because that definitely never happens. Anyway, getting on line takes me on average 30-40 seconds, and often takes more than the allotted 60 seconds. So it is definitely _not_ something I would want to have tried on an automated basis, even if I could correct my setup to do so. If tramp is not trying to get me back on line, then (file-exists-p "/ssh:teirllm@raven.dms.auburn.edu:~/myfile") takes more than a minute to get the same information that a simple call to ssh gives me in less than one hundred of a second (see below), and then throws an error in a case where the function's docstring suggests a return value of nil. [bash2.05b.0 ~ 3 6] time ssh raven.dms.auburn.edu ssh: raven.dms.auburn.edu: Temporary failure in name resolution real 0m0.009s user 0m0.010s sys 0m0.000s I believe related problems have been discussed previously in: http://mail.gnu.org/archive/html/emacs-devel/2003-09/msg00198.html Sincerely, Luc.