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 iFcwBKT4Z2cSzgAA62LTzQ:P1 (envelope-from ) for ; Sun, 22 Dec 2024 11:31:48 +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 iFcwBKT4Z2cSzgAA62LTzQ (envelope-from ) for ; Sun, 22 Dec 2024 12:31:48 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MuFdbqqc; 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=1734867108; 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=fb+rIl2pYDCHg5RfUvbvGsnOQIrEnBQ9gWPYw+cPiI4=; b=C7TpFpXckXJlurq6nRT/WUMfyqWnZVeOeAcobcjAWe1vsg774AoQVNuWOFQZJsq5H9SOQ1 0AJ3E19rND8OUa28sk/Y+OkrKeJ92irsVjXbFyGqsDi1gZRW5s4Lm03VZiL11/aikRz/Cb uftDBbFf0Cf98DF5Zm77CbIfZ+ITf5umLcy5e22mOmlX2xY3eQfXfDiFUqajmo2bKuP/BH PhN6aHq7qBCtYzCvRxqfS32loe29AkZDHRCb3+x+QE0XR/y2Fe/Lka96Aaop0Vuq7iq86m NXN0+1CDtF65a/OKPCNzscl2JnOGvohSZ7bhky6omqw2qkmns4n7MW8a6z+Ppg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MuFdbqqc; 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=1734867108; a=rsa-sha256; cv=none; b=eyrEEo9ViE8ZOrIr0tK5lZJGghDgNwt3yCgsAsUzVgewafmEqiM0Yq9GBlbTR/sC64E7mI ffB6CLCx0bg8PaEsKSzAlzXER6pW+Chhip1F1d1VyQSoks2Lnu/QFMxhheUyavlBn2nnVO l6q9Dt79YyeFwD5wTQYS0HzsDhJ3sirySCswCt221CwVPPkxOGKXAWBGELxXa+skUhnr9X y95Vx49VG9ipmXj4K/Myzk2vS5b2lSioeEr+dkjMUgo5JK0NjIRD2yUmY1q9TR83swy6nM YPjj443Agp8GW5EKYnmuxeXN6OkQuQFgQknr8VNeGCDjn6n/cXgB4rhBxa0IuQ== 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 E6E0696604 for ; Sun, 22 Dec 2024 12:31:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPKAt-0005CX-VJ; Sun, 22 Dec 2024 06:31:07 -0500 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 1tPKAs-0005CK-UU for emacs-orgmode@gnu.org; Sun, 22 Dec 2024 06:31:06 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPKAp-0000Ng-Hv for emacs-orgmode@gnu.org; Sun, 22 Dec 2024 06:31:06 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A42EF240027 for ; Sun, 22 Dec 2024 12:31:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1734867061; bh=xZ04VoXBBkhkxeFIj1FUicxwUA1wE6HC3+S7XI1DN40=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=MuFdbqqcMWCt7Nevhu9QFpxdCKmH5Wy1VJNMSb0j9jBBEwq7NNCVYb6ib3EEa3q+L /HAqfaIF48JHBHs048uySFHEMvgtZg+sCoEL/TmbpAQUieDOKDmcq5HAPUPTnevdKy Mu/EiLSDqF/FJ6cmyD82rigTkkc7MFtEqwXNRIFj/9wFyljGaCtNOIMiDQm6ylJ95N VQqBAQxx7GiaFl3uz+VEJvz9k0NH4NFePATeGpkbcEQ3OP3eg3NYtO10fn59ja6jlu 7Je8c2yi6NU8ZVVAIJtmLrKJAn2BmC2KpVyhfn0l+iK2R8JwiG0IzmvmhO8prfBMIe nHdQYeet8m89g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YGJr45lkvz9rxG; Sun, 22 Dec 2024 12:31:00 +0100 (CET) From: Ihor Radchenko To: 8dcc <8dcc.git@gmail.com> Cc: emacs-orgmode@gnu.org Subject: Re: Text preceding noweb references is duplicated In-Reply-To: <87mshlzncv.fsf@gmail.com> References: <87mshlzncv.fsf@gmail.com> Date: Sun, 22 Dec 2024 11:32:33 +0000 Message-ID: <871py09cmm.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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-Migadu-Spam-Score: -8.99 X-Spam-Score: -8.99 X-Migadu-Queue-Id: E6E0696604 X-Migadu-Scanner: mx10.migadu.com X-TUID: Hw6XxN18KMgS 8dcc <8dcc.git@gmail.com> writes: > Paragraph zero... > #+begin_src scheme :tangle org-output.scm :noweb yes > (list <>) >... > After calling `org-babel-tangle', the contents of 'org-output.scm' are: > > (list (+ 1 2) > (list (+ 3 4) > (list (+ 5 6)) > > Notice how all lines start with '(list', while only the last line > contains the closing parentheses. > ... > Although the current Org behavior can be useful in some situations, I > would like to know if it's intentional before using it, and, in that > case, if it's documented anywhere in the manual. Yes, it is intentional. See https://orgmode.org/manual/Noweb-Reference-Syntax.html Search for "prefix". Also, see :noweb-prefix header argument. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at