help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp / process has died


From: Michael Albinus
Subject: Re: Tramp / process has died
Date: Sun, 25 Nov 2007 11:44:20 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

David Reitter <david.reitter@gmail.com> writes:

> How can I make tramp reconnect automatically to its ssh connection
> when it detects that the process "has died"?

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 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.

A sledge-hammer workaround, also applicable in Tramp 2.0, is to delete
the Tramp connection buffer *tramp/ssh ...*

> Thanks
> - D

Best regards, Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]