unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Chris Thompson <teaforthecat@gmail.com>
Cc: 14808@debbugs.gnu.org
Subject: bug#14808: 24.3; Tramp hangs on unmatched prompt pattern
Date: Tue, 09 Jul 2013 15:50:42 +0200	[thread overview]
Message-ID: <87y59f7sgd.fsf@gmx.de> (raw)
In-Reply-To: <m2sizruypb.fsf@teaforthecat.local.i-did-not-set--mail-host-address--so-tickle-me> (Chris Thompson's message of "Sat, 06 Jul 2013 17:10:24 -0500")

Chris Thompson <teaforthecat@gmail.com> writes:

> It sems like it could be made obvious with a little more output from
> tramp if say a timeout is reached waiting for the prompt.

Tramp has already such a function `tramp-error-with-buffer', which ought
to provide such information. It does not seem to work robustly under all
circumstances; I'm working on this.

Another problem is, that Tramp is just a library. That means, if you
want to open a file, several Tramp functions are called independently,
each of it requires an established connection. There must be a mechanism
that during a given timespan (let's say 5 seconds) Tramp does not try to
reconnect after a failed connection attempt. This works already in some
special cases; I'll improve this as well.

> Thanks!
> --
> Chris

Best regards, Michael.





  reply	other threads:[~2013-07-09 13:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-06 22:10 bug#14808: 24.3; Tramp hangs on unmatched prompt pattern Chris Thompson
2013-07-09 13:50 ` Michael Albinus [this message]
2013-07-10 15:01 ` Michael Albinus
2013-07-11 10:01   ` Michael Albinus
     [not found]     ` <CAOP1k=-xDLrSbx380Gw98GsXb_7z-=sVrXtJVaKKxabKixNe-w@mail.gmail.com>
     [not found]       ` <CAOP1k=_QKxCxuPTAtYQK1zkeBSQEWA5nYd+y35hGZeNphoUGXw@mail.gmail.com>
2013-07-15 12:15         ` 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=87y59f7sgd.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=14808@debbugs.gnu.org \
    --cc=teaforthecat@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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