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#22452: 24.4; Tramp remote shell fails on remote+sudo+homedir destination Date: Sun, 24 Jan 2016 18:48:02 +0100 Message-ID: <871t96c1il.fsf@gmx.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1453657762 25936 80.91.229.3 (24 Jan 2016 17:49:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Jan 2016 17:49:22 +0000 (UTC) Cc: 22452@debbugs.gnu.org To: Ken Manheimer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 24 18:49:11 2016 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 1aNOmk-0000L2-SK for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Jan 2016 18:49:11 +0100 Original-Received: from localhost ([::1]:32985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNOmk-0004lE-3p for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Jan 2016 12:49:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNOmg-0004kt-IU for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2016 12:49:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNOmc-0008DY-BG for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2016 12:49:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNOmc-0008DO-7V for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2016 12:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aNOmb-0005J7-TY for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2016 12:49:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Jan 2016 17:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22452 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22452-submit@debbugs.gnu.org id=B22452.145365769420334 (code B ref 22452); Sun, 24 Jan 2016 17:49:01 +0000 Original-Received: (at 22452) by debbugs.gnu.org; 24 Jan 2016 17:48:14 +0000 Original-Received: from localhost ([127.0.0.1]:35105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aNOlp-0005Hu-NR for submit@debbugs.gnu.org; Sun, 24 Jan 2016 12:48:13 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:50719) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aNOln-0005Hf-4Y for 22452@debbugs.gnu.org; Sun, 24 Jan 2016 12:48:11 -0500 Original-Received: from detlef.gmx.de ([93.209.69.86]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MH4Os-1aJb9S1O3W-00DmfT; Sun, 24 Jan 2016 18:48:04 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Provags-ID: V03:K0:uLWRyc92VggC5YRoQEPQyqfOijp6iWg81TOT5cBd6/JpclcJxDu bofhfpYurUhKmkTGlp9Hi+oQPdYjBEfpLhOW8pML17ebiaspvg3hf/i7YFhhm/+sFyPSt6+ 3PQRC7wxxIkak1bjsY1xYkTm0Z+yDb8i1J83VUTJ7B9iBPM+dusoBa6dw2dOEP3h9wffrt0 aAZxkJQuHuK3mH7HIoKGw== X-UI-Out-Filterresults: notjunk:1;V01:K0:GaZ+3XSmrVs=:69UaiGSnSKyO9jOaDC+00C bgZjadGAKyVL0fnHQ/DSmPjzffNU27CqSdf8r3O5t+Jh08Y6M09hljn86nv5rpalZyWn6vNhn iiIvED2/dh3NwSaC+FtYpssBchwhceBhpPZng7O0nGj5/xhiETmrX81HZwHcy2NSqzS/eK4ET V1oNWz3QBJEjA6gBRQvFlNPJXrmPlC5ZbyPuWVJ7hvo5L0rw3owud/0duAFcYcdyluYY2wZgL 3Ti8835MYBRJc4JIFSofqfg54WYmJ+tGPF+o4by2uOMdzxh1JVyBpgl3z8KHdZPpEkCXtY9HX 9ikNOswLxpb6ZhqQalOZ7/xE6Q1/dCcqFiT6Efadqf8g6aY0uSG8OpTDFOX3N8+k88m3zDWSD gEZmu7VSiwY5i9/NmhwubJlYctM//hQpW8lr81xS+KYdXz+i65yQjK6+bo8HN0Yfa9HH0uBh6 iYJ9ndS1Y9yVuZ2t/9lMBnT0ZAqMDAWHSzO457SDuvRGkQusrfVFkSUJXlCD02DB2W89tKJlF Xbe979Y25I6LwEVgBybWhYJBUKGQLfsmuUfNLWZJR4RJ2rcb4BtdPdsC4KOtt1UI5ZAMmNvBt 4KhYtpSzZrv+XaURJkyuKiH62RYwiqNTniK4AKuV5two9pJLOUbD/PWn0/9l5SVXb0KsTGEMu Kop+FXtd96XRWdRdnoJcBZGoF5Xw8rP96vpA49czeiY/DSw4Ex6SsFrK4WlhYEcjzxK21Ikso BzOSDzhqWyV88f/eT3PppSJaJKDGa9mOWj/Q5RpxGhM5jioWL4XlW4vr2FYHtwP5R268WNtr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:111926 Archived-At: Ken Manheimer writes: Hi Ken, > Tramp fails to start a remote shell when the remote path is exactly of > the form '/ssh:host|sudo:root@host:'. It fails with a message in the > minibuffer, "Selecting deleted buffer". > > To reproduce the error: > > * Start emacs with -Q > * In any buffer (*scratch* is fine): > M-Esc (setq default-directory > "/ssh:example.com|sudo:root@example.com:") > * In that same buffer, Esc-x shell > > This fails (with "Selecting deleted buffer") for me in the version of > emacs listed in the bug report and more recent versions, which I > compiled, eg: GNU Emacs 24.5.50.1 (x86_64-apple-darwin14.5.0, NS > apple-appkit-1348.17) of 2015-12-16 on twist.myriadicity.net. > > I can't get a backtrace for it, even if I set debug-on-error and > signal-on-error. Same here, hard to debug. The error doesn't happen if tramp-verbose is less than 3 prior calling M-x shell. So maybe you bind it temporarily to 2 in your package, as workaround. I'll continue to debug. Best regards, Michael.