From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#13151: 24.2; tramp with ido: enters self-killing loop when opening /ftp: and hitting enter. Date: Sun, 16 Dec 2012 11:53:06 +0100 Message-ID: <87wqwimfot.fsf@gmx.de> References: <87wqwodt17.wl%arne_bab@web.de> <1958993.WpLuDv5Pkc@fluss> <87a9thvepe.fsf@gmx.de> <9619308.PphNHOGeax@fluss> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355655239 9232 80.91.229.3 (16 Dec 2012 10:53:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Dec 2012 10:53:59 +0000 (UTC) Cc: 13151@debbugs.gnu.org To: Arne Babenhauserheide Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 16 11:54:13 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TkBrJ-0000sK-0Z for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Dec 2012 11:54:13 +0100 Original-Received: from localhost ([::1]:45138 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkBr5-0005Dj-Nq for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Dec 2012 05:53:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkBr1-0005A7-Af for bug-gnu-emacs@gnu.org; Sun, 16 Dec 2012 05:53:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TkBr0-0001XF-53 for bug-gnu-emacs@gnu.org; Sun, 16 Dec 2012 05:53:55 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkBr0-0001XB-1Y for bug-gnu-emacs@gnu.org; Sun, 16 Dec 2012 05:53:54 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TkBs5-0001KU-Ue for bug-gnu-emacs@gnu.org; Sun, 16 Dec 2012 05:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Dec 2012 10:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13151 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13151-submit@debbugs.gnu.org id=B13151.13556552635064 (code B ref 13151); Sun, 16 Dec 2012 10:55:01 +0000 Original-Received: (at 13151) by debbugs.gnu.org; 16 Dec 2012 10:54:23 +0000 Original-Received: from localhost ([127.0.0.1]:44707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TkBrS-0001Jd-R3 for submit@debbugs.gnu.org; Sun, 16 Dec 2012 05:54:23 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:59129) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TkBrQ-0001JU-69 for 13151@debbugs.gnu.org; Sun, 16 Dec 2012 05:54:21 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.20]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MDBbe-1Tu4HC1F8O-00GXBH for <13151@debbugs.gnu.org>; Sun, 16 Dec 2012 11:53:10 +0100 Original-Received: (qmail invoked by alias); 16 Dec 2012 10:53:09 -0000 Original-Received: from p57BB859C.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.133.156] by mail.gmx.net (mp020) with SMTP; 16 Dec 2012 11:53:09 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18cclpguGocYuw3gWPKXDozP5BcB0GpeEHqJ7YFET M7Y5m+VAXyxz68 In-Reply-To: <9619308.PphNHOGeax@fluss> (Arne Babenhauserheide's message of "Sat, 15 Dec 2012 03:16:18 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:68598 Archived-At: Arne Babenhauserheide writes: > Hi Michael, Hi Arne, >> > \ Opening connection for arne@ftp using ssh >> > Tramp: Opening connection for arne@ftp using ssh...done >> > byte-code: Process died. If this happens repeatedly, try >> > >> > `M-x tramp-cleanup-this-connection` >> >> I will try it. > > Thank you very much! The following patch ought to do this. Could you, please, check whether it fits your test case? --8<---------------cut here---------------start------------->8--- diff --git a/lisp/tramp.el b/lisp/tramp.el index a4d36cb..3177119 100644 --- a/lisp/tramp.el +++ b/lisp/tramp.el @@ -1455,6 +1455,11 @@ an input event arrives. The other arguments are passed to `tramp-error'." (or (and (bufferp buffer) buffer) (and (processp vec-or-proc) (process-buffer vec-or-proc)) (tramp-get-connection-buffer vec-or-proc))) + (when (string-equal fmt-string "Process died") + (message + "%s\n %s" + "Tramp failed to connect. If this happens repeatedly, try" + "`M-x tramp-cleanup-this-connection'")) (sit-for 30)))))) (defmacro with-parsed-tramp-file-name (filename var &rest body) --8<---------------cut here---------------end--------------->8--- > Best wishes, > Arne Best regards, Michael.