From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Tramp / process has died Date: Sun, 25 Nov 2007 14:50:10 +0100 Message-ID: <87y7cma0z1.fsf@gmx.de> References: <639837CF-4C8B-4BDE-970C-3BF8DCACCF5C@gmail.com> <8763zqbo57.fsf@gmx.de> <24C568C0-C876-409D-83D8-1A2A5900E1F9@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195998554 20993 80.91.229.12 (25 Nov 2007 13:49:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Nov 2007 13:49:14 +0000 (UTC) Cc: emacs-help gnu gnu To: david.reitter@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 25 14:49:22 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IwHrM-0005Ib-GY for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Nov 2007 14:49:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwHr7-0000tC-OK for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Nov 2007 08:49:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IwHqe-0000iU-GL for help-gnu-emacs@gnu.org; Sun, 25 Nov 2007 08:48:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IwHqd-0000hr-Cl for help-gnu-emacs@gnu.org; Sun, 25 Nov 2007 08:48:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwHqd-0000hk-6a for help-gnu-emacs@gnu.org; Sun, 25 Nov 2007 08:48:35 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IwHqc-00016A-M9 for help-gnu-emacs@gnu.org; Sun, 25 Nov 2007 08:48:34 -0500 Original-Received: (qmail invoked by alias); 25 Nov 2007 13:48:33 -0000 Original-Received: from p57A21EAA.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.30.170] by mail.gmx.net (mp048) with SMTP; 25 Nov 2007 14:48:33 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/WRlU1hKfWppEhdEZhX4gKUMPueJHNtEb5mJfrrg Wu9jHiiaIc2UmV In-Reply-To: <24C568C0-C876-409D-83D8-1A2A5900E1F9@gmail.com> (David Reitter's message of "Sun, 25 Nov 2007 11:32:55 +0000") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49504 Archived-At: David Reitter writes: >> Which Tramp version do you use? The upcoming Tramp 2.1.12 has a new >> command `tramp-cleanup-connection', which you can call interactively. >> This is not "reconnect automatically", but it could be a starting >> point. > > I'm running "2.0.57-pre", which is, I believe, what comes with Emacs > 22.x (CVS). Yep, that is the Tramp version in the EMACS_22_BASE branch. But Tramp 2.0 will see bug fixes only, no new features. >> I could also try to let it run in the background when it detects a >> broken connection. But this needs more sophisticated checks, in order >> not to run into an infinite loop. > > Sure, reconnection attempts should be timed and spaced. Perhaps you > can initiate them whenever a new IP address has been assigned to the > host. Tramp does not know the underlying IP address. It will need another approach for check. I will play a little bit with ... > - D Best regards, Michael.