Subject: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo

From: Kostadin Ninev <[email-masked]>
Date: Sat, 20 May 2023 11:26:05 +0000

> Perhaps you can send the value of
> tramp-default-proxies-alist at the moment everything goes wrong.

This is the wrong value of tramp-default-proxies-alist 

((nil nil
      #("/ssh:srv:" 0 9
	(tramp-ad-hoc t)))
 ("^srv$" "^root$"
  #("/ssh:srv:" 0 9
    (tramp-ad-hoc t))))

And I get this with my patch

((#("^srv$" 1 4
    (tramp-default t))
  #("^root$" 1 5
    (tramp-default t))
  #("/ssh:srv:" 0 9
    (tramp-ad-hoc t))))

> Do you use several multi-hops in parallel? Something like
> "/ssh:user@server|sudo::" and "/ssh:anotheruser@anotherserver|sudo::"?

No but I tried it with the same results, the patch fixes it for me.
-- 
Kostadin Ninev.