From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kostadin Ninev Newsgroups: gmane.emacs.bugs Subject: bug#63578: 29.0.91; Org Cannot tangle with tramp using sudo Date: Sat, 20 May 2023 11:53:17 +0000 Message-ID: <1684583439817.4152010931.2860929632@cdots.bg> References: <87zg5z2pe9.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22539"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Vivaldi Mail/1.5.2979.22 Cc: Bastien , 63578@debbugs.gnu.org, Ihor Radchenko , Eli Zaretskii To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 20 13:54:15 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q0LA6-0005ex-HC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 May 2023 13:54:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0L9x-000235-2d; Sat, 20 May 2023 07:54:05 -0400 Original-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 1q0L9u-00022s-Nn for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 07:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0L9u-000373-Fi for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 07:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0L9u-0004UV-C3 for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 07:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kostadin Ninev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 May 2023 11:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63578 X-GNU-PR-Package: emacs Original-Received: via spool by 63578-submit@debbugs.gnu.org id=B63578.168458360917218 (code B ref 63578); Sat, 20 May 2023 11:54:02 +0000 Original-Received: (at 63578) by debbugs.gnu.org; 20 May 2023 11:53:29 +0000 Original-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 Original-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 Original-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) Original-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) Original-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 Original-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) Original-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) In-Reply-To: <87zg5z2pe9.fsf@gmx.de> X-Mailer: Vivaldi Mail X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262053 Archived-At: 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.