From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ENmgEapR6GCYfAAAgWs5BA (envelope-from ) for ; Fri, 09 Jul 2021 15:39:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YOduDapR6GAlTwAAB5/wlQ (envelope-from ) for ; Fri, 09 Jul 2021 13:39:54 +0000 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 8C9DF257E1 for ; Fri, 9 Jul 2021 15:39:53 +0200 (CEST) Received: from localhost ([::1]:55792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1qjQ-0000aJ-IJ for larch@yhetil.org; Fri, 09 Jul 2021 09:39:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1qim-0000T4-VJ for emacs-orgmode@gnu.org; Fri, 09 Jul 2021 09:39:12 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:40499) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1qik-0006mv-2e for emacs-orgmode@gnu.org; Fri, 09 Jul 2021 09:39:12 -0400 Date: Fri, 09 Jul 2021 13:39:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1625837947; bh=UY6z6Mt+cwXFSeGGGLF9vG6gaZBEg1PRIg3U3Y9XqWA=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=cP6GZyK2IVdWkiSFMEPV2DhrZrMRgYxg/VGyBB/+hDfkmREWmOvF2GgK48mZYDoqc ffRUFNd1oKoaUjRcSOOOVaDUKQbV+89RseN0Xb0c4lOCUiroD2kdDJFSm8xixXMCoo 0Zs19g7ASFdsYGM+4c62lw8o2SOA6JcUxYnLBh/s= To: Vladimir Lomov From: Jacopo De Simoi Cc: Greg Minshall , emacs-orgmode@gnu.org Subject: Re: [PATCH] Allow tangling to a list of files Message-ID: In-Reply-To: References: <348721.1625640966@apollo2.minshall.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=wilderjds@protonmail.com; helo=mail-4316.protonmail.ch 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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Jacopo De Simoi Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625837993; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UY6z6Mt+cwXFSeGGGLF9vG6gaZBEg1PRIg3U3Y9XqWA=; b=KCSx1ME7MB5f4w0GDso37OBQ6nIMiRYu4ngw0oYH1AE55Qb0x81+yhsvy47VPi9KNfcIxB HgYriBzXd83EGoGTiQyU2QjphYMB0+dGq3lzm2jQMXbKHwl5F+GFlIH9j0UogEwDgKMDE8 R8PMXOOcm1IS3psIJLlIP26DLlRttFL5P0HPBlwuPjboMaqbAXabkya3sjvXLYwgl4+72U twVHnqwgo5QkNQoOeG27oKAauLPQhwOda9y/cOqjmFaUqjbutaUXDtsCOpWDSSdUQKncHS KQrygvvv7DizKNgSrz49f4iLUa8ncKdr0d3qO5ACM5vKxsoQ382Ip7Az/imyjg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625837993; a=rsa-sha256; cv=none; b=nZFkm/FgPlvakde3J36AGKTBKcAwT7YTPTnz2ou+XPxYqAQQz5tg5dyJNc5FKb9NS41s0A JtevRxt8+erKcvuLba0z/z0nTWsqKHkISkLGxTB965evZpaBW30syUnG2VUuioIciPZdm8 /C2wmQRZ+JyXdO/ARS8g7QZfTBslVu24/5k8O5Ksa9zQTgQ/mJ3ddTno4hDUN2/P2teH0w e7uSTdeguwnF1cQ8Ko1+GRxRNKjr75pKv7rHFtcO/lnKA+BZmZeT78amqxBO0nhOjYSa18 p+H7grW+acymQVPVR1tIgYkdaobfUpEoYvZZfCv7NY0fOIc9ZvyPGS0oTo2aRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=cP6GZyK2; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=cP6GZyK2; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 8C9DF257E1 X-Spam-Score: -3.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: p8vuDDLbdJf2 =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Friday, July 9th, 2021 at 8:26 AM, Vladimir Lomov w= rote: > Hello, > > ** Greg Minshall minshall@umich.edu [2021-07-07 09:56:06 +0300]: > > > Vladimir, > > > > I couldn't find in Org manual how tangling should work if there are > > > > > > several source code blocks with the same file name for ':tangle'. The > > > > > > Org manual section "15.8 Extracting Source Code" is a bit > > > > > > obscure. There are these two sentences > > > i think what Tim answered is correct. but, i believe the "desired" > > > > approach is to put all those blocks to be tangled to the same file unde= r > > > > a headline with a property drawer containing something like: > > -----------------------------------------------------------------------= ---------------------------------------------------------------------------= -------------------------------------------------------- > > > > :header-args+: :tangle "submsim.jl" > > > > Hmm, the more I read the manual and your answers the less I understand. A= s I > > said I didn't find in the manual any mention of feature you and Tim refer= ring > > to. Besides I didn't find definition of [source] code block. If Org docum= ent > > has several #+BEGIN/END_SRC constructions is this the one "code block" or= not? > > May be they are different if they use different "language" identifier? Ag= ain, > > I didn't find any definition or explanation in the manual. This is either= lack > > of documentation or feature of how Org deals with source blocks. In my > > opinion, this is undocumented feature. +1 for clarifying the docs. My point is that there is even a unit test desi= gned to check in which order different source blocks are tangled to the sam= e file. Hence it is a desired feature. If the documentation lacks the description of this feature, then the docum= entation needs to be updated. > > > i believe this is for performance of tangling, but possibly the > > > > "multiple source blocks to same :tangle'd file" feature may disappear? > > > cheers, Greg > > WBR, Vladimir Lomov > > -------------------- > > How do I get HOME?