From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KJimKh0hVmMqbgAAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 07:22:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wMh+Kh0hVmPCZAEAauVa8A (envelope-from ) for ; Mon, 24 Oct 2022 07:22:37 +0200 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 87E2C3766C for ; Mon, 24 Oct 2022 07:22:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omklo-00085k-NR for larch@yhetil.org; Sun, 23 Oct 2022 19:52:44 -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 1omTXf-00017T-Sl for emacs-orgmode@gnu.org; Sun, 23 Oct 2022 01:29:00 -0400 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 1omTXd-0000m5-W9 for emacs-orgmode@gnu.org; Sun, 23 Oct 2022 01:28:59 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4143A240026 for ; Sun, 23 Oct 2022 07:28:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666502936; bh=WkfRl+u1jkh3z9sMm6LrfQJRxBE1YApMChQX4QsdgGc=; h=From:To:Cc:Subject:Date:From; b=pzqlyUk3xOGAqUyycvw23PnZ8+asuGgRhtiaGd0Hh39pHnjWlgyvM+e4nu9yq5QoB vGxBbUZoq1Oh2hU7Aulh0DrxKpfMlztCcThXr8TyvVV3P2Y51SJkk/uBVrt9UCtG/x B8wAkOQJu4Gu4g9DttdDE27M/Xd7EwOu9OuZx/F1XId8RA2RB2C8t0S3avfRz3jI2V 9+9kh18ZrPhd0FCQtvAoDQcwwooLY2hVafKu/EXKh5pA39rzR8zcHRVpVfBqsSI+V0 bYlZsvdZ5F+65wPGDnf+tAi3yv6ZeuD1pCMixj7xdXNFkfDpkor/pVvfIiZaMxwnGU IEJZuQ4TnEGsQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mw6FJ15H6z6tmB; Sun, 23 Oct 2022 07:28:51 +0200 (CEST) From: Ihor Radchenko To: pareto optimal Cc: emacs-orgmode@gnu.org Subject: Re: Org babel noweb expansion includes extra newline In-Reply-To: <1988480151.334881.1643853809467@ichabod.co-bxl> References: <1988480151.334881.1643853809467@ichabod.co-bxl> Date: Sun, 23 Oct 2022 05:29:36 +0000 Message-ID: <87sfjfp0ov.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: -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, RCVD_IN_DNSWL_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666588957; 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=LuktpKAF9zeA7y9KZvM3824AaVl+EjKk9KjdGOPMPmo=; b=mIQyNknoPhJaBUHaEXP403/giTH1GxqjV59jeHdFK5D+6GeACNPZaCvMXqCu8qYOLN4HVI hRKR6nZafjgeZV9GnR/SZZYa/1+ThuGXdlX1QX5BqFmfsyuGvhq1i4WhWWtNHcKUNZFV5U bkMqYi598GZ6IBF3Lfn70jX8UlzSVshGcSEXZA0IlRFtsdrNagvmVVeQ53CrgBnHhcF5D1 kJhyTmLCNd2yTg4poarQlc+L7oUoxEH9vvJHL5o36N9zsqwQPTQiEF/nx/y2CxyL7kBmT2 vtqzIrMeIu8Z+TrIXxvmEvOqvJrlG+VUwBwzDcpPn1pwrTk3PetA7S1a8bJllg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666588957; a=rsa-sha256; cv=none; b=ZVGPN+hOFtEGlosM4pGauRNaiZiURqbGZqqnJ/2NuDXmjKRvTp280b4GfKHwMAgW2/yha2 Mg/Kx5a32rffo90cXkh2W/z9enQjh/5UUOxvC3BjR5UWVwODw4gFV97U2q324SPtVfkb6Y bc12yaDdAVW29fIAidcBooYWk7s91tDJ+/4WB635kLwfnNW6oaATE5UyD8Zj10dfZPFCfy 50G9vKXbnr2m3hvY/G+z1hEnhNLb0inPRhIfUcGGwDHw18rfEYB81K/wxZ96wRe2mPJOi/ dM+wMo3Pm2QZQPD+tr0LJ8SbzsylFn8y0rM4CBbrM927XEixDDEa0/UZ06N5tg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pzqlyUk3; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -7.20 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pzqlyUk3; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Queue-Id: 87E2C3766C X-Spam-Score: -7.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: nmkHt6DY2Xq9 pareto optimal writes: > #+RESULTS: > #+begin_example > "git ls-files ~/system/users/profiles/emacs/default.nix > git ls-files ~/system/users/profiles/emacs/emacs-packages.nix > git ls-files ~/system/users/profiles/chat/default.nix > git ls-files ~/system/profiles/misc/default.nix > git ls-files " > #+end_example > *** here's what hapepns if we just run =all-tangled-filepaths= > > ... > #+name: files-to-remove-from-git > #+begin_src sh :noweb yes :dir ~/system > git ls-files <> > #+end_src This is because noweb automatically appends text before <<...>> to each line of multi-line noweb expansions. See https://orgmode.org/manual/Noweb-Reference-Syntax.html On the latest Org, this behaviour can be disabled using :noweb-prefix no header argument. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at