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: Thu, 28 Jan 2016 13:45:17 +0100 Message-ID: <87d1sl98ki.fsf@gmx.de> References: <871t96c1il.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1453985183 12392 80.91.229.3 (28 Jan 2016 12:46:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jan 2016 12:46:23 +0000 (UTC) Cc: 22452-done@debbugs.gnu.org To: Ken Manheimer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 28 13:46:12 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 1aOlxj-0001d2-CB for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jan 2016 13:46:11 +0100 Original-Received: from localhost ([::1]:55750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOlxi-0007e0-43 for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jan 2016 07:46:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOlxe-0007dt-BG for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 07:46:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOlxa-0008ST-UL for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 07:46:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOlxa-0008SI-Qw for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 07:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aOlxa-0003xp-Mb for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 07:46:02 -0500 Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jan 2016 12:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 22452 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 22452@debbugs.gnu.org, michael.albinus@gmx.de, ken.manheimer@gmail.com Original-Received: via spool by 22452-done@debbugs.gnu.org id=D22452.145398512715154 (code D ref 22452); Thu, 28 Jan 2016 12:46:02 +0000 Original-Received: (at 22452-done) by debbugs.gnu.org; 28 Jan 2016 12:45:27 +0000 Original-Received: from localhost ([127.0.0.1]:39174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOlx1-0003wM-3U for submit@debbugs.gnu.org; Thu, 28 Jan 2016 07:45:27 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:61592) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOlwz-0003wA-Gl for 22452-done@debbugs.gnu.org; Thu, 28 Jan 2016 07:45:25 -0500 Original-Received: from detlef.gmx.de ([87.146.53.217]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lvl0u-1a1v2g35zw-017YIH; Thu, 28 Jan 2016 13:45:18 +0100 In-Reply-To: (Ken Manheimer's message of "Sun, 24 Jan 2016 13:38:43 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Provags-ID: V03:K0:TkgN9iL6tVXuuatLZobLhJOKA6WS7mPBqGV5dF6VOjq/iG7c8so Bs4/0h6SyGslALBACHGNArN5iXdR6UJpBvLtEBa94Kis/AdbqXp32hL1o8A/txCZOFzEV8q JqoWMzUZs07Bk9PBzxwq2ym/JZ0z0sir4wvdPpF+hJHHphkId3WCLv0kmYUTG0EG+UXN8ic RLpDb7Fid7TeqEmzpoXvQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:hUY7Wd2iW4A=:hXr0NrZ+4yNpcB/Y4tRbQ4 wKohAbzGBiYaBIB5yekZ9Km0Qjjdab4XNPcnSiz5eT+tvKbSkhoAsnKxSI9JQYaoWmnGCfoAB 49+5wRBTP6xfLr6oQCNgyXUjBI7DKI/ppQlcejfVjJr7B6VU/gQrpR2XQUvcvUBw3cdF9B28W FrxaClMVQbaqnwOlY3oUn9gSsTwS+X5g8ulIu9dUvbF19TstmLoRREOnuo5opGxTlgBbKkjn4 byKZLBNuEJHxIZq0UU0Sl1fY0UsePCYe5evwCgmXzfK9XvGcrlDny+IRv3eQO5MtHOmqxooV/ k2SdzIW1JARSuVHGG8kg48TEggs8ccbVJFsmFOWXi7R9ERDFvmWaC9ij4nV6mRL5VgZukW+cC +R97hTlQvls9Jckk91Zft8OUNAa70Uhekw/+R63XT3Xs7HTfvdQDWyKIrqz7pnZtw1MvK3OZe 4M6t007PEzZZIiwlnEk9JTDI9SQ+5yCcBha5oY1n6SS7np0Q40vyxTha9MmT8Mdh1Hr1Kpl0/ WaMasBPzB1yULQfxZURxXzog5ZaI9Dk9lFIawEho4PMeHlX5dxr0vbR4GYmypxBPgmdLFJnqP 9jqSAKRuCRcd2c0+O7m/1rO+ZAl69WOMKkraNA5278VDczrWA3LTudC/CnBNQdp5X3qTwbThr hIty9KE31ECDHeZoWH5oiVCf5PC/T2dhWHsXk1kncWm/kSZSs3p8k9TFQSmMFJJhAJSb35ouF hF4UJ9TSATP/gKqcnDO6f/maG/Wa6wQA2UtjMgIB3IMXFFQ1J4o/8idZ8IGoJqK9rC/7bd5j 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:112051 Archived-At: Version: 25.1 Ken Manheimer writes: > I'm glad you're investigating, Michael! > > Upshot is that I believe that there still is a bug worth unravelling > [especially since it involves an aggravating and elusive "Selecting > deleted buffer" event], in the way that shells start when > default-directory is set to remote+sudo+homedir format, but I can > avoid that by using `cd'. Finally, I could fix it. While establishing the connection, a `file-remote-p` call was performed which included `expand-file-name' of `default-directory'. Since the connection wasn't stablished yet, the error occured. There won't be a new Emacs 24.x release, so I have fixed it in Emacs 25.1 (commit deae005667516b7e1296527f7e34c54604a81882). You could check it there. In case of problems, pls tell. > Ken Best regards, Michael.