GNU bug report logs - #13151
24.2; tramp with ido: enters self-killing loop when opening /ftp: and hitting enter.

Previous Next

Package: emacs;

Reported by: arne_bab <at> web.de

Date: Wed, 12 Dec 2012 00:18:01 UTC

Severity: normal

Tags: fixed

Found in version 24.2

Fixed in version 24.4

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #43 received at 13151 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Arne Babenhauserheide <arne_bab <at> web.de>
Cc: 13151 <at> debbugs.gnu.org
Subject: Re: 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
Arne Babenhauserheide <arne_bab <at> web.de> writes:

> Hi Michael,

Hi Arne,

>> > \ Opening connection for arne <at> ftp using ssh
>> > Tramp: Opening connection for arne <at> 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.




This bug report was last modified 12 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.