GNU bug report logs - #39489
28.0.50; On Emacs 27, 28, tramp hangs indefinitely

Previous Next

Package: emacs;

Reported by: Benjamin Slade <slade <at> lambda-y.net>

Date: Fri, 7 Feb 2020 18:57:01 UTC

Severity: normal

Tags: patch

Found in version 28.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Benjamin Slade <slade <at> lambda-y.net>
Cc: 39489 <at> debbugs.gnu.org
Subject: bug#39489: 28.0.50; On Emacs 27, 28, tramp hangs indefinitely
Date: Mon, 10 Feb 2020 10:11:24 +0100
[Message part 1 (text/plain, inline)]
Benjamin Slade <slade <at> lambda-y.net> writes:

> Hi Michael,

Hi Benjamin,

>> I don't know why `auth-source-search' needs to expand ".". Could it
>> be, that it is part of your `exec-path'?
>
> It turns out my $PATH variable had an 'empty' field
> (e.g. =/usr/local/bin::/home/slade/.guix-profile/bin=),
> eliminating that fixed the tramp issue I described in the bug
> report. (it's interesting that this only manifested was 27+)

An empty entry in $PATH is taken as `default-directory', implemented as
"." in `exec-path'. And this is a problem, if `call-process' searches
for the gpg command, and `default-directory' is remote. I have no idea
why this problem has uncovered in Emacs 27 only, though.

You have fixed it yourself I guess. But since it happens also for other
people, could you pls check whether the appended patch would have
solved it for you, keeping the empty field in your $PATH?

> [There is still an issue with the =em-tramp= package on Emacs 27+,
> which causes a complete lock-up (i.e. C-g won't work), but that
> should likely be a separate bug report.]

Please do.

> best wishes,
>   —Ben

Best regards, Michael.

[Message part 2 (text/x-patch, attachment)]

This bug report was last modified 5 years and 98 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.