all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Ken Manheimer <ken.manheimer@gmail.com>
Cc: 22452@debbugs.gnu.org
Subject: bug#22452: 24.4; Tramp remote shell fails on remote+sudo+homedir destination
Date: Sun, 24 Jan 2016 18:48:02 +0100	[thread overview]
Message-ID: <871t96c1il.fsf@gmx.de> (raw)
In-Reply-To: <CAAT_zTHgU5S1ke0ykiNahb1oMu=VenLXMjoLE3tn+r-nsvBjeA@mail.gmail.com>

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.





  parent reply	other threads:[~2016-01-24 17:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-24  2:00 bug#22452: 24.4; Tramp remote shell fails on remote+sudo+homedir destination Ken Manheimer
2016-01-24  2:20 ` Ken Manheimer
2016-01-24 17:48 ` Michael Albinus [this message]
2016-01-24 18:38   ` Ken Manheimer
2016-01-24 18:48     ` Michael Albinus
2016-01-24 19:11       ` Ken Manheimer
2016-01-28 12:45     ` Michael Albinus
2016-01-31 17:09       ` Ken Manheimer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871t96c1il.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=22452@debbugs.gnu.org \
    --cc=ken.manheimer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.