From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Arne Babenhauserheide Newsgroups: gmane.emacs.bugs Subject: bug#13151: 24.2; tramp with ido: enters self-killing loop when opening /ftp: and hitting enter. Date: Thu, 13 Dec 2012 20:42:29 +0100 Message-ID: <1958993.WpLuDv5Pkc@fluss> References: <87wqwodt17.wl%arne_bab@web.de> <3419757.DcxIW5iHU2@fluss> <877golsyoe.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1793064.8jdjzWEZc3"; micalg="pgp-sha256"; protocol="application/pgp-signature" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1355427796 16912 80.91.229.3 (13 Dec 2012 19:43:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2012 19:43:16 +0000 (UTC) Cc: 13151@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 13 20:43:30 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 1TjEgp-0007Qc-CF for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Dec 2012 20:43:27 +0100 Original-Received: from localhost ([::1]:44917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjEgc-0003nV-Hu for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Dec 2012 14:43:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjEga-0003n0-75 for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 14:43:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjEgX-0006kb-9L for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 14:43:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjEgX-0006kX-5m for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 14:43:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TjEhO-000220-Hr for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 14:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Arne Babenhauserheide Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Dec 2012 19:44:02 +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.13554278197752 (code B ref 13151); Thu, 13 Dec 2012 19:44:02 +0000 Original-Received: (at 13151) by debbugs.gnu.org; 13 Dec 2012 19:43:39 +0000 Original-Received: from localhost ([127.0.0.1]:41274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjEh1-00020z-8A for submit@debbugs.gnu.org; Thu, 13 Dec 2012 14:43:39 -0500 Original-Received: from mout.web.de ([212.227.17.12]:64122) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjEgy-00020n-F7 for 13151@debbugs.gnu.org; Thu, 13 Dec 2012 14:43:37 -0500 Original-Received: from fluss.localnet ([212.255.40.27]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0MfYoV-1TTdVO3LH1-00Okr3; Thu, 13 Dec 2012 20:42:30 +0100 User-Agent: KMail/4.9.4 (Linux/3.3.8-gentoo; KDE/4.9.4; x86_64; ; ) In-Reply-To: <877golsyoe.fsf@gmx.de> X-Provags-ID: V02:K0:7QoVTGjrFcuEFBPyhSZRXUBZjyU4K+QgGzw7rZFGsQe pHowyVIdkQiraNB2lf5wlfw0fKNihx1rEFPUJq/2UuvXeQuLBR +yo61Ti6+qYgf4XrdGzPBD3R/5ajutRUz9rMsMkXKYhk+P9lUQ C9gvtql8CsvyM2f1lentcONp7Z32+thBVhpOKqVfbeRhDzIp2C Ed84n/VWkSMZozWttJqhg== 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:68478 Archived-At: --nextPart1793064.8jdjzWEZc3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Am Donnerstag, 13. Dezember 2012, 17:29:37 schrieb Michael Albinus: > Arne Babenhauserheide writes: > > Can=E2=80=99t tramp find out itself, that it is confused? >=20 > Not so easy. There could be good reasons not to connect: timeouts, > connection interrupts, whatever. Sometimes it is better to let Tramp > resynchronize. >=20 > For example, there's an ongoing work to integrate mosh into Tramp. Th= is > would allow to reconnect automatically, even if your laptop has been > offline for a while, and you have moved from work to home. That sounds pretty awesome! > > I can now clean it, but every new user will be pretty confused=E2=80= =A6 >=20 > I know :-( But I have no better recipe. I think I just found one: The error I got was: \ Opening connection for arne@ftp using ssh Tramp: Opening connection for arne@ftp using ssh...done byte-code: Process died Is it possible to adapt that error message so it states: \ 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=20 `M-x tramp-cleanup-this-connection` That would allow newbies to get out of the loop without killing the buf= fer. > Could we agree to close this bug? I think as long as tramp in the buffer still blocks writes and the user= does=20 not get told how he can exit the block, the bug still persists and clos= ing it=20 would just close the eyes against an existing problem (or worse: look l= ike it=20 was fixed without providing a solution). But if the error could just tell the user how to fix the condition, tha= t would=20 suffice for closing the bug, I think: The error condition would no long= er=20 require new users to kill the buffer. Does that sound like a reasonable approach to you? Best wishes, Arne --=20 1w6 sie zu achten, sie alle zu finden, in Spiele zu leiten und sacht zu verbinden. =E2=86=92 http://1w6.org --nextPart1793064.8jdjzWEZc3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iJwEAAEIAAYFAlDKL6UACgkQ3M8NswvBBUgvAAQAl/NiXPGAzI1SyKFZrz1hqhiL i/9rOoS+3JDfxrtimWdpw120jrW+HUG44z+N8TBnQ9IFiHGYmtk9Vr/ofc6Z4R7u Hmr1wTsJcAYWW56XlGOMyBnc9zh33M0B3bnVep09WKtL7c73SXqng6YzNb7fQ63i H7IwWfVBb3OSJS9RdQw= =wzzr -----END PGP SIGNATURE----- --nextPart1793064.8jdjzWEZc3--