unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ken Manheimer <ken.manheimer@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 22452-done@debbugs.gnu.org
Subject: bug#22452: 24.4; Tramp remote shell fails on remote+sudo+homedir destination
Date: Sun, 31 Jan 2016 12:09:49 -0500	[thread overview]
Message-ID: <CAAT_zTErJ1Av=FwRk4-j+is=3EcvT6KOTjE-QT24Q4HPdVo+Mg@mail.gmail.com> (raw)
In-Reply-To: <87d1sl98ki.fsf@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]

Good job tracking that down - thanks much!

I may not be able to examine it soon, but will keep alert for problems.
Using `cd' instead of changing default-directory is proving to be a decent
workaround, worth sticking with since that means my package can work with
emacs 24 (and 23, for that matter).

On Thu, Jan 28, 2016 at 7:45 AM, Michael Albinus <michael.albinus@gmx.de>
wrote:

> Version: 25.1
>
> Ken Manheimer <ken.manheimer@gmail.com> 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.
>

[-- Attachment #2: Type: text/html, Size: 1824 bytes --]

      reply	other threads:[~2016-01-31 17:09 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
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 [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CAAT_zTErJ1Av=FwRk4-j+is=3EcvT6KOTjE-QT24Q4HPdVo+Mg@mail.gmail.com' \
    --to=ken.manheimer@gmail.com \
    --cc=22452-done@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).