GNU bug report logs - #63578
29.0.91; Org Cannot tangle with tramp using sudo

Previous Next

Package: emacs;

Reported by: "k.ninev <at> cdots.bg" <k.ninev <at> cdots.bg>

Date: Fri, 19 May 2023 04:00:03 UTC

Severity: normal

Found in version 29.0.91

Fixed in version 29.1

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: Kostadin Ninev <k.ninev <at> cdots.bg>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Bastien <bzg <at> gnu.org>, 63578 <at> debbugs.gnu.org, Ihor Radchenko <yantar92 <at> posteo.net>, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo
Date: Sat, 20 May 2023 08:30:50 +0000
After a lot of debugging I propose this patch which fixes the problem for 
me without observable side effects:


--- /usr/share/emacs/29.0.91/lisp/net/tramp.el  2023-05-18 
15:20:57.000000000 +0300
+++ tramp.el    2023-05-20 11:24:51.869320508 +0300
@@ -4621,7 +4621,7 @@
   (when-let ((hops (tramp-file-name-hop vec))
             (item vec))
     (dolist (proxy (reverse (split-string hops tramp-postfix-hop-regexp 
'omit)))
-      (let* ((host-port (tramp-file-name-host-port item))
+      (when-let* ((host-port (tramp-file-name-host-port item))
             (user-domain (tramp-file-name-user-domain item))
             (proxy (concat
                     tramp-prefix-format proxy tramp-postfix-host-format))


I realy hope this is fixed before the release of emacs 29.1. Let me know if 
I can anything else.-- 
Kostadin Ninev.




This bug report was last modified 1 year and 362 days ago.

Previous Next


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