From: David Reitter <david.reitter@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-help gnu gnu <help-gnu-emacs@gnu.org>
Subject: Re: Tramp / process has died
Date: Sun, 25 Nov 2007 11:32:55 +0000 [thread overview]
Message-ID: <24C568C0-C876-409D-83D8-1A2A5900E1F9@gmail.com> (raw)
In-Reply-To: <8763zqbo57.fsf@gmx.de>
On 25 Nov 2007, at 10:44, Michael Albinus wrote:
> 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'm running "2.0.57-pre", which is, I believe, what comes with Emacs
22.x (CVS).
In principle what I'm doing is to quit the stack trace that I'm
getting, and then to retry the command again. But as a user, I don't
want that interruption - I just want it to reconnect automatically.
> 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. And "background" is good, because this would minimize the
"hanging" when saving (and all other accesses) (i.e. busy time in
which Emacs is unresponsive to user input apart from C-g).
- D
next prev parent reply other threads:[~2007-11-25 11:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-24 23:07 Tramp / process has died David Reitter
2007-11-25 10:44 ` Michael Albinus
2007-11-25 11:32 ` David Reitter [this message]
2007-11-25 13:50 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24C568C0-C876-409D-83D8-1A2A5900E1F9@gmail.com \
--to=david.reitter@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).