From: Kostadin Ninev <k.ninev@cdots.bg>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Bastien <bzg@gnu.org>,
63578@debbugs.gnu.org, Ihor Radchenko <yantar92@posteo.net>,
Eli Zaretskii <eliz@gnu.org>
Subject: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo
Date: Sat, 20 May 2023 08:30:50 +0000 [thread overview]
Message-ID: <1684571284962.2541076370.3559102008@cdots.bg> (raw)
In-Reply-To: <87ilcou05r.fsf@gmx.de>
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.
next prev parent reply other threads:[~2023-05-20 8:30 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-18 19:21 bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo k.ninev@cdots.bg via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-05-19 5:54 ` Eli Zaretskii
2023-05-19 6:32 ` Ihor Radchenko
2023-05-19 6:55 ` Kostadin Ninev
2023-05-19 7:17 ` Ihor Radchenko
2023-05-19 7:18 ` Kostadin Ninev
2023-05-19 7:28 ` Ihor Radchenko
2023-05-19 9:12 ` Kostadin Ninev
2023-05-19 9:43 ` Michael Albinus
2023-05-19 9:49 ` Kostadin Ninev
2023-05-19 10:57 ` Kostadin Ninev
2023-05-20 8:30 ` Kostadin Ninev [this message]
2023-05-20 11:16 ` Michael Albinus
2023-05-20 11:26 ` Kostadin Ninev
2023-05-20 11:50 ` Michael Albinus
2023-05-20 11:53 ` Kostadin Ninev
2023-05-20 14:48 ` Michael Albinus
2023-05-20 16:50 ` Michael Albinus
2023-05-20 17:09 ` Kostadin Ninev
2023-05-22 10:44 ` Michael Albinus
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=1684571284962.2541076370.3559102008@cdots.bg \
--to=k.ninev@cdots.bg \
--cc=63578@debbugs.gnu.org \
--cc=bzg@gnu.org \
--cc=eliz@gnu.org \
--cc=michael.albinus@gmx.de \
--cc=yantar92@posteo.net \
/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).