From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id YBNzGc0xlWa9OgAAe85BDQ:P1 (envelope-from ) for ; Mon, 15 Jul 2024 14:27:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id YBNzGc0xlWa9OgAAe85BDQ (envelope-from ) for ; Mon, 15 Jul 2024 16:27:25 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GeRoxffC; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721053645; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4PUasIt0lFxIM7KqFBtSA5Cr8OPPBLWs1YCVzUHasBM=; b=a+Oa6z6In5HoIiQhf9jRwRmthB54pHiBKoMcYVQkWTXHNJAFHON/lanTv9NQSfVckVF9VT lC96EqjpbZn1p+v4ejdZsNrgj98mlzcJZDpBKaxyO9ehov+2idmWOfuqdQqYx2Jy7Z83uC QK4kHLCJhUKvTIquKkQX/OpoQFklIGl4h8Za9GO0pYgV3W0Qyr5AmyqYTMZxu5EXf74JDN dFbHRA4RprUP8QNBZYKK9ny/zx9LY6/RfA75nEd4dJ3FQ/KqiaLvaSaulqDjwIoal9F1NH Le/Yh+KFNciHER4/eWmH00trQzzWvQCeq/AwvUzVr0rpkfVAiXanWWpMSz/5Kg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GeRoxffC; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721053645; a=rsa-sha256; cv=none; b=P4BoqlhnBE90LFYlhYXRS8Ems2+Q77gyDA3+QXN5jA8LOU0seqfkrXqOcl51MOY+20iTcE YzYSyZ3Ufa5xcF2EsL4Z23Bq/a2zl2ikICfFEv81DnjibkFGoxvydhrczF/amfLJo7YHFH 6diV6Zme+TDH+YvYZ129EcYW/jlvKjOhi24GWAAwcwROIT1guaNwKAo6nhTwea0Bar6qjB gswYobWVwAFnzm1oDZg6rc3BUavZPIz7Gp6mF/NCTR7KTfEv74jEhOjqD937TJbMAf2V7v IOqG74CijNG+lYom0hqBo/27a7urkNsorsFAP8lD5UX0iYOfl6m02n2GFwRikg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 29D69CC0B for ; Mon, 15 Jul 2024 16:27:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTMfJ-0003Wm-DD; Mon, 15 Jul 2024 10:26:57 -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 1sTMfB-0003WJ-Lm for emacs-orgmode@gnu.org; Mon, 15 Jul 2024 10:26:51 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sTMf9-0003tD-2J for emacs-orgmode@gnu.org; Mon, 15 Jul 2024 10:26:49 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 40812240101 for ; Mon, 15 Jul 2024 16:26:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1721053601; bh=y0Ey2yP0RBT3kwWBjR6hHYb/NoQfXZjyYk9YbkvPHWg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=GeRoxffCYOjGyCB2BnXFx0d+8odkXw259MawZtJer3/OX6NKBdz7AW4y48BxmuGP4 OauaRGnvDKRjJ+A1jgrAMQ47BGfWQNE/3fOOQV34XWzP3llp5j70iiymg2NQmGf8HW M8shPnRV1KBnLkJCZ3oUSshLpzFg0kOgbiYvYtrNSRfbuptWv7WbErr9n6ZMaa02Dk KuofbvMcO306QAhTKEx1pt3HIoQpTMo9veInFSy7vBxQJRLvltP37b2/DaYlRnK3uI eQNuvPKqBiw/0GCQSJHHiLQNeeJVwqqWiU0WaddV/m3xEKa82D/kAVCtvJP9oumebD aSHIBCnqxjsOA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WN4Jc3pP1z9rxD; Mon, 15 Jul 2024 16:26:40 +0200 (CEST) From: Ihor Radchenko To: Phil Cc: emacs-orgmode@gnu.org Subject: Re: [FR] org-babel-n-tangle In-Reply-To: References: <6a7129e2-9d26-4292-b8d1-1a3e3db90f4b@7d.nz> <87ed7y4zwu.fsf@localhost> Date: Mon, 15 Jul 2024 14:28:10 +0000 Message-ID: <87bk2yk9vp.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.63 X-Migadu-Queue-Id: 29D69CC0B X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.63 X-TUID: A5u9Wdmhh6xm Phil writes: > All right. So I have it working for single blocks by > modifying only `org-babel-tangle' with :tangle-directory > accepting a single string or a list, e.g. > > :tangle-directory '("dir1" "/ssh:host1:/dir2" "/-::/etc") > > The option is ignored for file-wide tangle. > > What do you think of, instead of adding :tangle-directory, > modifying :tangle to make it accept also a list? I am ok with making :tangle accept multiple values, but I think that having a separate :tangle-directory argument is still useful. Consider something like #+PROPERTY: header-args :tangle-directory '("/path/to/project1" "/path/to/project2") #+begin_src :tangle file1 ... #+end_src #+begin_src :tangle file2 ... #+end_src > Since I may not get back to this in the next weeks, > I'm saving the following note and a patch as a current > status of the function for later. No problem. We have no deadlines here. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at