Subject: bug#39489: 28.0.50; On Emacs 27, 28, tramp hangs indefinitely

From: Benjamin Slade <[email-masked]>
Date: Sun, 09 Feb 2020 19:24:39 -0700

Hi Michael,

On 2020-02-09T06:14:34-0700, Michael Albinus 
<[email-masked]> wrote:

 > Well, here is the part which looks suspicious (shortened 
 > heavily).

 > --8<---------------cut 
 > here---------------start------------->8---
 > > | | | | | | | | | | | | | 14 -> (auth-source-search :max 1 
 > > :user #("root" 0 4 (tramp-default t)) :host #("sushoma" 0 7 
 > > (tramp-default t)) :port "sudo" :require (:secret :user) 
 > > :create t)
 > > | | | | | | | | | | | | | | 15 -> (tramp-file-name-handler 
 > > expand-file-name "." #("/sudo:root@sushoma:" 6 10 
 > > (tramp-default t) 11 18 (tramp-default t)))
 > > | | | | | | | | | | | | | | 15 <- tramp-file-name-handler: 
 > > !non-local\ exit!
 > > | | | | | | | | | | | | | 14 <- auth-source-search: 
 > > !non-local\ exit!
 > --8<---------------cut 
 > here---------------end--------------->8---

 > 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+)

[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.]

best wishes,
   —Ben

-- 
( Dr Benjamin Slade . [email-masked] . https://lambda-y.net )
( Linguistics . University of Utah . https://linguistics.utah.edu 
)
( office : LNCO 2309 )
`( pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
'( sent by mu4e in Emacs on GNU/Linux . https://gnu.org )