[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22452: 24.4; Tramp remote shell fails on remote+sudo+homedir destina
From: |
Michael Albinus |
Subject: |
bug#22452: 24.4; Tramp remote shell fails on remote+sudo+homedir destination |
Date: |
Sun, 24 Jan 2016 18:48:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Ken Manheimer <ken.manheimer@gmail.com> 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.