From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 0A/DAiQX/Ga9aAEA62LTzQ:P1 (envelope-from ) for ; Tue, 01 Oct 2024 15:37:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 0A/DAiQX/Ga9aAEA62LTzQ (envelope-from ) for ; Tue, 01 Oct 2024 17:37:08 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail-com.20230601.gappssmtp.com header.s=20230601 header.b=RPv2bQak; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=ucla.edu (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727797028; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=b3/sAAGN0mTR7iWmZPyNoMFuPKXyhxjcEYLS0sWQQAE=; b=Yy3oCY+8JAQjsmHw/9P3DlMutPUCWMoc0AkvY1zmAXfEdhn4W6PokR0/WhoPuFaIPuNY5u 1AMsujJ04LdGxzRHksD90VsGvpsY5VD6L4eLgLWBhJLTP2r2EeLRo2Hfa+LWkuXIu4xiNy HnjRPPN2ycENQ4hEXGxL2Qh3K96beYYhKlun6L8+W8+g6/LnxcihGYn/TjAUT6nK8LPeLO z1iDmmwiluPlT/C2GpnjsFa9h0ASphGcVeuth/nCzZra4+rjjaJoaFVvNH7wCnWPK6NG5K cr6//vyhFYe/7LF1KO4SaP3XaTtz5Yyohlu/S+wllkECrLhYaimYhQRkP44ynw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail-com.20230601.gappssmtp.com header.s=20230601 header.b=RPv2bQak; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=ucla.edu (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727797028; a=rsa-sha256; cv=none; b=omNPlBgv+N84gn7TyIQ1IZcu3NcHNXi8Ifel6vGXuBYuQfwzr2u0GBZB0ylHGZmbD2u+Cg z0hiBC/8/dS0mJnptOhvZHyyOb+1eB7HQuoz0JIhPeeR0ecg8rNjsMJaW0bz+evPTJxAR2 hmHmcAxNwhjGlVQmDtb3YO3zFHETY6VSdl5fVfQVNDx3FHog3V9rVFVT6P5YwvwjC8N5vn rfQvNq+L0CVaSpx10u55IMBCAsCejEf7Cyn+UXAtz2RfdKn2wS2bjfjzHIJd3lO0Olrros eTYNdYfx2mOGQ/ET9wAzm4nYXiIBexdfB8fEymCd65CPFHy2f/CoO8OKjNmipA== 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 DFAAF82AAC for ; Tue, 01 Oct 2024 17:37:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1svevH-000681-2J; Tue, 01 Oct 2024 11:36:23 -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 1su2EB-0002Q6-0Q for emacs-orgmode@gnu.org; Fri, 27 Sep 2024 00:05:11 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1su2E8-00064g-5D for emacs-orgmode@gnu.org; Fri, 27 Sep 2024 00:05:10 -0400 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-718da0821cbso1362475b3a.0 for ; Thu, 26 Sep 2024 21:05:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail-com.20230601.gappssmtp.com; s=20230601; t=1727409905; x=1728014705; darn=gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=b3/sAAGN0mTR7iWmZPyNoMFuPKXyhxjcEYLS0sWQQAE=; b=RPv2bQakwOSFisZE11NXm/RvM1n8A1rnqd4o25VS7P4ApWUKon5tQkXP6ragUMt4EB ehpD/UuF9l6pqq/+3GKp5lj+x2WzYNy0kfBCzk3DGzLrQhCArLL8YzUTMG7Y0DC1G1V9 ra+tbh/1FnN/Gf47KfswkwHgdyO7KqkEwO5g4WyYi1bhki7ut+RoUKBEvBhucWoSOz/y zSxENk1wOUaMGlF7p8ZfpnDOWOMiZAi2fZiLxodS92f5lbPIpV5voik4zjqhjAQAYgiG uH0howYmb5S9k39g3B69ykZePriUzyFHx5Z0IQkb1T3LlSF7WfuXGoFoz/wjhDMp1GrA Ko1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727409905; x=1728014705; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=b3/sAAGN0mTR7iWmZPyNoMFuPKXyhxjcEYLS0sWQQAE=; b=sQFQ7VFoITmXFobolc9g2f5FESGd0HmH17rciDNDqNkooDl45YPKlPCzHQET6qwkub XZnvkGH/z8YuDYjw8XBKqKw2y4kfn1annUDTX5rib3BLTDlffKe0HyK6ffFVP6v+c2jB n4qX1tXzNOM+CrN/WepDrCqEn+vKrbwTtIowZSeCVIAVaPyR2aQDGiA+wX8/DTG3Xq9r xU6l+ocTjV8ogVv31PK0rY8KPytJUoX+/hIrPJYHIoRwRFeqhNtjeW7GqVQ4mIDL1YZ8 rHGQrNijNFOfVpjrdCF31+aNdndXTDvv6UH2Q3EqugfsoV7kx3Ukvy1l5EuMaPK7g3V7 bVDg== X-Gm-Message-State: AOJu0YxII/CmFnShpTVpFO20XwvacPGWRJVeQnaDUnCKzJQh138+d2Jg /hqU0N671ZWc97nv1gu4wamy0pZWPZc30enviYIoCihJIaNrTAr9sGQggnQ13BlBN/oDlYuFjgK T8GfrYslzGQJxHfqApx8hMbbvMwZwwg== X-Google-Smtp-Source: AGHT+IGohrpRdF+sZFRM2VuzFUvZh5lmZ/Caf8hqCgsAlVwJswpIjaA8BerkRkvPmoT2nisss2v+aws4k/Z4Zwu8Wg4= X-Received: by 2002:a05:6a00:4b01:b0:714:291d:7e47 with SMTP id d2e1a72fcca58-71b25f45e35mr2963554b3a.10.1727409905326; Thu, 26 Sep 2024 21:05:05 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 27 Sep 2024 00:05:04 -0400 From: Linus Arver MIME-Version: 1.0 Date: Fri, 27 Sep 2024 00:05:04 -0400 Message-ID: Subject: Noweb references and padlines To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=linusarver@gmail.com; helo=mail-pf1-x435.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.246, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 01 Oct 2024 11:36:17 -0400 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: DFAAF82AAC X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 1.92 X-Spam-Score: 1.92 X-TUID: Bx2R3o1gD7LP Hello, Org supports adding blank lines between concatenated source code blocks with the "padline" header argument [1]. However this does not work for Noweb references. For example, a blank line is inserted between "foo" and "bar" and again between "bar" and "baz" for tangling-padline.txt below: #+begin_src txt :tangle tangling-padline.txt foo #+end_src #+begin_src txt :tangle tangling-padline.txt bar #+end_src #+begin_src txt :tangle tangling-padline.txt baz #+end_src So tangling-padline.txt looks like --8<---------------cut here---------------start------------->8--- foo bar baz --8<---------------cut here---------------end--------------->8--- Which is great. But the same blank lines are not inserted for the following case using "Noweb chunk" as a Noweb reference: #+begin_src txt :tangle tangling-padline-noweb.txt <> #+end_src #+header: :noweb-ref Noweb chunk #+begin_src txt foo #+end_src #+header: :noweb-ref Noweb chunk #+begin_src txt bar #+end_src #+header: :noweb-ref Noweb chunk #+begin_src txt baz #+end_src And now tangling-padline-noweb.txt looks like --8<---------------cut here---------------start------------->8--- foo bar baz --8<---------------cut here---------------end--------------->8--- Is this discrepancy intentional? If not, I guess you could consider this email as a bug report. I'm not sure how to implement a workaround using Org tangle hooks [1]; if it is possible to have a workaround please do let me know! Software versions: - GNU Emacs 29.4 (build 1, aarch64-apple-darwin23.5.0, NS appkit-2487.60 Version 14.5 (Build 23F79)) - Org mode version 9.7.11 (9.7.11-??-6a5d0ed34 @ /Users/l/syscfg/emacs/doom-upstream/.local/straight/build-29.4/org/) I am not subscribed to this list so please CC me on replies, thanks. [1] https://orgmode.org/manual/Extracting-Source-Code.html