From debbugs-submit-bounces@debbugs.gnu.org Thu May 18 23:59:59 2023 Received: (at submit) by debbugs.gnu.org; 19 May 2023 03:59:59 +0000 Received: from localhost ([127.0.0.1]:55044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzrHZ-0001yd-5C for submit@debbugs.gnu.org; Thu, 18 May 2023 23:59:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:40850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzjBv-0004IP-5E for submit@debbugs.gnu.org; Thu, 18 May 2023 15:21:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzjBu-0004XX-Sl for bug-gnu-emacs@gnu.org; Thu, 18 May 2023 15:21:34 -0400 Received: from mail.cdots.bg ([91.92.199.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzjBr-0005yy-GP for bug-gnu-emacs@gnu.org; Thu, 18 May 2023 15:21:34 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 6BE78A0B83E3 for ; Thu, 18 May 2023 22:21:20 +0300 (EEST) Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 5GPXmLhU-oAD for ; Thu, 18 May 2023 22:21:16 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id D365DA0B83E4 for ; Thu, 18 May 2023 22:21:16 +0300 (EEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cdots.bg D365DA0B83E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdots.bg; s=38EB8BB6-1E4E-11E5-AEB1-E0FC2BDD2164; t=1684437676; bh=tLcvrXB1jhnkJiJ8s2Ax+LWj1nH5i6yiJXoZP3+PRTE=; h=Message-ID:Date:MIME-Version:To:From; b=uvhv7KqFw+Jo7eO65FNDod9qV7N52o4jjZDTzuY3HoJyDq33ubwWSSBVubQKQfKkf gsHjtfjUD1LUFeX6+M93F0F3QkE5onVbUitiyGoC4QlqRy2gzupm9xH8B3ypw4pMEy lEpOPbCQpc3vAfNL3OUdSByNbZtzKiOAKr3RnAvU= X-Virus-Scanned: amavisd-new at mail.cdots.bg Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id cnWRe2yYOJe3 for ; Thu, 18 May 2023 22:21:16 +0300 (EEST) Received: from [10.1.1.10] (unknown [85.196.152.25]) by mail.cdots.bg (Postfix) with ESMTPSA id B529AA0B83E3 for ; Thu, 18 May 2023 22:21:16 +0300 (EEST) Message-ID: Date: Thu, 18 May 2023 22:21:16 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 To: bug-gnu-emacs@gnu.org Subject: 29.0.91; Org Cannot tangle with tramp using sudo Content-Language: en-US, bg From: "k.ninev@cdots.bg" Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=91.92.199.54; envelope-from=k.ninev@cdots.bg; helo=mail.cdots.bg X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 18 May 2023 23:59:55 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Triyng to tangle this org block on emacs 29.0.91 with emacs -Q #+begin_src conf :tangle /ssh:user@server|sudo::/etc/test.conf test #+end_src It hangs with Opening connection nil for root@server using sudo.... If I install emacs 28 everything works fine. Also when I manually do M-x find-file > /ssh:user@server|sudo::/etc/test.conf it finds with without problems and after that I can tangle the block until I restart emacs then it fails again. This again was tested with emacs -Q. If I try to tangle a non root file, the problem does not appear. I also tested on emacs 30 both on archlinux and opensuse tumbleweed. In GNU Emacs 29.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.17.8) of 2023-05-18 built on server Repository revision: f8d9e40d2c1d127a125adc097d985a0b6964a86c Repository branch: makepkg Windowing system distributor 'The X.Org Foundation', version 11.0.12101008 System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-modules --without-libotf --without-m17n-flt --without-gconf --with-native-compilation=yes --with-native-compilation=aot --with-xinput2 --with-x-toolkit=gtk3 --without-xaw3d --with-sound=no --with-tree-sitter --without-gpm --without-compress-install '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_MONETARY: bg_BG.UTF-8 value of $LC_TIME: bg_BG.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug tramp-cmds tramp-cache time-stamp tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell ls-lisp conf-mode vc-git diff-mode easy-mmode vc-dispatcher org-element org-persist org-id org-refile avl-tree generator oc-basic ol-eww eww xdg url-queue thingatpt mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util url-parse auth-source eieio eieio-core json map byte-opt url-vars gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time gnus-spec gnus-int gnus-range message sendmail mailcap yank-media puny rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util text-property-search mail-utils range mm-util mail-prsvr wid-edit ol-docview doc-view filenotify jka-compr image-mode exif dired dired-loaddefs ol-bibtex bibtex iso8601 ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color ring org-list org-footnote org-faces org-entities time-date noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs find-func cal-menu calendar cal-loaddefs org-version org-compat org-macs format-spec cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 274978 21651) (symbols 48 22206 2) (strings 32 78313 5263) (string-bytes 1 2419918) (vectors 16 42211) (vector-slots 8 755160 31482) (floats 8 332 154) (intervals 56 390 375) (buffers 984 13)) From debbugs-submit-bounces@debbugs.gnu.org Fri May 19 01:54:27 2023 Received: (at 63578) by debbugs.gnu.org; 19 May 2023 05:54:27 +0000 Received: from localhost ([127.0.0.1]:55166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzt4N-0005O9-Ca for submit@debbugs.gnu.org; Fri, 19 May 2023 01:54:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzt4M-0005Nv-1p for 63578@debbugs.gnu.org; Fri, 19 May 2023 01:54:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzt4F-0001oP-CW; Fri, 19 May 2023 01:54:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=mMzfd+tccCByNEBidUS+ted05ZdqvRRwjG7WcajNeWw=; b=RbKPYphqJpfi /Mwf3NWcLxkJbmsYhyOvHgPwBpyqOXAkFpA4UlewLifNijWuFqGkomwB+/yUa0fF3DwhtqFV6rWEG nlASvlbTU9PjyBJ/PJJJPrB1FkY2LJem+yhoKS/pcSeI/ETifYvZlEBX+nD5SrWEcGGGjuh849TjM IqV/FlBglQ0tvaKLGiHI39OqGLFGCAz4NVOVYEKPJsejPlmksVm3c/Z0mCsekH7BALcAEPeyxuytR fZsZKfOb8UyZ4cdzfl4AaZGJlHi4eEqa2B4EnhvruqGf8sEOvJeBpO/hvy1sVzczb6UBEpZesaNAw aXPmKqYHYLvc8YIdhqU9ag==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzt4B-00065z-8P; Fri, 19 May 2023 01:54:19 -0400 Date: Fri, 19 May 2023 08:54:27 +0300 Message-Id: <831qjcvpbg.fsf@gnu.org> From: Eli Zaretskii To: "k.ninev@cdots.bg" , Bastien Ihor Radchenko In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63578 Cc: 63578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 18 May 2023 22:21:16 +0300 > From: "k.ninev@cdots.bg" via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Triyng to tangle this org block on emacs 29.0.91 with emacs -Q > > #+begin_src conf :tangle /ssh:user@server|sudo::/etc/test.conf > test > #+end_src > > It hangs with Opening connection nil for root@server using sudo.... If I > install emacs 28 everything works fine. > > Also when I manually do M-x find-file > > /ssh:user@server|sudo::/etc/test.conf > it finds with without problems and after that I can tangle the block > until I restart emacs then it fails again. This again was tested with > emacs -Q. > > If I try to tangle a non root file, the problem does not appear. > > I also tested on emacs 30 both on archlinux and opensuse tumbleweed. Thank you for your report. Adding Org developers to CC, in case Org has something to do with this. From debbugs-submit-bounces@debbugs.gnu.org Fri May 19 02:29:23 2023 Received: (at 63578) by debbugs.gnu.org; 19 May 2023 06:29:23 +0000 Received: from localhost ([127.0.0.1]:55230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pztcB-0006L2-4s for submit@debbugs.gnu.org; Fri, 19 May 2023 02:29:23 -0400 Received: from mout02.posteo.de ([185.67.36.66]:55823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pztc6-0006Km-OG for 63578@debbugs.gnu.org; Fri, 19 May 2023 02:29:21 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 78A02240103 for <63578@debbugs.gnu.org>; Fri, 19 May 2023 08:29:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1684477752; bh=Pg+rSyW6Azzh9uoabSIYFL1SM4jgClQb2STk3SIUxyk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=M9dLAgmUMW6UkGqwpJWgSBm/XFXH+/AmbbgHyWwb0/GtMeKOe525yij7+WvKFLHWD jxdKsU5AYWzpf9yYkt0DojzjMfMAomdVGi9y/GakjmDVtiJwOszIrgV1SaOVdqjrgU YzZztwekE9eOPxuwMdx8/CE/KhzCIS94UjKnF5DffndmDDrgwomvfFpwHJaoIchYWr 0huMMEfrZJqgfrSRDfZ6jcmdjcdxnL5Q/Eygfw1NGLXA5gIMuaDp4fv+drHBoDE6sB G+KHiYkdho5hzVaEipaMr3g4NSDCNhnJMdMPycNbLiHCXQuGKfGfZ1ykkFXCJpU5kc ngs15RX1c6dFg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QMxkv5dqmz9rxK; Fri, 19 May 2023 08:29:11 +0200 (CEST) From: Ihor Radchenko To: Eli Zaretskii Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo In-Reply-To: <831qjcvpbg.fsf@gnu.org> References: <831qjcvpbg.fsf@gnu.org> Date: Fri, 19 May 2023 06:32:33 +0000 Message-ID: <87v8goltku.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, "k.ninev@cdots.bg" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> Triyng to tangle this org block on emacs 29.0.91 with emacs -Q >> >> #+begin_src conf :tangle /ssh:user@server|sudo::/etc/test.conf >> test >> #+end_src >> >> It hangs with Opening connection nil for root@server using sudo.... If I >> install emacs 28 everything works fine. > ... > Adding Org developers to CC, in case Org has something to do with > this. It would help to do M-x toggle-debug-on-quit ... try to tangle ... C-g, and share the backtrace. The suspicious, recently changed part of the tangle code is below. I do not see anything fishy there, even when file is remote. (unless (and (file-exists-p file-name) (let ((tangle-buf (current-buffer))) (with-temp-buffer (insert-file-contents file-name) (and (equal (buffer-size) (buffer-size tangle-buf)) (= 0 (let (case-fold-search) (compare-buffer-substrings nil nil nil tangle-buf nil nil))))))) ;; erase previous file (when (file-exists-p file-name) (delete-file file-name)) (write-region nil nil file-name) (mapc (lambda (mode) (set-file-modes file-name mode)) modes)) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at From debbugs-submit-bounces@debbugs.gnu.org Fri May 19 02:55:53 2023 Received: (at 63578) by debbugs.gnu.org; 19 May 2023 06:55:53 +0000 Received: from localhost ([127.0.0.1]:55256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzu1a-0001FH-LY for submit@debbugs.gnu.org; Fri, 19 May 2023 02:55:53 -0400 Received: from mail.cdots.bg ([91.92.199.54]:34318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzu1V-0001EU-KA for 63578@debbugs.gnu.org; Fri, 19 May 2023 02:55:37 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 7E430A0B83E3; Fri, 19 May 2023 09:55:27 +0300 (EEST) Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id L1hrOnZPQodP; Fri, 19 May 2023 09:55:26 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 3E55EA0B83E4; Fri, 19 May 2023 09:55:26 +0300 (EEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cdots.bg 3E55EA0B83E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdots.bg; s=38EB8BB6-1E4E-11E5-AEB1-E0FC2BDD2164; t=1684479326; bh=D6owaW6zjp4v7uRAVPKS7f0v3Li4uVcLxyPtSn32Y8Y=; h=Message-Id:From:To:Date:MIME-Version; b=A/8wp1SUwkRQrxI89RNz1msFZiYwdRWhupY28MSaofm9uJmXC+rK0LvPxXtNw3Q1l JfAMa0Udf7gTbtYbPVlrt8hhoMXoh84ebe6aXWuzMxLQWudjWiFtI0Rn8GzX/VA9g/ RCg9faCg2Xs32OUADjPi9wVZmOIj95p70+h5n65o= X-Virus-Scanned: amavisd-new at mail.cdots.bg Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6iqyM0VejwJz; Fri, 19 May 2023 09:55:26 +0300 (EEST) Received: from noip.localdomain (unknown [85.196.152.25]) by mail.cdots.bg (Postfix) with ESMTPSA id 050BAA0B83E3; Fri, 19 May 2023 09:55:25 +0300 (EEST) Content-Type: text/plain; charset=utf-8; format=flowed Message-Id: <1684478884235.2095630179.550284088@cdots.bg> From: Kostadin Ninev To: Ihor Radchenko , Eli Zaretskii Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo Date: Fri, 19 May 2023 06:55:25 +0000 In-Reply-To: <87v8goltku.fsf@localhost> References: <87v8goltku.fsf@localhost> X-Mailer: Vivaldi Mail User-Agent: Vivaldi Mail/1.5.2979.22 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >On Friday, May 19, 2023 9:32 AM (+03:00), Ihor Radchenko wrote: > It would help to do M-x toggle-debug-on-quit ... try to tangle ... C-g, > and share the backtrace. This the backtrace: Debugger entered--Lisp error: (quit "") signal(quit ("")) tramp-error(nil quit "") tramp-signal-hook- (quit ("")) signal(quit ("")) tramp-maybe-open-connection((tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil #("server" 0 6 (tramp-default t)) nil "/etc/test.conf" nil)) tramp-send-command((tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil #("server" 0 6 (tramp-default t)) nil "/etc/test.conf" nil) "test 0 2>/dev/null; echo tramp_exit_status $?") tramp-send-command-and-check((tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil #("server" 0 6 (tramp-default t)) nil "/etc/test.conf" nil) "test 0") tramp-get-test-command((tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil #("server" 0 6 (tramp-default t)) nil "/etc/test.conf" nil)) tramp-find-file-exists-command((tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil #("server" 0 6 (tramp-default t)) nil "/etc/test.conf" nil)) tramp-get-file-exists-command((tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil #("server" 0 6 (tramp-default t)) nil "/etc/test.conf" nil)) tramp-sh-handle-file-exists-p(#("/sudo:root@server:/etc/test.conf" 6 10 (tramp-default t) 11 17 (tramp-default t))) tramp-sh-file-name-handler(file-exists-p #("/sudo:root@server:/etc/test.conf" 6 10 (tramp-default t) 11 17 (tramp-default t))) apply(tramp-sh-file-name-handler file-exists-p #("/sudo:root@server:/etc/test.conf" 6 10 (tramp-default t) 11 17 (tramp-default t))) tramp-file-name-handler(file-exists-p #("/sudo:root@server:/etc/test.conf" 6 10 (tramp-default t) 11 17 (tramp-default t))) file-exists-p("/ssh:server|sudo::/etc/test.conf") #f(compiled-function (by-fn) #)(("/ssh:server|sudo::/etc/test.conf" ("conf" 5 "1.org" "file:/home/user/1.org::*test" "test:1" ((:colname-names) (:rowname-names) (:result-params "replace") (:result-type . value) (:results . "replace") (:exports . "code") (:tangle . "/ssh:server|sudo::/etc/test.conf") (:hlines . "no") (:noweb . "no") (:cache . "no") (:session . "none")) "test" nil))) org-babel-tangle(nil) funcall-interactively(org-babel-tangle nil) command-execute(org-babel-tangle) > Eli Zaretskii writes: > > >> Triyng to tangle this org block on emacs 29.0.91 with emacs -Q > >> > >> #+begin_src conf :tangle /ssh:user@server|sudo::/etc/test.conf > >> test > >> #+end_src > >> > >> It hangs with Opening connection nil for root@server using sudo.... If I > >> install emacs 28 everything works fine. > > ... > > Adding Org developers to CC, in case Org has something to do with > > this. > > It would help to do M-x toggle-debug-on-quit ... try to tangle ... C-g, > and share the backtrace. > > The suspicious, recently changed part of the tangle code is below. > I do not see anything fishy there, even when file is remote. > > (unless > (and (file-exists-p file-name) > (let ((tangle-buf (current-buffer))) > (with-temp-buffer > (insert-file-contents file-name) > (and > (equal (buffer-size) > (buffer-size tangle-buf)) > (= 0 > (let (case-fold-search) > (compare-buffer-substrings > nil nil nil > tangle-buf nil nil))))))) > ;; erase previous file > (when (file-exists-p file-name) > (delete-file file-name)) > (write-region nil nil file-name) > (mapc (lambda (mode) (set-file-modes file-name mode)) modes)) > -- Kostadin Ninev. From debbugs-submit-bounces@debbugs.gnu.org Fri May 19 03:14:45 2023 Received: (at 63578) by debbugs.gnu.org; 19 May 2023 07:14:45 +0000 Received: from localhost ([127.0.0.1]:55284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzuK5-0004C9-8A for submit@debbugs.gnu.org; Fri, 19 May 2023 03:14:45 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzuK2-0004Bo-5i for 63578@debbugs.gnu.org; Fri, 19 May 2023 03:14:44 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 61B61240105 for <63578@debbugs.gnu.org>; Fri, 19 May 2023 09:14:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1684480476; bh=I3+hPwBeS98HEbPK3qmiagpFSsmy0epg0spNq80T3B4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=grJ1hLbZy0lg8Dh6cyeR0YB4OIPi1bGI/Mn9HngVxbn6OFrSdD1g8B177aox8ltzm YNftfrepnxQfdiwH22B2NW2h2qO0Grws/KyibZLUiyy5D7egBoCdNDMAaA7qHLrfaX 9221FwNIn7726RfMToyCUAK3+5pifRwkBtpbQtBlXErTL6Tki6cq0yrRWP76Kb2+gg hBKQAtVCTL6Ue+86uiCqCeccQx8XHBzi6mkDCVrGuk/eahdRWXl0nzhlj4g4m597X8 3lictYRQC0R/jC/VIGtGTb2hlzqcAF3wGUtCni886muYBno+Hn2Xi+BoXqfjjtEDeX V0VPZyNdwLwCQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QMyl84Fbhz6tx5; Fri, 19 May 2023 09:14:28 +0200 (CEST) From: Ihor Radchenko To: Kostadin Ninev Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo In-Reply-To: <1684478884235.2095630179.550284088@cdots.bg> References: <87v8goltku.fsf@localhost> <1684478884235.2095630179.550284088@cdots.bg> Date: Fri, 19 May 2023 07:17:55 +0000 Message-ID: <87sfbslrh8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Kostadin Ninev writes: > >On Friday, May 19, 2023 9:32 AM (+03:00), Ihor Radchenko wrote: > > It would help to do M-x toggle-debug-on-quit ... try to tangle ... C-g, > > and share the backtrace. > > This the backtrace: Thanks! Does M-: (file-exists-p "/ssh:server|sudo::/etc/test.conf") also hang? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at From debbugs-submit-bounces@debbugs.gnu.org Fri May 19 03:18:11 2023 Received: (at 63578) by debbugs.gnu.org; 19 May 2023 07:18:11 +0000 Received: from localhost ([127.0.0.1]:55292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzuNP-0004IF-59 for submit@debbugs.gnu.org; Fri, 19 May 2023 03:18:11 -0400 Received: from mail.cdots.bg ([91.92.199.54]:35272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzuNN-0004I1-3y for 63578@debbugs.gnu.org; Fri, 19 May 2023 03:18:10 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 89269A0B83E3; Fri, 19 May 2023 10:18:03 +0300 (EEST) Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Wy24fMZBimyn; Fri, 19 May 2023 10:18:02 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 57551A0B83E4; Fri, 19 May 2023 10:18:02 +0300 (EEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cdots.bg 57551A0B83E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdots.bg; s=38EB8BB6-1E4E-11E5-AEB1-E0FC2BDD2164; t=1684480682; bh=PUXKWn7Xl2C+A56R2lnz+kRdD99KS44C0xEB3RDgCM4=; h=Message-Id:From:To:Date:MIME-Version; b=fI3inJh5eoIvxnUiyDXway5BjDeWbhaBgjgmbCqmV3kY5ZYowM99ofHrCwh2Klfva Oqkm2MtfA7BZBarUJBxSfXZsQL2oPjGEVi/M42SakjOFRgiWW19SM4Nkx4TUNWaLvi xpz1hGYkf0CbewzNOjaAB2CI59Gt6zfXELSWwFwQ= X-Virus-Scanned: amavisd-new at mail.cdots.bg Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wCTzO1ZdiZ5R; Fri, 19 May 2023 10:18:02 +0300 (EEST) Received: from noip.localdomain (unknown [85.196.152.25]) by mail.cdots.bg (Postfix) with ESMTPSA id A206AA0B83E3; Fri, 19 May 2023 10:18:01 +0300 (EEST) Content-Type: text/plain; charset=utf-8; format=flowed Message-Id: <1684480581573.1276958436.1578962293@cdots.bg> From: Kostadin Ninev To: Ihor Radchenko Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo Date: Fri, 19 May 2023 07:18:01 +0000 In-Reply-To: <87sfbslrh8.fsf@localhost> References: <87sfbslrh8.fsf@localhost> X-Mailer: Vivaldi Mail User-Agent: Vivaldi Mail/1.5.2979.22 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) No It succeeds and after that command I can even tangle the file until I restart emacs. On Friday, May 19, 2023 10:17 AM (+03:00), Ihor Radchenko wrote: > Kostadin Ninev writes: > > > >On Friday, May 19, 2023 9:32 AM (+03:00), Ihor Radchenko wrote: > > > It would help to do M-x toggle-debug-on-quit ... try to tangle ... C-g, > > > and share the backtrace. > > > > This the backtrace: > > Thanks! > Does M-: (file-exists-p "/ssh:server|sudo::/etc/test.conf") also hang? > -- Kostadin Ninev. From debbugs-submit-bounces@debbugs.gnu.org Fri May 19 03:25:06 2023 Received: (at 63578) by debbugs.gnu.org; 19 May 2023 07:25:06 +0000 Received: from localhost ([127.0.0.1]:55308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzuU5-0004TJ-Ld for submit@debbugs.gnu.org; Fri, 19 May 2023 03:25:05 -0400 Received: from mout01.posteo.de ([185.67.36.65]:42883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzuU2-0004Si-Jv for 63578@debbugs.gnu.org; Fri, 19 May 2023 03:25:05 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9D990240027 for <63578@debbugs.gnu.org>; Fri, 19 May 2023 09:24:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1684481096; bh=iyNWwv62OkcJi41xJ9AdlAqyogItPNanYiyC9PXbSQs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=GRt9yZDogVZq+4QkodgXuD6vp9hb01dIjgiZn+J7yr+fO/n9Ab9e2Osxf/q+o8gSZ h4TQmoVtQiVANs/IuXTeq3AUSrkTcTTcoZQCyzf5kZVpMjO6KDtdWtcUWbtah7W2ya 2NtGJxGZ/7V4tSOpHnsUV3aoroF0i+4Pjb/T56icMErwUiHvy23S8YHxTK6OwbRLhH 8L55vBeWdodwybSdtwFplZqW8M+9BV+i/tcfHtjsUz4n3L9J1QL6GbMJVJcFZVmV2k RYWr0eabXP+H6kTwbRueJ+OTZLiFepguwjeS9b32rVRJYYNsa5Gc4wqzWVc4FaSWuJ O7MqQCCjHgH7g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QMyzD0HdKz6tsf; Fri, 19 May 2023 09:24:56 +0200 (CEST) From: Ihor Radchenko To: Kostadin Ninev Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo In-Reply-To: <1684480581573.1276958436.1578962293@cdots.bg> References: <87sfbslrh8.fsf@localhost> <1684480581573.1276958436.1578962293@cdots.bg> Date: Fri, 19 May 2023 07:28:14 +0000 Message-ID: <87pm6wlr01.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Kostadin Ninev writes: > No It succeeds and after that command I can even tangle the file until I > restart emacs. Curious. But I still do not see anything wrong on the Org side. Maybe Eli has more to say. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at From debbugs-submit-bounces@debbugs.gnu.org Fri May 19 05:13:07 2023 Received: (at 63578) by debbugs.gnu.org; 19 May 2023 09:13:07 +0000 Received: from localhost ([127.0.0.1]:55418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzwAY-0007aT-Up for submit@debbugs.gnu.org; Fri, 19 May 2023 05:13:07 -0400 Received: from mail.cdots.bg ([91.92.199.54]:41416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzwAT-0007Zt-3i for 63578@debbugs.gnu.org; Fri, 19 May 2023 05:13:01 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 61AFEA0B83E2; Fri, 19 May 2023 12:12:51 +0300 (EEST) Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id drfg42dDk-QZ; Fri, 19 May 2023 12:12:50 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 1ACC9A0B83E4; Fri, 19 May 2023 12:12:50 +0300 (EEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cdots.bg 1ACC9A0B83E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdots.bg; s=38EB8BB6-1E4E-11E5-AEB1-E0FC2BDD2164; t=1684487570; bh=JzqP6OKp5p9eQMbvsAfRjnj4/xKF8rmQC3RtePzi1Z4=; h=Message-Id:From:To:Date:MIME-Version; b=ueXfchJaHuGmKUoeYzx4MQWTefFHRfJqalYfslqfjvzrvzY/oJH0KMj4k5ydzJ72p jDFcBVFJwxbaZb0KuPSGEOnn4O+1FnqgnSiaSVa1xGDNuGYG+894YHqXtdhm2dmMnh uFDWA+Zn+z9nlSfLuP0D0//yiSGI5fbvcFmuPzs0= X-Virus-Scanned: amavisd-new at mail.cdots.bg Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5f1YTxG_Qz4s; Fri, 19 May 2023 12:12:50 +0300 (EEST) Received: from noip.localdomain (unknown [85.196.152.25]) by mail.cdots.bg (Postfix) with ESMTPSA id EB4F1A0B83E2; Fri, 19 May 2023 12:12:49 +0300 (EEST) Content-Type: text/plain; charset=utf-8 Message-Id: <1684487266411.3880175074.322668347@cdots.bg> From: Kostadin Ninev To: Ihor Radchenko Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo Date: Fri, 19 May 2023 09:12:49 +0000 In-Reply-To: <87pm6wlr01.fsf@localhost> References: <87pm6wlr01.fsf@localhost> X-Mailer: Vivaldi Mail User-Agent: Vivaldi Mail/1.5.2979.22 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I did a test with (setq tramp-verbose 9) and it produced the following = buffers: *debug tramp/cache nil* ;; Emacs: 29.0.91 Tramp: 2.6.0.29.1 -*- mode: outline; coding: utf-8; -*- 11:51:28.340737 tramp-set-connection-property (7) # tramp-version 2.6.0.29.= 1 *debug tramp/ssh srv* ;; Emacs: 29.0.91 Tramp: 2.6.0.29.1 -*- mode: outline; coding: utf-8; -*- 11:51:28.340997 tramp-get-connection-property (7) # copy-program undef; = cache used: nil 11:51:28.342101 tramp-get-connection-property (7) # copy-program undef; = cache used: nil 11:51:28.342515 tramp-get-connection-property (7) # copy-program undef; = cache used: nil 11:51:28.342702 tramp-get-connection-property (7) # copy-program undef; = cache used: nil *debug tramp/sudo root@srv* ;; Emacs: 29.0.91 Tramp: 2.6.0.29.1 -*- mode: outline; coding: utf-8; -*- 11:51:28.341198 tramp-get-connection-property (7) # copy-program undef; = cache used: nil 11:51:28.342217 tramp-get-connection-property (7) # copy-program undef; = cache used: nil 11:51:28.342630 tramp-get-connection-property (7) # copy-program undef; = cache used: nil 11:51:28.342780 tramp-get-connection-property (7) # copy-program undef; = cache used: nil 11:51:28.342891 tramp-add-hops (5) # Add (#("^srv$" 1 4 (tramp-default t)) = #("^root$" 1 5 (tramp-default t)) #("/ssh:srv:" 0 9 (tramp-ad-hoc t))) to = =E2=80=98tramp-default-proxies-alist=E2=80=99 11:51:28.343172 tramp-get-file-property (8) # /etc/test.conf file-exists-p = undef; inhibit: 10; cache used: nil; cached at: nil 11:51:28.343246 tramp-get-file-property (8) # /etc/test.conf = file-attributes undef; inhibit: 10; cache used: nil; cached at: nil 11:51:28.343306 tramp-get-connection-property (7) # file-exists undef; = cache used: nil 11:51:28.343355 tramp-get-file-exists-command (5) # Finding command to = check if file exists 11:51:28.343432 tramp-get-connection-property (7) # test undef; cache used:= nil 11:51:28.376218 tramp-get-test-command (5) # Finding a suitable = =E2=80=98test=E2=80=99 command 11:51:28.376290 tramp-get-connection-property (7) # null-device undef; = cache used: nil 11:51:28.376492 tramp-set-connection-property (7) # null-device /dev/null 11:51:28.376512 tramp-get-connection-property (7) # process-name nil; cache= used: nil 11:51:28.376530 tramp-get-connection-property (7) # process-name nil; cache= used: nil 11:51:28.376546 tramp-get-connection-property (7) # process-buffer nil; = cache used: nil 11:51:28.376565 tramp-get-connection-property (7) # process-buffer nil; = cache used: nil 11:51:28.376579 tramp-set-connection-property (7) # process-buffer nil 11:51:28.376839 tramp-maybe-open-connection (3) # Opening connection nil = for root@srv using sudo... 11:51:28.376985 tramp-call-process (6) # =E2=80=98locale -a=E2=80=99 nil = *temp*-467150 11:51:28.377857 tramp-call-process (6) # 0 bg_BG.utf8 C C.UTF-8 en_US.utf8 POSIX 11:51:28.377890 tramp-get-local-locale (7) # locale en_US.utf8 11:51:36.189562 tramp-compute-multi-hops (1) # Quit: "Quit", "" 11:51:36.189751 tramp-maybe-open-connection (3) # Opening connection nil = for root@srv using sudo...failed 11:51:36.190872 tramp-get-connection-property (7) # process-buffer nil; = cache used: t 11:51:36.190925 tramp-get-file-property (8) # / file-truename nil; inhibit:= 10; cache used: nil; cached at: nil 11:51:36.190950 tramp-flush-directory-properties (8) # / 11:51:36.190984 tramp-flush-connection-properties (7) # (tramp-file-name = sudo root nil srv nil nil nil) (process-buffer null-device) * debug tramp/sudo nil* 11:51:28.341409 tramp-add-hops (5) # Add (nil nil #("/ssh:srv:" 0 9 = (tramp-ad-hoc t))) to =E2=80=98tramp-default-proxies-alist=E2=80=99 11:51:28.342332 tramp-add-hops (5) # Add (nil nil #("/ssh:srv:" 0 9 = (tramp-ad-hoc t))) to =E2=80=98tramp-default-proxies-alist=E2=80=99 I don't know much about debugging and tramp but when I do the same on emacs= 28 I get: tramp-compute-multi-hops (5) # Add (#("^srv$" 1 4 (tramp-default t)) = #("^root$" 1 5 (tramp-default t)) #("/ssh:srv:" 0 9 (tramp-ad-hoc t))) to = =E2=80=98tramp-default-proxies-alist=E2=80=99 instead of=20 11:51:36.189562 tramp-compute-multi-hops (1) # Quit: "Quit", ""=20 Maybe this will help narrow down the issue ? On Friday, May 19, 2023 10:28 AM (+03:00), Ihor Radchenko wrote: > Kostadin Ninev writes: >=20 > > No It succeeds and after that command I can even tangle the file until = I=20 > > restart emacs. >=20 > Curious. But I still do not see anything wrong on the Org side. > Maybe Eli has more to say. >=20 --=20 Kostadin Ninev. From debbugs-submit-bounces@debbugs.gnu.org Fri May 19 05:43:30 2023 Received: (at 63578) by debbugs.gnu.org; 19 May 2023 09:43:30 +0000 Received: from localhost ([127.0.0.1]:55465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzwe2-0008Kx-9v for submit@debbugs.gnu.org; Fri, 19 May 2023 05:43:30 -0400 Received: from mout.gmx.net ([212.227.15.19]:37151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzwdy-0008Ki-GN for 63578@debbugs.gnu.org; Fri, 19 May 2023 05:43:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1684489393; i=michael.albinus@gmx.de; bh=vo9P0kFFbeGuA/4T8Q1A1VSV9TySEAEk7M4Y7KiCB1w=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=UHmtULLTNyRfepEMl2ZCV8kPo9c4sILP7ynjG4zfu2tn29RUsqllY0Hjat30/Q0Om m5oG0I+d4Ly3qjKMCUx4asewMGlAi0OsRHnjviDGEe37ZYcNCl0xcIPUejSld98Kwv sDhWz40z+R6cZcwkcPfpZMLkLQrWr3ulty1BwQR5AKYbOZE0FYhFW7TV/zhPGAfQUG sa82ChHjfalLUdfahH4IrQ9QihozAbIX21+KN0nkJbSDly+JjguiMnAXjj0rqX9oHl K2qwNcqeIy/0eL3y5v1usp+VvdNj2gW+tI+rMJ0BPxHmp73laLAqob6lLxrIu3ND2N al23kXhrx7Dbw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.13]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MWASe-1pfad104QU-00XYW2; Fri, 19 May 2023 11:43:13 +0200 From: Michael Albinus To: Kostadin Ninev Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo In-Reply-To: <1684487266411.3880175074.322668347@cdots.bg> (Kostadin Ninev's message of "Fri, 19 May 2023 09:12:49 +0000") References: <87pm6wlr01.fsf@localhost> <1684487266411.3880175074.322668347@cdots.bg> Date: Fri, 19 May 2023 11:43:12 +0200 Message-ID: <87ilcou05r.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:ou4eMIShZbwygJ7ufRXIcSwb79HichJhaVy4I1JCdmPh2hbcGox XO7NlFKUhYLxSBB+OBFn0tLiHx0axX9QlHS+QR4f6EWGFzbCF5xYiaUQnZzOAyTUshmVriw 8g1ykcNq+vc+LMFww3cHeJY5nrnXVV/6eh4FqyUOP0E7pcQ3TujaBZTtf7Ol1rXRLFWqYZa PpplAyi/REi7spgpjtZ6Q== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:QSTM+BeUuSA=;+4bramuU0bNeng3l+BgqTyYeZda T++LfCjdZ4GpzGMzjCDuFOAxOAIzsJWTGvu+ljsH88IxBVkt6j3NEGzO+RDQSgD01nTUnH08Z BD0Jgj/FUcS5CKcfVl5grmNr3KM4PMl9yBAQfketzzpK0kTFolOeXl3yxqjw6A98NyRNgWSKL UgixWTWOr+nTp6wc92Q0sla/ceiXalt912EfW6VBwQOWHQBarmXaSi8NSXAhDPIe6hDqlkAfn dOJWV+4/BDRoEqRakoFL8a4wjpf6WWvhobYF0KMEaeeEW0HT7uyRduSiQjqJ7ga0leOoeK01c qmrDy/cHY8AEbat3mr5epXwvloK3bVnhCRpQxBaQLecZxKDLRFuZlveSTmuAPFHuU6HaQEprn tJ+Ex+fNdCU6ypBs5PVd/UMDcxYQ9kowF9eFM1IDVDhJVNcyCp/yEsMrDhBm0ymWbJVbmDPza myQNeJzjqd60K3AomO4RWrIVJIfzcx9UwvTzsDZUi5P3jXrX2+QwX/1frz6CPoidseGfK8RTX hkysm3zE1nSRunAyR+87KKqbpQBFhUlmg1eTZnGkLnjFiOfZ+PtxkzQ/hs79ZybWBnjW1hzyL rzpf5JSzEZAzu6IM9/eJicfwJxzntGtIxiUscF7bYaETV6q6WO0rDod5BqStnTEuRBWznnYFu VJ1D3ojXop46kYB/fn51bwL8uWOjZ9nyelwdRs8t2NRFOYJtYDH7VNP5evaB4+M/WGmBtACfA e534zxo22JJZg6rsCBdYRK16OLuQivJ/81sipNRnkuTXQMPa6i6/RkVsjRDrDhBUTmE7MSiX8 fv4B3iu4d3TO9cBBi1EruT5pOq8lpemCLyURSuvpXiMwclp5/yGKhUVCrcKEOjtjOrlyU+3ly 1e9mXJXObgwhjFs6G3+reUaPGqQKXFHueZ3FxwVPEIbYkdP/TuHd5GY6SbYi5e6Ic8XQYWOhz JnpteQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, Ihor Radchenko , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Kostadin Ninev writes: Hi Kostadin, > I did a test with (setq tramp-verbose 9) and it produced the following buffers: > > 11:51:28.377890 tramp-get-local-locale (7) # locale en_US.utf8 > 11:51:36.189562 tramp-compute-multi-hops (1) # Quit: "Quit", "" 8 seconds between the previous entry and Quit. So I guess you have entered "C-g". Could you, pls, rerun the test with tramp-verbose set to 10? Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri May 19 05:49:42 2023 Received: (at 63578) by debbugs.gnu.org; 19 May 2023 09:49:42 +0000 Received: from localhost ([127.0.0.1]:55476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzwk2-00007V-9k for submit@debbugs.gnu.org; Fri, 19 May 2023 05:49:42 -0400 Received: from mail.cdots.bg ([91.92.199.54]:43178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzwjz-00007G-7E for 63578@debbugs.gnu.org; Fri, 19 May 2023 05:49:41 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id DDBEAA0B83E3; Fri, 19 May 2023 12:49:32 +0300 (EEST) Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id RhFct6WFYXcG; Fri, 19 May 2023 12:49:31 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 2A1A6A0B83E4; Fri, 19 May 2023 12:49:31 +0300 (EEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cdots.bg 2A1A6A0B83E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdots.bg; s=38EB8BB6-1E4E-11E5-AEB1-E0FC2BDD2164; t=1684489771; bh=wFuEBqeze/OnOrPdlsfiR/PaEV3uMwDn/RbXe0Dd0OQ=; h=Message-Id:From:To:Date:MIME-Version; b=jNM4AQ+b1/Q2TsTunbZ+9vzJlT2rrI+M2wTAkVG9cBskrr4l0wqjOiDfpYOnRovil lsqWf4C+PvD6yXUGrU1w3OIN4FFxWYlDorSIIzBX4I+pN2YB1o53t9Lg4fa8nCj9i3 kVZwos8MWx77pNcjQoE0NkfEvZhNPL3/BCIeINKs= X-Virus-Scanned: amavisd-new at mail.cdots.bg Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Z5c6VZvknU57; Fri, 19 May 2023 12:49:31 +0300 (EEST) Received: from noip.localdomain (unknown [85.196.152.25]) by mail.cdots.bg (Postfix) with ESMTPSA id E23C8A0B83E3; Fri, 19 May 2023 12:49:30 +0300 (EEST) Content-Type: text/plain; charset=utf-8 Message-Id: <1684489692458.1394230168.4157159514@cdots.bg> From: Kostadin Ninev To: Michael Albinus Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo Date: Fri, 19 May 2023 09:49:30 +0000 In-Reply-To: <87ilcou05r.fsf@gmx.de> References: <87ilcou05r.fsf@gmx.de> X-Mailer: Vivaldi Mail User-Agent: Vivaldi Mail/1.5.2979.22 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, Ihor Radchenko , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Could you, pls, rerun the test with tramp-verbose set to 10? This is the output: ;; Emacs: 29.0.91 Tramp: 2.6.0.29.1 -*- mode: outline; coding: utf-8; -*- ;; Location: /usr/share/emacs/29.0.91/lisp/net/tramp.elc Git: / 12:46:32.805953 tramp-get-connection-property (7) # copy-program undef; = cache used: nil 12:46:32.806489 tramp-get-connection-property (7) # copy-program undef; = cache used: nil 12:46:32.806672 tramp-get-connection-property (7) # copy-program undef; = cache used: nil 12:46:32.806738 tramp-get-connection-property (7) # copy-program undef; = cache used: nil 12:46:32.806787 tramp-add-hops (5) # Add (#("^srv$" 1 4 (tramp-default t)) = #("^root$" 1 5 (tramp-default t)) #("/ssh:srv:" 0 9 (tramp-ad-hoc t))) to = =E2=80=98tramp-default-proxies-alist=E2=80=99 12:46:32.806911 tramp-get-file-property (8) # /etc/test.conf file-exists-p = undef; inhibit: 10; cache used: nil; cached at: nil 12:46:32.806941 tramp-get-file-property (8) # /etc/test.conf = file-attributes undef; inhibit: 10; cache used: nil; cached at: nil 12:46:32.806966 tramp-get-connection-property (7) # file-exists undef; = cache used: nil 12:46:32.806984 tramp-get-file-exists-command (5) # Finding command to = check if file exists 12:46:32.807017 tramp-get-connection-property (7) # test undef; cache used:= nil 12:46:32.807034 tramp-get-test-command (5) # Finding a suitable = =E2=80=98test=E2=80=99 command 12:46:32.807057 tramp-get-connection-property (7) # null-device undef; = cache used: nil 12:46:32.807236 tramp-set-connection-property (7) # null-device /dev/null 12:46:32.807257 tramp-get-connection-property (7) # process-name nil; cache= used: nil 12:46:32.807276 tramp-get-connection-property (7) # process-name nil; cache= used: nil 12:46:32.807295 tramp-get-connection-property (7) # process-buffer nil; = cache used: nil 12:46:32.807315 tramp-get-connection-property (7) # process-buffer nil; = cache used: nil 12:46:32.807335 tramp-set-connection-property (7) # process-buffer nil 12:46:32.807495 tramp-maybe-open-connection (3) # Opening connection nil = for root@srv using sudo... 12:46:32.807686 tramp-call-process (6) # =E2=80=98locale -a=E2=80=99 nil = *temp*-119282 12:46:32.808395 tramp-call-process (6) # 0 bg_BG.utf8 C C.UTF-8 en_US.utf8 POSIX 12:46:32.808429 tramp-get-local-locale (7) # locale en_US.utf8 12:46:43.771992 tramp-compute-multi-hops (10) #=20 backtrace() tramp-error((tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil = #("srv" 0 3 (tramp-default t)) nil "/etc/test.conf" nil) quit "") tramp-signal-hook-function(quit nil) #f(compiled-function () #)() format-spec(#("/ssh:srv:" 0 9 (tramp-ad-hoc t)) ((117 . "") (104 . = #("srv" 0 3 (tramp-ad-hoc t))))) tramp-compute-multi-hops((tramp-file-name "sudo" #("root" 0 4 = (tramp-default t)) nil #("srv" 0 3 (tramp-default t)) nil "/etc/test.conf" = nil)) tramp-maybe-open-connection((tramp-file-name "sudo" #("root" 0 4 = (tramp-default t)) nil #("srv" 0 3 (tramp-default t)) nil "/etc/test.conf" = nil)) tramp-send-command((tramp-file-name "sudo" #("root" 0 4 (tramp-default = t)) nil #("srv" 0 3 (tramp-default t)) nil "/etc/test.conf" nil) "test 0 = 2>/dev/null; echo tramp_exit_status $?") tramp-send-command-and-check((tramp-file-name "sudo" #("root" 0 4 = (tramp-default t)) nil #("srv" 0 3 (tramp-default t)) nil "/etc/test.conf" = nil) "test 0") tramp-get-test-command((tramp-file-name "sudo" #("root" 0 4 = (tramp-default t)) nil #("srv" 0 3 (tramp-default t)) nil "/etc/test.conf" = nil)) tramp-find-file-exists-command((tramp-file-name "sudo" #("root" 0 4 = (tramp-default t)) nil #("srv" 0 3 (tramp-default t)) nil "/etc/test.conf" = nil)) tramp-get-file-exists-command((tramp-file-name "sudo" #("root" 0 4 = (tramp-default t)) nil #("srv" 0 3 (tramp-default t)) nil "/etc/test.conf" = nil)) tramp-sh-handle-file-exists-p(#("/sudo:root@srv:/etc/test.conf" 6 10 = (tramp-default t) 11 14 (tramp-default t))) tramp-sh-file-name-handler(file-exists-p #("/sudo:root@srv:/etc/test.= conf" 6 10 (tramp-default t) 11 14 (tramp-default t))) apply(tramp-sh-file-name-handler file-exists-p #("/sudo:root@srv:/etc/tes= t.conf" 6 10 (tramp-default t) 11 14 (tramp-default t))) tramp-file-name-handler(file-exists-p #("/sudo:root@srv:/etc/test.conf" 6= 10 (tramp-default t) 11 14 (tramp-default t))) file-exists-p("/ssh:srv|sudo::/etc/test.conf") #f(compiled-function (by-fn) #)(("/ssh:srv|su= do::/etc/test.conf" ("conf" 14 "1.org" "file:/home/dinko/1.org::*test" = "test:1" ((:colname-names) (:rowname-names) (:result-params "replace") = (:result-type . value) (:results . "replace") (:exports . "code") (:tangle = . "/ssh:srv|sudo::/etc/test.conf") (:hlines . "no") (:noweb . "no") (:cache= . "no") (:session . "none")) "test" nil))) org-babel-tangle(nil) funcall-interactively(org-babel-tangle nil) command-execute(org-babel-tangle) 12:46:43.772057 tramp-compute-multi-hops (1) # Quit: "Quit", "" 12:46:43.772218 tramp-maybe-open-connection (3) # Opening connection nil = for root@srv using sudo...failed 12:46:43.772930 tramp-get-connection-property (7) # process-buffer nil; = cache used: t 12:46:43.772992 tramp-get-file-property (8) # / file-truename nil; inhibit:= 10; cache used: nil; cached at: nil 12:46:43.773033 tramp-flush-directory-properties (8) # / 12:46:43.773080 tramp-flush-connection-properties (7) # (tramp-file-name = sudo root nil srv nil nil nil) (process-buffer null-device) --=20 Kostadin Ninev. From debbugs-submit-bounces@debbugs.gnu.org Fri May 19 06:57:16 2023 Received: (at 63578) by debbugs.gnu.org; 19 May 2023 10:57:16 +0000 Received: from localhost ([127.0.0.1]:55508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzxnQ-0002Wp-AJ for submit@debbugs.gnu.org; Fri, 19 May 2023 06:57:16 -0400 Received: from mail.cdots.bg ([91.92.199.54]:47312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzxnO-0002Wc-Ih for 63578@debbugs.gnu.org; Fri, 19 May 2023 06:57:14 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id DA58EA0B83E3; Fri, 19 May 2023 13:57:08 +0300 (EEST) Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id cYcOFjHYx6XV; Fri, 19 May 2023 13:57:08 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 4377CA0B83E4; Fri, 19 May 2023 13:57:08 +0300 (EEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cdots.bg 4377CA0B83E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdots.bg; s=38EB8BB6-1E4E-11E5-AEB1-E0FC2BDD2164; t=1684493828; bh=hDmrgbfuMWo1Ai7iIwpS+AFlprXEDbCBEFjiKo+T5Ig=; h=Message-Id:From:To:Date:MIME-Version; b=ZUlvFXa90yZtSPwecKBH9IOxa7q0KzAF641b6shZSXKYH/OmRIdYgG7YTqiWcpY7b 5MeWURju6PioKo7cwpoY3EDeoi1PCDHG84ts2k3H0byZpK459C/qROCxyoX2CnGYw0 3kt+wVrQdPu43zwmmA5N85fc6QTcL+g7wgV3Txjc= X-Virus-Scanned: amavisd-new at mail.cdots.bg Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id rfg5J2JlCRzN; Fri, 19 May 2023 13:57:08 +0300 (EEST) Received: from noip.localdomain (unknown [85.196.152.25]) by mail.cdots.bg (Postfix) with ESMTPSA id 1BE3FA0B83E3; Fri, 19 May 2023 13:57:08 +0300 (EEST) Content-Type: text/plain; charset=utf-8; format=flowed Message-Id: <1684493686735.2903948638.4026169748@cdots.bg> From: Kostadin Ninev To: Michael Albinus Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo Date: Fri, 19 May 2023 10:57:07 +0000 In-Reply-To: <87ilcou05r.fsf@gmx.de> References: <87ilcou05r.fsf@gmx.de> X-Mailer: Vivaldi Mail User-Agent: Vivaldi Mail/1.5.2979.22 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, Ihor Radchenko , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This patch fixes the problem for me but I'm positive that its not correct and may brake something: --- /usr/share/emacs/29.0.91/lisp/net/tramp.el 2023-05-18 15:20:57.000000000 +0300 +++ tramp.el 2023-05-19 13:51:36.270802339 +0300 @@ -4678,7 +4678,7 @@ ;; Add the hop. (push l target-alist) ;; Start next search. - (setq choices tramp-default-proxies-alist))))) + (setq choices nil))))) ;; Foreign and out-of-band methods are not supported for multi-hops. (when (cdr target-alist) I hope this is enough information to help fix this bug. From debbugs-submit-bounces@debbugs.gnu.org Sat May 20 04:31:02 2023 Received: (at 63578) by debbugs.gnu.org; 20 May 2023 08:31:02 +0000 Received: from localhost ([127.0.0.1]:57846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0HzS-0001ow-2O for submit@debbugs.gnu.org; Sat, 20 May 2023 04:31:02 -0400 Received: from mail.cdots.bg ([91.92.199.54]:46212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0HzO-0001oO-Su for 63578@debbugs.gnu.org; Sat, 20 May 2023 04:31:00 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 1D0D2A0B83E2; Sat, 20 May 2023 11:30:53 +0300 (EEST) Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id OJ88BCK_Khdt; Sat, 20 May 2023 11:30:52 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 34400A0B83E4; Sat, 20 May 2023 11:30:52 +0300 (EEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cdots.bg 34400A0B83E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdots.bg; s=38EB8BB6-1E4E-11E5-AEB1-E0FC2BDD2164; t=1684571452; bh=hNTKrexLS7W8115J0imfedORmARKgUX4ikykcV5tark=; h=Message-Id:From:To:Date:MIME-Version; b=HlbPuodfH3V42uZmSeh+bY6TnKErICISKuM5PZyaJsOZujGwe0TsP98hrsA5gBYje M1g93dJ6irIrUWGMkd9mfymrvviexVpkYhypmum7KmZcGjK82q78bgKPuCXpBa+Nc2 SGCSyG4s9h7deT3TPXAuZQpIwrPJiE1yOSLOQwao= X-Virus-Scanned: amavisd-new at mail.cdots.bg Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id n6PbLN_L72dF; Sat, 20 May 2023 11:30:52 +0300 (EEST) Received: from noip.localdomain (unknown [85.196.152.25]) by mail.cdots.bg (Postfix) with ESMTPSA id EDCA6A0B83E2; Sat, 20 May 2023 11:30:51 +0300 (EEST) Content-Type: text/plain; charset=utf-8; format=flowed Message-Id: <1684571284962.2541076370.3559102008@cdots.bg> From: Kostadin Ninev To: Michael Albinus Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo Date: Sat, 20 May 2023 08:30:50 +0000 In-Reply-To: <87ilcou05r.fsf@gmx.de> References: <87ilcou05r.fsf@gmx.de> X-Mailer: Vivaldi Mail User-Agent: Vivaldi Mail/1.5.2979.22 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, Ihor Radchenko , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. From debbugs-submit-bounces@debbugs.gnu.org Sat May 20 07:17:06 2023 Received: (at 63578) by debbugs.gnu.org; 20 May 2023 11:17:07 +0000 Received: from localhost ([127.0.0.1]:57956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0KaA-0000v6-JZ for submit@debbugs.gnu.org; Sat, 20 May 2023 07:17:06 -0400 Received: from mout.gmx.net ([212.227.15.15]:60991) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0Ka5-0000uV-Qn for 63578@debbugs.gnu.org; Sat, 20 May 2023 07:17:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1684581408; i=michael.albinus@gmx.de; bh=MZpXeu6mXd3l5LotMP1jX+03PIqwBLDPwP36+nbZ+UI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=bVRMWgBfJIB0udLwqti9DWmObH0ZJObb6O9N9NBPdeJa9e2R8U3h5FK50lFPT4iuP w5cajFJeMGqnXtXX9bKoXCi2aSnibwQDhZyA91opaqU0LZ0vSaKd8CVALWVPtcOA/2 Z1zCRGnpiijeUci6ANiSu+Cm0yb+pf/xU4yiPAIt9OFN+/rM1/RPj2wALpKMIlfaGm VU8DhrVJJlHjEdbMBaVaDwT9jdTLjxdVlKHXXUp1LvploS+//QTU7lwVzR7aCWKdr+ LksAP1Vu9GDzQ76Qd/mDP/7F1QOl2MVn/yrCWBlhPn7jZC+wWu4BK+nExLUYxqTJ9r 3SMJUnI0Uv8Aw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.13]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mof5H-1qT2gw3Dq5-00p5O6; Sat, 20 May 2023 13:16:47 +0200 From: Michael Albinus To: Kostadin Ninev Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo In-Reply-To: <1684571284962.2541076370.3559102008@cdots.bg> (Kostadin Ninev's message of "Sat, 20 May 2023 08:30:50 +0000") References: <87ilcou05r.fsf@gmx.de> <1684571284962.2541076370.3559102008@cdots.bg> Date: Sat, 20 May 2023 13:16:46 +0200 Message-ID: <874jo745i9.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:svTnFT3bLsPCdc0X2KpXPktQiJd4uoXMPVcAqqcEolzTe80QoPg wLwFbVgrlKwRPc5Ob2CIY+LXkj7z0SQkPIkXwL82MY25uhXJeal2MpkADP8BGX+LKq/lLwN 73IGqaaGNR53C7H/cwb6RZ1u746h6bsKgAAzbh7I9WQkGUgS495XuDlqbo5y7jXRtUyrcT0 wss60eXvQf5QptRxc3SFA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:PknMwkXj2ek=;Cf8FlVGrDFjP6Ocn36/WJOPPrkO FDCRxpFbEEuEiSBhPuILD8Xf3hmN+4uGXxg8ZfRvxBC6MhscYQ5LovbnBfPvB2C0PuO5lADdk h47EXC+b8xJI9lTLsgSj5ivijvo4EWqTMAUK8g8Aj0FldCPurItKtasMa8rl4Q/sp0VQHrcHO v1iRNIPt4KONThBG4RAiLr/X8aYKd0ftkXcz9gSsbvJnSeP2+6RJrBXxp8ILuFAaBrivPAlM4 vqqx/N7IQtOygyaajHgf6fVW9sRdyn0mhvRtzIVOhEqVsgBXfJzkF80oVDovVSA5p7cjrzPkl 77HM3lQ0ArhDXHT1qUxiUYGjUZsW9dd9b1X8I7nA15Um0uNMqsAtx5QHloi0ibfWVenIHMi98 dbfWMlSR5jDJFyDY94SVxweHfrzLT9HlxD0d+4CWbXcyr6CcOndccRFjYkD67DGRfpuJ5IvRp raSfPOoW7Xx2rEuq+3qCiVHkRXsVAO2p+PmBhkdekUVC6R3QiG9IAapnSgz56/LyzOi6sN98t oMiVDx6j09TqMi5AGSrJFncvJ33IuP86rXEeLkC3cWjYQCYrHF+XVdINf5Pihc3ND22KjqML2 dBODJbzKS4RVQc2kkmfbj2GmTxjnkIZv9CjEsfIMYX8oiTGbFNRliMXclapPWx9BINUJOZWTr K9rYpbVbAezxa1Z8l5Tz6YulezUa4yRq01Gm+AngM6Hz7ke+llwjWfYpSjG+QIWHNa4LX1cbs LJcG6lfFxPY6z8Q12eiYLvveXHRLVwYz74jX9ONni+8KuYGpBdazTuw7MLFYFSa/HixFLy20W lfD2X2gCMonB8JlgQDoRPfZjMzDOclToEcgEpPuOFZRtrqZ7GI9GS1+yYEvPBgOOMmz3MTUWx Q/Co/XvCXLUKsykfvoiIgPfh46ZmdBJIl8ezNyIvuccTbC47P93Wqe0m3t94+mBfBpIpAFbsJ JXRXsQ== Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, Ihor Radchenko , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Kostadin Ninev writes: Hi Kostadin, > 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= )) It doesn't look proper to me; we cannot expect that both host-port and user-domain are always non-nil. > I realy hope this is fixed before the release of emacs 29.1. Let me > know if I can anything else.-- Kostadin Ninev. I have no idea yet what goes wrong, I'm trying to assemble a recipe for reproduction first. Perhaps you can send the value of tramp-default-proxies-alist at the moment everything goes wrong. Do you use several multi-hops in parallel? Something like "/ssh:user@server|sudo::" and "/ssh:anotheruser@anotherserver|sudo::"? And while it might be good to have it fixed in Emacs 29.1, it is not a must. There are regular Tramp releases on GNU ELPA, which could fix it also after the Emacs 29.1 release. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sat May 20 07:26:21 2023 Received: (at 63578) by debbugs.gnu.org; 20 May 2023 11:26:21 +0000 Received: from localhost ([127.0.0.1]:57961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0Kj6-00018Y-Ne for submit@debbugs.gnu.org; Sat, 20 May 2023 07:26:20 -0400 Received: from mail.cdots.bg ([91.92.199.54]:52650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0Kj2-00018D-Ih for 63578@debbugs.gnu.org; Sat, 20 May 2023 07:26:19 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 55B3FA0B83E2; Sat, 20 May 2023 14:26:09 +0300 (EEST) Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id UMiCN7xMvMj7; Sat, 20 May 2023 14:26:06 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 344FDA0B83E4; Sat, 20 May 2023 14:26:06 +0300 (EEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cdots.bg 344FDA0B83E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdots.bg; s=38EB8BB6-1E4E-11E5-AEB1-E0FC2BDD2164; t=1684581966; bh=igM+RU2F5U/qywiYkrjzv9QdF16rIrFeGM9sndoBCD8=; h=Message-Id:From:To:Date:MIME-Version; b=cldIDUnuii8UnD525//tp+rgoeQezSMpdbhcw9GqgZAv3+OjGxuyvA0CYi17rtRXb yeLf7Ynx7JlFKd9tQV1NQ7Lb5/eapl3HKY4ZIJBRlriBP8SFjkKdX6FcY7WyW+wx4P rpKjilGRHmjK0PejAiIBuPsiOiKs9OMelRirI4Vw= X-Virus-Scanned: amavisd-new at mail.cdots.bg Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6TZGnI2DAY9h; Sat, 20 May 2023 14:26:06 +0300 (EEST) Received: from noip.localdomain (unknown [85.196.152.25]) by mail.cdots.bg (Postfix) with ESMTPSA id E1DD2A0B83E2; Sat, 20 May 2023 14:26:05 +0300 (EEST) Content-Type: text/plain; charset=utf-8 Message-Id: <1684581757049.3940947361.4287254076@cdots.bg> From: Kostadin Ninev To: Michael Albinus Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo Date: Sat, 20 May 2023 11:26:05 +0000 In-Reply-To: <874jo745i9.fsf@gmx.de> References: <874jo745i9.fsf@gmx.de> X-Mailer: Vivaldi Mail User-Agent: Vivaldi Mail/1.5.2979.22 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, Ihor Radchenko , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > 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. From debbugs-submit-bounces@debbugs.gnu.org Sat May 20 07:50:20 2023 Received: (at 63578) by debbugs.gnu.org; 20 May 2023 11:50:20 +0000 Received: from localhost ([127.0.0.1]:57975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0L6J-0004KQ-OD for submit@debbugs.gnu.org; Sat, 20 May 2023 07:50:20 -0400 Received: from mout.gmx.net ([212.227.15.15]:50499) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0L6F-0004K8-CH for 63578@debbugs.gnu.org; Sat, 20 May 2023 07:50:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1684583407; i=michael.albinus@gmx.de; bh=Fb3FjhJ0o89QFyvNZkM8m6+kZraSbg6qcU0rH/FcNyU=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=ofpSdban7Qy+FlWJxDwn2dIjhM5/JcJOc7/oXNZwJjjBPCCaFFGg8+o3P/BvOKD8L U5ZeDQiwKdfvIAyyt59nbYZOvJ+radqwmGbnySsRj+cIBDJIZoAZFBKuy8Tcj4/chy kZN0pXlQ+Go9RGSYls+jiFYxDfOdxGR0Rp26vCgD6ibq6z8UDcLKcz0CFR/4+ZcG/s aZd3ZlSFLYtmtsug8UTbnHQtvFGmpvlWRsR7jz3lzENX/1rbLsjBE49txURN5M4/Y8 cWovxlIhimxnNnjRErxJ9+oJuyreaZFNc3XM8GOuHWGY6LC17pcBeEwLpq7i3r/WHv e28eigtwr5iJg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.13]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MtfJd-1qHbSj3WpD-00v7Sy; Sat, 20 May 2023 13:50:06 +0200 From: Michael Albinus To: Kostadin Ninev Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo In-Reply-To: <1684581757049.3940947361.4287254076@cdots.bg> (Kostadin Ninev's message of "Sat, 20 May 2023 11:26:05 +0000") References: <874jo745i9.fsf@gmx.de> <1684581757049.3940947361.4287254076@cdots.bg> Date: Sat, 20 May 2023 13:50:06 +0200 Message-ID: <87zg5z2pe9.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:ZBli5Vtss7naPNS9qsm9sHrsYJXRhKgMQZvmoB/mmnQ7NHgEeYa YayfYKJN6XujoIqsMdqe0mTmaCD9CCKKq2GCCqIhs9E8T6guBohH2d+55kQSsPaz5FaufPb Lb6UvHaC8sM/K5d1cnpALzJRa1BItGb72qj+ydZqY44CzDK+JzSyaMRC4RRP7JDjdl6Ymvv uLH17j3awVhMrYuaPhPSQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:LlMgQZDhW/0=;f4t59tN3KE5u+fzMCPD5M7KMUgF 1nrK2PmhV120cbaT2RDpk4tS90bA/vPVtyky8ZCKoRTs+ahwKFTW5ysx1ReNc8ipSlZBkHFRQ zPe+M250aej/RrufLn1ejAuCs/zxKMQ/L72z3vEzHsl3aPUSdmnOnMPISQRR5o7Tj5TieStv9 zP2Kx22y+D9NIUJu+QKF1BZcpvtW6H16VknwZtUt3Kt5Rzh5Dn56Ra/vOHfP8WiZkAvTIWPNk gH8Ea34OmpiXQbG2oPZfpx1H1q2lN+Q7v9SsWLOk3Y7R4DdpjeStvN32GivxiikxzsBu0EtqO nWFJABtlc/Jh9oWQTw9ogkzzAUEyQUkTgYF9GJ9j1UcbcqHfzUcZ9k82+4EOholf6yP+t5ytF 9NuRxbpjLcG5ZRg5+0bb0KR0ii4tbgwxqZ/4m6kqhmMpNBDh94MU8Xv6c3x0JTNqEej4gzxtz RF7/fIYVGD97Bgh0g/+EnACyg6JkmkaLzRmWOwKayXsl4wCBadRG1BB/5cvmLHq0V/xL1sBQA cZWM9VTWsqzRkNE+WlLTkQ/kMIgtCpIh6Ef/8yi7EZDXJic6AqZEF3a7SVUoOZAVGYheaq82A O1zR/jAQ7Yr1ZdbY/PhliuZAD6b/4hLSEoXFM1nSYIdXOCOGOf5a9Fz9rGM7xuY7HAYoyLhV1 MLP13EWnknc/EAu9v7soBH/nv81mkkw+grQ89bA7shBpvCI25NWjqWrr5ipVtHEFfcc05lEnd M9ZWCfWrKQC8ZFKHyPwW2LcBkfJVfS1EkJvUS8c/jygvT3cATnCxukP6GH8JS5osBiF/QPKad 46eEGwEEY5kh6qHzFfmzKZEoQ0HPJhaa2uwC13ofoWAjVZbqPvWAFXCPojD0OB+WKZLRj0reH 3Q7Ef7ZdwiSpb+qHV/ABOJRWyOJ+7fdNbk87hswLblbqwfVYM/SogYQGi6gvgt0x+jT462K6c mLlirFgqjLcsOfT2Z5GdK88VZzk= Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, Ihor Radchenko , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Kostadin Ninev writes: Hi Kostadin, >> 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)))) Thanks. Perhaps you could help me with the recipe (I'm not an Org user). I have created a file ~/tmp/123.org with the content =2D-8<---------------cut here---------------start------------->8--- #+begin_src conf :tangle /ssh:user@host|sudo::/etc/test.conf test #+end_src =2D-8<---------------cut here---------------end--------------->8--- "user" and "host" are existing ones in my local domain. When I call =2D-8<---------------cut here---------------start------------->8--- emacs -Q -l tramp --eval '(setq tramp-verbose 10 debug-on-quit t)' ~/tmp/1= 23.org =2D-8<---------------cut here---------------end--------------->8--- and I do eval the Org src block with "C-c C-c", I get the message =2D-8<---------------cut here---------------start------------->8--- org-babel-execute-src-block: No org-babel-execute function for conf! =2D-8<---------------cut here---------------end--------------->8--- What do I miss? Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sat May 20 07:53:28 2023 Received: (at 63578) by debbugs.gnu.org; 20 May 2023 11:53:29 +0000 Received: from localhost ([127.0.0.1]:57979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0L9M-0004Td-Bh for submit@debbugs.gnu.org; Sat, 20 May 2023 07:53:28 -0400 Received: from mail.cdots.bg ([91.92.199.54]:53560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0L9I-0004TI-Gw for 63578@debbugs.gnu.org; Sat, 20 May 2023 07:53:27 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 0DCF5A0B83E2; Sat, 20 May 2023 14:53:19 +0300 (EEST) Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id fiZaf5U0pQ-n; Sat, 20 May 2023 14:53:18 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 5A71FA0B83E4; Sat, 20 May 2023 14:53:18 +0300 (EEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cdots.bg 5A71FA0B83E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdots.bg; s=38EB8BB6-1E4E-11E5-AEB1-E0FC2BDD2164; t=1684583598; bh=T95aLvWefGOrRVN4vtSYVXgs5RhajMHEoWV6PsDEGm4=; h=Message-Id:From:To:Date:MIME-Version; b=KoJr+Fy39Jx798ybKDofgAvqFb3rKkrtgEISyRU8efAffzU1WVT6x6rnJh0zjfVz8 xc5WVP2XXJfIJM3E8IhURRmkghE7KD5mVNImV/fixtiCnISce/aZ1EOH0ymlqeWfqQ RNBntRQSu+bkTlb87OJHsZ/9tbdmxtFrcjfp/43g= X-Virus-Scanned: amavisd-new at mail.cdots.bg Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id l3M3xxY3z5Nx; Sat, 20 May 2023 14:53:18 +0300 (EEST) Received: from noip.localdomain (unknown [85.196.152.25]) by mail.cdots.bg (Postfix) with ESMTPSA id 1A766A0B83E2; Sat, 20 May 2023 14:53:18 +0300 (EEST) Content-Type: text/plain; charset=utf-8; format=flowed Message-Id: <1684583439817.4152010931.2860929632@cdots.bg> From: Kostadin Ninev To: Michael Albinus Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo Date: Sat, 20 May 2023 11:53:17 +0000 In-Reply-To: <87zg5z2pe9.fsf@gmx.de> References: <87zg5z2pe9.fsf@gmx.de> X-Mailer: Vivaldi Mail User-Agent: Vivaldi Mail/1.5.2979.22 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, Ihor Radchenko , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) You want ta call org-babel-tangle or C-c C-v C-t to create the file C-c C-c attempts to execute the contents of the block. On Saturday, May 20, 2023 2:50 PM (+03:00), Michael Albinus wrote: > Kostadin Ninev writes: > > Hi Kostadin, > > >> 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)))) > > Thanks. > > Perhaps you could help me with the recipe (I'm not an Org user). I have > created a file ~/tmp/123.org with the content > > --8<---------------cut here---------------start------------->8--- > #+begin_src conf :tangle /ssh:user@host|sudo::/etc/test.conf > test > #+end_src > --8<---------------cut here---------------end--------------->8--- > > "user" and "host" are existing ones in my local domain. When I call > > --8<---------------cut here---------------start------------->8--- > emacs -Q -l tramp --eval '(setq tramp-verbose 10 debug-on-quit t)' ~/tmp/123.org > --8<---------------cut here---------------end--------------->8--- > > and I do eval the Org src block with "C-c C-c", I get the message > > --8<---------------cut here---------------start------------->8--- > org-babel-execute-src-block: No org-babel-execute function for conf! > --8<---------------cut here---------------end--------------->8--- > > What do I miss? > > Best regards, Michael. > -- Kostadin Ninev. From debbugs-submit-bounces@debbugs.gnu.org Sat May 20 10:48:25 2023 Received: (at 63578) by debbugs.gnu.org; 20 May 2023 14:48:25 +0000 Received: from localhost ([127.0.0.1]:59077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0Nse-0000z2-Ru for submit@debbugs.gnu.org; Sat, 20 May 2023 10:48:25 -0400 Received: from mout.gmx.net ([212.227.15.18]:38755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0Nsc-0000y8-1Y for 63578@debbugs.gnu.org; Sat, 20 May 2023 10:48:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1684594088; i=michael.albinus@gmx.de; bh=iv/GzKrdaduDnUpe62j5ZRKDOiuz+AOTPzHi2qlS3iQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=rKjcoqwH9oxg4kuCGMjumsVKv0nCQiuWzJa9T5pNWkaT4U4yNqORSjwjmIXo8Ui0s nL5Tc1p5f9PqWa1jLn+9GHh+fm3DcSTUPc69QpPQKSs4KstDxnN4/1pRPZRBxVPIm6 f+Sd0lkLr/wbSCZ1TtH2n/Pwo9BfQ21RG7Lf+qFaPGLz4uwoUZXBLirzB6Isih6iTX s5iL4IxvCO0K4HTd+kNb6Jv+pRIKGOIlzFKPYMW8NeYN+vpE7bIAMr/X+P49ElKf2H MzABy2oUYP2D3QWfPUoTd2Sqw/ksTmkqfv8d/ICp+jUaZJjdGE4JWQPOH/5+2kcOf8 WnXqHY+hyzqwA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.13]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MNt0M-1pktIO0rlY-00OF7n; Sat, 20 May 2023 16:48:08 +0200 From: Michael Albinus To: Kostadin Ninev Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo In-Reply-To: <1684583439817.4152010931.2860929632@cdots.bg> (Kostadin Ninev's message of "Sat, 20 May 2023 11:53:17 +0000") References: <87zg5z2pe9.fsf@gmx.de> <1684583439817.4152010931.2860929632@cdots.bg> Date: Sat, 20 May 2023 16:48:06 +0200 Message-ID: <875y8noy8p.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:qu4InV4Eid0QXV0YesAvaWfqjO5aPRq+2Vis/EaGomy7stYydiV qps77bndaSG52mPg62QozRSTlcazKEI+wNAQZDzkc5A7UnAI+JrOvk2LojO4/+0NYriRVWs I+Nwp5/63CtbHhLmdlaDqlLgQDPskGi4+ApoTWyEsD/WD9v/Cv9CeYPFg4pOAec9wF5LUTB UBgxUPHxplzIHjnRFvyTQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:d4qJbrC5K2U=;/xAgxcXwjCfG7XfMcszX38iuXy4 g0jFaAILG/x0jqCAO8QQNPOUR1HVzoTiUGDE4JkV7uwOBbcV/0yBRZMTSmzhGB8vh3S3ISTWC A4voHxGSTjYuvOF7uR0qNVxv3SjP3lT8QpMwHBqG8PjPGLBlEiRW8s3flEsiMOOMDdum4vgkB jG0N1CWcUy//ZQx1KDnx/UTT1CmvfdTtt8m+faglkSERuNIupepaK9VOgtwejtBPpao0STMwZ ivzsnuqo4lwrUBGBuo+4o1VHXO19WAVacgkljqtm74QXxTJEWYuWp/d7i/3wQaChWHcaogY8c 0Ux5A/Z+IAUvkx+qtzyGgPer7ip0JZoNP5OKZRoeNEsyOKGW8QzhNnKfxHFrWI1+9azyAO4id YWz5TjfpdIsTcKA8aW2fgrt/v/I/JQ2hJzGf6IQSLHDf5qJZGxmda6InJr/WnePKgAoNkINIB kpqCXoY1eWJ/igDzRYatKtjisLFJsLEbuTr4r8lLBdLnAfc6AgFpDuTPlzf6dzd0BrAAEwg+i WPvonulTluTFHfLFiIE/WZ7HQovJ+0KcHEPsGg3128ewIkf/+/5J3UAfqi8mHI+aVSRWkw989 yY2Cm2NWdOxybJECvCtn+06dkFfLVKEJEwtKbauzt1HFAo5ttNGaEmJHbV/7r1HggWpUZ6D/i v1Zj32kF3Lm2jFusgUZEzQfcP4VejFWjFkCOpI13lMGqq2/uUOkX45PpX0/ssj7ohtszqRQz5 vjFjrThakO4yUvmOuyWIml47BJkEHB1pBiM1KZgN6jRC3c5O9VSf1ZvURi2b6VCEX8u+NwKsJ KK8ClQnkiYm8HY95s/xTjiVsYhXLgNb+O9d91avwWL9pn2WPwt8D4IT2kXmhUyHk+3C/Gdu79 jMqugdR/mUg2Qcx+2epVx8J04bIxhmgi9uJElMvEy0xW8ofoFanmraE3jcauD9Q0cvhXvf+H1 vt+UcA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, Ihor Radchenko , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Kostadin Ninev writes: Hi Kostadin, > You want ta call org-babel-tangle or C-c C-v C-t to create the file > > C-c C-c attempts to execute the contents of the block. Thanks, I can reproduce the problem now. Let's see what analysis yields. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sat May 20 12:50:58 2023 Received: (at 63578) by debbugs.gnu.org; 20 May 2023 16:50:58 +0000 Received: from localhost ([127.0.0.1]:59289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0PnF-0006tu-Lz for submit@debbugs.gnu.org; Sat, 20 May 2023 12:50:58 -0400 Received: from mout.gmx.net ([212.227.15.15]:57661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0PnC-0006t0-Ts for 63578@debbugs.gnu.org; Sat, 20 May 2023 12:50:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1684601447; i=michael.albinus@gmx.de; bh=zzGEJcWL38QYNlB4pF/8Bf5nfOqUhrgEBbI8LWtq7Po=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=T1C5Out8Pp6uLn3WWm4sLpWNcIRcysiDvO6jzQK3xb06p7j3qzvd26fiQ3TxXZAQT oWf8drEPsHc86x9u7JpxzE3XIvfMzs4Grhm7SYM9+6ysXIYAnehM2cdioKOop1ftjE ptATaJnGYHhQ0eQmSxfwxlU59HubGkte4qAmFGMOg9A3aBvSuz9YjxWkLGWBHKB4u2 oqzjv/iacqPvW/7Stcr/1XJ+7JyZXEmLZgGbtjqH2zeJRmxpl5rSmBYKIrJON9NAV+ ClPO9JEJqI7G8gdJXTfAvn2slo8Ji4NU+bRZQ+BLv+nYgA6RlYy7bJ9K2ZdIuv00uQ dScjysuKu2SpQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.13]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M26rD-1pyTz42GaX-002bs2; Sat, 20 May 2023 18:50:47 +0200 From: Michael Albinus To: Kostadin Ninev Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo In-Reply-To: <875y8noy8p.fsf@gmx.de> (Michael Albinus's message of "Sat, 20 May 2023 16:48:06 +0200") References: <87zg5z2pe9.fsf@gmx.de> <1684583439817.4152010931.2860929632@cdots.bg> <875y8noy8p.fsf@gmx.de> Date: Sat, 20 May 2023 18:50:46 +0200 Message-ID: <87y1ljndzt.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:do/4Y5SEaP5LtYGAm/4aN5ItA96qcOF2Gm5TfaEyhKjGMfMK4F1 FQuiWA68lGF4qPK8VHMJdr9WLJdzsQhTGySDc/VGDUo8jbQ3KlgvElkkGLZvy4iNkQ9PdRF EN9qu+038Z7k51SjBlObypZSTd5ACF+qDDgyUjq6xYkZ2f/uI7KAxYOsELvjzavwtYTA6y+ 6ZVd8PxMvRKO25A/oCIIw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:HI/swmFtOnk=;WvjiINCFKsg8ErCTu9ZyDAq0i0R DkYUNIuw6Np9VxhLSy1ogrYg/CT+29ey7C7/f2pOj+uTdeVsm0RVZqimsaFft1j6sdCQp8hz6 gwYyA9tv5LohuXXVwvA05dROTG9xyXtkg4Ao04Br0ZNBdQcRbyWFMUABmCS/Mxz346tceahxy rYSWznsw/tagEJehlDQz2v+24WAZMPRL8KtXgryt+qCy/P7VHmzZEF8cXkzMkT/B7msizVnA3 vm7isZ+q1LjPIwKcooOXZAxrNEv2PWqLCOu52ZoWNRpzkIXd5fYW79p38WtE3ROqC0iow/TeP uQa/xuywQDPk8RQuMu3B+2Vv/u5Z1mcUGixg5GuAmu+WViRImSTrjQNl5+IXYLZcPYQULsaPy w4+jUyPgPqdoJGS3anIUvNXiD0gkfLfJ3jFcFcbrXKz3tgz00VqZO1EHym/zBsxcmOMVTRovR XhhqbqBuoUJWkpP8lBVC1yK6PTgy5Df2PeaqOYwbsJe+BNekvMCkihXHFSM3OXMc70ADcGMZc yODXZCK60mYM4IltVHNcsbElFkM0DA4oHghEWa5Xk7nBColgooAnirUc2tNQVQf5Ou/MnT9bg wXIeK5XXXSSOWlID3Nm8arbpSAKV8dP+bm8edj6XxzVxrS+X2gI6oDxN3KI19IYNqPBGl2CUH lpFtC3tHiz7gYLiLh85IIEPwHo+jwPmnZkrO295vN83rfraonSJbDBTcJ58SLZbq3FCWrqRFL YwnY2Y5Sx0mZth4AcoAwRSFRm3CWTsFvHmTpUUKVSShMoJU/pxJ7riC+PhOOyqrlN5OsX30I7 KO/bbNeu2ru0xRj/ahJGBSoqPLlE4uO1NIlhtsqOJamt+hQsZOw4+AxcOEdbqNNNCE9j0yx5t R6PClLqxXSKb3qYfht00e7/0qjzkf3+b0kldNQKVJQQYM/0Ibow1PVkiG27DGt+O8+BXgV5jY bQzZlw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, Ihor Radchenko , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Michael Albinus writes: Hi Kostadin, > Thanks, I can reproduce the problem now. Let's see what analysis yields. The problem happens, when tramp-add-hops is called with a tramp-file-name structure which has not expanded the default user and host names yet, like in "/sudo::". The appended patch should fix it, could you pls check in your environment? Since the change is very basic to Tramp, I'll let run all regression tests for Tramp. This will take 2-3 days. I'll let you know. Best regards, Michael. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment Content-Transfer-Encoding: quoted-printable diff --git a/lisp/tramp.el b/lisp/tramp.el index b70fd95a..90e497a9 100644 =2D-- a/lisp/tramp.el +++ b/lisp/tramp.el @@ -1692,8 +1692,9 @@ The structure consists of method, user, domain, host= , port, localname (file name on remote host), and hop. Unless NODEFAULT is non-nil, method, user and host are expanded -to their default values. For the other file name parts, no -default values are used." +to their default values. Hop is set to nil if NODEFAULT is non-nil. + +For the other file name parts, no default values are used." (save-match-data (unless (tramp-tramp-file-p name) (tramp-user-error nil "Not a Tramp file name: \"%s\"" name)) @@ -1719,7 +1720,8 @@ default values are used." (when (string-match tramp-postfix-ipv6-regexp host) (setq host (replace-match "" nil t host)))) - (unless nodefault + (if nodefault + (setq hop nil) (when hop (setq v (tramp-dissect-hop-name hop) hop (and hop (tramp-make-tramp-hop-name v)))) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 20 13:10:02 2023 Received: (at 63578) by debbugs.gnu.org; 20 May 2023 17:10:02 +0000 Received: from localhost ([127.0.0.1]:59326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0Q5i-0007WU-0H for submit@debbugs.gnu.org; Sat, 20 May 2023 13:10:02 -0400 Received: from mail.cdots.bg ([91.92.199.54]:36654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0Q5e-0007Vz-Ex for 63578@debbugs.gnu.org; Sat, 20 May 2023 13:10:01 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 3D8FAA0B83E3; Sat, 20 May 2023 20:09:52 +0300 (EEST) Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id AA8Yluq_TqAT; Sat, 20 May 2023 20:09:51 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 3B438A0B83E4; Sat, 20 May 2023 20:09:51 +0300 (EEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cdots.bg 3B438A0B83E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdots.bg; s=38EB8BB6-1E4E-11E5-AEB1-E0FC2BDD2164; t=1684602591; bh=z66F2Cvf0Rz1Nt9gomFq+UnzgDj/+Kr2qdjcF/zCWIM=; h=Message-Id:From:To:Date:MIME-Version; b=Cq5kkLMJAuZ6ma/ZHYmSXKeSdkpUk9uv/T0OJHyPuXaSkBA9ICx3SP7iswqwK/8Cg s95o8Z137EwcKsZyZJfHYIfYbKt+2g03m9SmzNCRQUMUOlEekCR2bHRun4k+89OSgI /5GC6a2A7I1KXwh26BFlbxe/uvt08pwqvSFBLUyQ= X-Virus-Scanned: amavisd-new at mail.cdots.bg Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id XtD6cipEjcV3; Sat, 20 May 2023 20:09:51 +0300 (EEST) Received: from noip.localdomain (unknown [85.196.152.25]) by mail.cdots.bg (Postfix) with ESMTPSA id 0A5FFA0B83E3; Sat, 20 May 2023 20:09:51 +0300 (EEST) Content-Type: text/plain; charset=utf-8; format=flowed Message-Id: <1684602372494.1131003822.3167384163@cdots.bg> From: Kostadin Ninev To: Michael Albinus Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo Date: Sat, 20 May 2023 17:09:50 +0000 In-Reply-To: <87y1ljndzt.fsf@gmx.de> References: <87y1ljndzt.fsf@gmx.de> X-Mailer: Vivaldi Mail User-Agent: Vivaldi Mail/1.5.2979.22 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63578 Cc: Bastien , 63578@debbugs.gnu.org, Ihor Radchenko , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Saturday, May 20, 2023 7:50 PM (+03:00), Michael Albinus wrote: > could you pls check in your environment? I can confirm that your patch works for me. I hope the tests run successfully. Thank you for your work ! -- Kostadin Ninev. From debbugs-submit-bounces@debbugs.gnu.org Mon May 22 06:44:21 2023 Received: (at 63578-done) by debbugs.gnu.org; 22 May 2023 10:44:21 +0000 Received: from localhost ([127.0.0.1]:33654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q131Z-0001Xh-9b for submit@debbugs.gnu.org; Mon, 22 May 2023 06:44:21 -0400 Received: from mout.gmx.net ([212.227.17.21]:36387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q131W-0001XT-SG for 63578-done@debbugs.gnu.org; Mon, 22 May 2023 06:44:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1684752245; i=michael.albinus@gmx.de; bh=St+5YETa0mntYk6+s/kmwv9y/6J2bxp6N+pTeVcXeKI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=MxVAFRB0dagkkn/M+sPIY0JJ2t4N2O2TcWibdP6cWgzv++BteADWlbELp0mFIi8GI h63mHCgjGNfzqYqiy+HH9P38yct5H/H+ztDfAWq+Ge2U0HVz0/Hh5NZNVfkZEa2Mtq OWc4Z59+Ata3HPnYCU6fYAj8tO7+zn7hto/Lfy9AJG3K96oT0KB7PhRDTNVYrH7RLT ZHB/9pHFTwTolBcr8keZuj8QiqBDqXWqxVe4Q4L1FZDfGcIaZoajWb9RwFgWGQa4aJ cQExPxUsYqEdCV9tM+5IzEdzGevApWusfM7FYiokum9tGZN/1TixTmICtacIlbfp8N jk+vsmt8cJhng== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.13]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MXp9Y-1pdw5J02MW-00YBhB; Mon, 22 May 2023 12:44:05 +0200 From: Michael Albinus To: Kostadin Ninev Subject: Re: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo In-Reply-To: <1684602372494.1131003822.3167384163@cdots.bg> (Kostadin Ninev's message of "Sat, 20 May 2023 17:09:50 +0000") References: <87y1ljndzt.fsf@gmx.de> <1684602372494.1131003822.3167384163@cdots.bg> Date: Mon, 22 May 2023 12:44:03 +0200 Message-ID: <877ct0prws.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:LSZDhQhbjb+Q1fggw5Ro03tCCaOWXtLFXwhefRN5RBebSzYbOPG YSv43DaqwKfvsnxmzhGPLGuqluuBXu3vYShG82FZdnuiFFklLnUZf7M8Wk2h7mRIbl2L/iI 50h7I6kTy8OAdxLQcgLqxBGBc6GloUxgor89JBsrxyLzLudXHe88ETBTuJo/BAkcW1eRkMc aKENYVPsvrhp/lLJijjbA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:ppInZieQ9/w=;Ccws//5kKlh1cIj+v5EmRUh8LLX YQIHZXB26561o+IYbsU9v2tUtNuBIuU5m5bkIv2b8+RODNS3TnBdPRRL6RXEWpGyDkf295vfX eW26daIZ5UGbafhdY7kqkcMDIw0poeMljDQoD1957XZiHZD6ok4Nzmg6tYi9pnc5UHmYZtB62 IDk9SF1bDlFMwsZGafaJXy/BrxYbr5eUZl5EnCL/Zy0+VFDI5VfQ5pXfU0bd6ttpC7T+5roXm AiZqXfF5FTNXTs7uZdZK9H+kkUSFGY7Qt0VCO1s/hkOMhpLiOxJw3hRnTGvq1bV/6RLI7uCpX 6rt9TJQiN3ISUzI+EUsrNgZhGjdHdV4a6Nxo3jY7/lXTlXIspbWwyYRSDX/fTFQeQIY9MYpe/ 1MROqxGxbLHKgLoBsW/AuTtSoMfUbr1WXgjzTzVmOdyycYjsvhKE4K1Y1Kh+rgTat1R51Mmi0 840oDJEW4GG4245shGUoMEkwYJF+R1+pp3zl+1CP/DjIVFOePR3HJZ4PdUZfmEm0QbIY6poDv a96qkI5hWtyRChS7+7EhORZF/V+jDJThvJ3YxST2utl9HuIypNZ26GA4ZGQd1BZSYgSw6Q5+m USpildoG2gey45i5ogJlQ6hUZFpTZ5P9M/KF0OaQLBnzhADVz/tCICasQrK9wvc0g0A3jBsKd YLCtCkvwuzXIYLycyAOEVRp/dpqY3ec4+Pzns4Xk+yDsoSdD8wehWEO+3KN2rVAb1Rvp8TJ1g pC/aET40dZ9XyJ5tJ++2LGHnUupHb2LA7OoYfNMe9VkW7kbqf+WhVq0oRLgiDtCEsnf0V914y GNj6+OtL1goAYQKUhGFAEqkXnUa+d1qrcJyXGqUnuJd595bSAET9Q8LFyQ+ACV/ahS5QTcm3D d/ciWejuLpQN/pJ00zfNbWWpmp3HPo0zFKYlY0inwk8GAMavv3JR7X4CgplP0l1iL2MnXCwF3 CFC5Zv/QmjaBWRx93qhBc0TpmWk= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 63578-done Cc: Bastien , 63578-done@debbugs.gnu.org, Ihor Radchenko , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Version: 29.1 Kostadin Ninev writes: Hi Kostadin, >> could you pls check in your environment? > > I can confirm that your patch works for me. I hope the tests run > successfully. Thank you for your work ! Thanks. The regression tests have passed also. There are still some oddities, but not related to *this* change. I've pushed the change to the emacs-29 branch, closing the bug. Best regards, Michael. From unknown Tue Jun 17 20:40:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 19 Jun 2023 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator