From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Fraga, Eric" Subject: Re: excluding noweb references completely from exports Date: Mon, 6 Jan 2020 07:06:13 +0000 Message-ID: <871rsdqd23.fsf@ucl.ac.uk> References: <87pnfz6qbd.fsf@tethera.net> <87lfqmwcf8.fsf@ucl.ac.uk> <87imlq6vvr.fsf@tethera.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59733) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioMSv-0008CI-1B for emacs-orgmode@gnu.org; Mon, 06 Jan 2020 02:06:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ioMSu-0007pX-0D for emacs-orgmode@gnu.org; Mon, 06 Jan 2020 02:06:16 -0500 Received: from mail-db8eur05on2119.outbound.protection.outlook.com ([40.107.20.119]:42305 helo=EUR05-DB8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ioMSt-0007mp-LW for emacs-orgmode@gnu.org; Mon, 06 Jan 2020 02:06:15 -0500 In-Reply-To: <87imlq6vvr.fsf@tethera.net> (David Bremner's message of "Sun, 05 Jan 2020 06:27:36 -0400") Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: David Bremner Cc: "emacs-orgmode@gnu.org" On Sunday, 5 Jan 2020 at 06:27, David Bremner wrote: > The attached exports with a blank line after the comment, which I don't > want. The comment is just added to highlight the problem, so normally > the blank line is at the beginning of the exported code block. Oh, I see. One approach would be to have a src block that uses noweb to bring in *all* the various code snippets and have each snippet not include anything else. The former would be tangled but the others not. This is what I do generally: the noweb code block has no actual code but just includes all the various bits. HTH, eric --=20 Eric S Fraga via Emacs 27.0.50, Org release_9.3-34-g2eee3c