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 ms0.migadu.com with LMTPS id eAucNQ2MD2JwPgEAgWs5BA (envelope-from ) for ; Fri, 18 Feb 2022 13:07:41 +0100 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 aHoYMg2MD2LNXgAAauVa8A (envelope-from ) for ; Fri, 18 Feb 2022 13:07:41 +0100 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 3641B178F2 for ; Fri, 18 Feb 2022 13:07:41 +0100 (CET) Received: from localhost ([::1]:39568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nL232-0002ms-6T for larch@yhetil.org; Fri, 18 Feb 2022 07:07:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL1yL-0002a9-CK for emacs-orgmode@gnu.org; Fri, 18 Feb 2022 07:02:49 -0500 Received: from [2a01:111:f400:fe05::70c] (port=8197 helo=EUR02-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL1yA-0002or-G6 for emacs-orgmode@gnu.org; Fri, 18 Feb 2022 07:02:45 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bSV9BGoTuGfdP4OrD+C+z1+stmZDtWijQL+4wS/j53RUmpL26ht+pRKo3Fp2TuDWDQVpHcPcF/Yi3NS27qAj20KjqjxeKcjs1tMeyyiuYOIaEbfrgtVM26Pc2+YGarPO+OEnN07tchSgk/Yico+AATgEkxa68jeJxM1iY2wkn5ofrtG5a6lPoZODuFvd/PUazyu1nBGCTHEH7aka6tXylJP3Wof0Np+LTrY8aNQVJT0TUZFn5qymrgEE8JTWgHZeCNN9d5Mb14b0AxWw2x7LxiWGhV1TDgJxu2Dgdzvd9ClYbFbKbR1kmoavaRHKB9+PAVHRyztjMXnz4AF/v9lb8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tnFOw7MOP66kFbuFDXqF9rvddvihKrNMD2Ect+NM514=; b=AYCqDrreqpu8lXhL/qREdtuWWHb11U9Sbc9+M9zAybp9wUhW5r7dxRq1Q+w44taCMOmQsYAq4/sov2F4ddVPRmR0LLouplwjtvG2dCdft2iS2E+Iwa4u76Eu9LLr5I6JpsuI61EKq70tMl3mLMpkgkRpRSvaSR0a5Bnuh2OCXvrbOmnQ0uPlIz4CPaHDBrYmNDAx/z1QSLX9r2sbTcyZrQpw+kw0AxIACMyz4TB9IMH2XLosLBq+XSc+SmXG3JY7qLk5Nz6Qn97nEAfRsvwurs75S0V4ugW1Oum5urLgtIupHe7lIPJgTjAMoaKsAzpfjwVJp+otnTHO8UMo3JQQgQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucl.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tnFOw7MOP66kFbuFDXqF9rvddvihKrNMD2Ect+NM514=; b=KH1TQoyRLVyloCRjj8cNUCRt+GpczZXY3C4SzXzV/HSU73sMz4gi+PHSSSKimBl2BgUrq1kjnydQtZjQnDoKxrLW+3U3NJqwTNr2MyR8ZD6my35vECXu7FYQuCAgLftsR89sh/sfJC0kvWhlTXnlpJYEYrnO6Z6TAxPS+309Ey4= Received: from DU2PR01MB8429.eurprd01.prod.exchangelabs.com (2603:10a6:10:2e4::16) by AM6PR01MB6181.eurprd01.prod.exchangelabs.com (2603:10a6:20b:eb::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.14; Fri, 18 Feb 2022 11:57:21 +0000 Received: from DU2PR01MB8429.eurprd01.prod.exchangelabs.com ([fe80::19ef:9685:f72:e81e]) by DU2PR01MB8429.eurprd01.prod.exchangelabs.com ([fe80::19ef:9685:f72:e81e%8]) with mapi id 15.20.4995.024; Fri, 18 Feb 2022 11:57:21 +0000 From: Eric S Fraga To: Emacs Org mode mailing list Subject: processing of babel blocks and select_tags Organization: On the Interweb somewhere X-Url: http://www.ucl.ac.uk/~ucecesf/ Mail-Followup-To: Org Mode List Date: Fri, 18 Feb 2022 11:57:19 +0000 Message-ID: <87wnhss7z4.fsf@ucl.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Content-Type: multipart/mixed; boundary="=-=-=" X-ClientProxiedBy: LO4P123CA0075.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:190::8) To DU2PR01MB8429.eurprd01.prod.exchangelabs.com (2603:10a6:10:2e4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1ff7e4ba-237c-42e8-36f2-08d9f2d5d10f X-MS-TrafficTypeDiagnostic: AM6PR01MB6181:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SJZ92a9qa7ZKq4C8bzdpwGSvzKDN2n1V2zooIuAB+MhuOtJIaHZljG8YzU/G0o3SLI3eNcz8Ma7q7eCDC8R57AKBhJoZLX8CfYfcSCNr7EiOwAClTma4Kf/MtVi1v9lMKtJgwLtImX3e1nNZoZiZXldF6sw4QVHX2YwRTlPWrB/jUyJoI60oAVdNj6P6b4r/HbVczduEsbz24j2AY1ap/w8L7Wi2aIjEcr3C7KV1xwVQ/8g18D/GoA8ZOGWemO9ghwIwUlk9n0n8DmEf9wXvPr2q+VJwVfsfbY3Ff6zcnoaRLAzLw1BmkGNxCTdIjS1Vi/dKHCqWXpxIBQv4/U2ts/nsgBBzBs9G1J1mfWHlZ4kLHj00PSISVWnlMfX/bs8xfRGFWv8ewtIJ2v/HEXWPt4RO7yUUl3mgFjidA+ToacDcKPurjivfOeEZX0ci/WVxQMIjN95dICDdIY6+3af/49fIxzPE2rNBEl5H00sJiel7JJbl/5ct/NRtyGq3qk70r84QJ/GONFus0LKkAL3/yDSbLinL+iXEVOwuGuVwTjBnp2EBRItXmwvYvEpk9bfFIwobVM1STlYAJxCyHOCkaxE9ndb3hPTjC1dRy9vC7PmOwoAliQT63BtpKroTrVmFuTXWmybmDNdvrDPeMG5EHqlFM4C1E/IIMbayZc9zswfye20W9vpS6NIhr6rFWo2nKRjCXZkE0G2oYWMBo7A/MA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR01MB8429.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(66476007)(235185007)(83380400001)(2616005)(38100700002)(36916002)(52116002)(6512007)(186003)(86362001)(38350700002)(26005)(6506007)(5660300002)(316002)(786003)(508600001)(6916009)(6486002)(66556008)(36756003)(66946007)(8676002)(2906002)(8936002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?BYxuZQyKZNlINYOZMOC5+cV0TLzh9uS3XMMxMGSiQbUQ/3ErYbRZYshL/NSB?= =?us-ascii?Q?y2JJNe3WWDBBSqMy5K50W0TMQ7V90IjIJgT8EyHxfrp6Yt3hBc16jNZbk94F?= =?us-ascii?Q?L4G2xmhFVNGBjJCyrrpOIE6o6Y0VCooXrQ8D4VMIX6c2JbKK8E5d43MBmHQh?= =?us-ascii?Q?E684+UB4Zjg5ChSXAs/t1rdeQUFWbfG/iQmYvQuKd6h98W83vnNgCWG/oUCD?= =?us-ascii?Q?wr/7ukm2/r4j7AJk54Z4ZyrcL0tX9N+Jc1lqXThUQcMfyEmlAFjJqepxHGYj?= =?us-ascii?Q?zfTcJrxWZ8wYCGjk47iA+nUX8+dqAg1Fn9NHNATOOrL1N/AQaMFa9n2VIMQM?= =?us-ascii?Q?KzPBnfrQ3Mrn+EBCBMQMr3/Cn3c+bZCdbpCHgHbKANXoaBdJgdE0grwqPxy/?= =?us-ascii?Q?URpHhKnqk9tzoy7ky3wAJl8Tw4Mlvj9KA50Zctz83jdfShTnPT0jhLk2yPxB?= =?us-ascii?Q?wsjmNWlqHBFFA7k2ujY+liFiTOomb1kBhQ9CvAUSGNDWp15ivKlHQYpjxz8N?= =?us-ascii?Q?d/gb3wtSYWJCejwscEfuNy+kEerrDGNmU/Cfu4EgUl48O3GFRQRW2jCPwAM7?= =?us-ascii?Q?WksZt97lut42plonuHsjRMampNflG6W29F+O8epJqhlPBvyKNcBBqUsjQ/x/?= =?us-ascii?Q?tdzK+bclkHJ9tNrrVn0DcOoYzj86aYZsdbhT3W/DQlj5QTPs6N3c6PkolwEL?= =?us-ascii?Q?8WT57xwVFY6RMrH0pmAQ1RwggR6fAlh97g90H9FhLuYRngo0J7diQVLpaS/9?= =?us-ascii?Q?MFPUKwSAQMx8JcJOd6+ABfPt2+fQ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Network-Message-Id: 1ff7e4ba-237c-42e8-36f2-08d9f2d5d10f X-MS-Exchange-CrossTenant-AuthSource: DU2PR01MB8429.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Feb 2022 11:57:21.6510 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iWV4UZU04fYcSoBk/jJJHDE93LlR3vZFuuyWl1ID5v1xLVLI+EA1fvumaZq8RmJ2ZMLs2Kpocq5fwgRmovP78A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR01MB6181 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:111:f400:fe05::70c (failed) Received-SPF: pass client-ip=2a01:111:f400:fe05::70c; envelope-from=e.fraga@ucl.ac.uk; helo=EUR02-HE1-obe.outbound.protection.outlook.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645186061; 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=tnFOw7MOP66kFbuFDXqF9rvddvihKrNMD2Ect+NM514=; b=lt/Wj0MQFwJ5w2VNhgfKHHpbbjPjY4xTVpROXfEhyswd7QxoUrzvrTviKwTCJ1AXb9Twv4 93Lr6IqhF/xH9PyQGM3ioPmhH+DMROZWneMieE3DA0Kqc3+w/LhzZesYpvAJFIPQzfMt0A DSGhB8YdtAKs9JRb2ldXNGgJTo3BZSX8ZI6S6cMr0Sq+eMI5wVjkE3iUToj5ZnM2sQScqt 7h70XtLbcYFD595YYnSpNZtkRNJdq7uY8i0+BF4HkA+erotnpmuYLIwiUTjA3RAAxTerfW s6rGRxNE8NTpyrAyweDgin0sm2PXMsFPoUvTwecnmD+sVQbwGrPhb7ZnrVlJiw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1645186061; a=rsa-sha256; cv=pass; b=rTI4JQm7q4e5ySSBjjfrgnPgkaTDzb6Uj8f/+lM0WRYvmQBJHah9ngcn1SFGdZam0ajd9I UgHgyCIaHnB8rgARoYU7MuGZKiT6f5ack8fd45Lpz1qzSm4XmNffl/8mzfoHgfPwJW1fte UjkjVcUm/cHfpMJ3aHu8W9E8CcZ8LBsC7yjMlmXlYusbi2eLFgsZCKUILCPIrAGOcsexiA m+heX+KYhWc4zScqLTBwZOXcqjMP5d5+WVrWQIowmxFfGsBoym/JgCLR9B2pktVHGTY5qH qfpJoKIgRit2Y9/UWyaB0rgKVu81Z0P3vcreEtcUmRroDImN2Q777Z/Q18/I4Q== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=KH1TQoyR; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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: -6.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=KH1TQoyR; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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: 3641B178F2 X-Spam-Score: -6.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: F0z9oesqGxnK --=-=-= Content-Type: text/plain Hello all, TL;DR: can I have org completely ignore src blocks in non-selected sections during export without using COMMENT? Longer version: I am in the process of writing a book. I prefer to have all the content in one file and use SELECT_TAGS to limit the export (for formatting) to the current section I am working on. I have noticed that all org babel src blocks are processed in some way even if (a) they are not in a selected section and (b) have, for instance, ":eval no-export" set. For some of these blocks, the processing time appears to be quite significant, e.g. if they have a ":var x=somebigtable", but I could be wrong about this, of course. I do not understand why these src blocks are processed at all. Is there some way to stop them being processed? I know I could "comment" out all other sections but that's a lot more work and messy than simply tagging the current section to be selected. Attached is a minimal example. When I export, I see these messages: org-babel-exp process julia at position 162... org-babel-exp process julia at position 384... Thank you, eric -- : Eric S Fraga, with org release_9.5.2-385-g37d8bc in Emacs 29.0.50 --=-=-= Content-Type: application/vnd.lotus-organizer Content-Disposition: attachment; filename=tag.org Content-Transfer-Encoding: base64 Iyt0aXRsZTogb3JnIGJhYmVsIGFuZCBzZWxlY3QgdGFncwojK3NlbGVjdF90YWdzOiBjdXJyZW50 CgoqIEludHJvZHVjdGlvbgpUaGlzIHNlY3Rpb24gaGFzIHNvbWUgY29kZSB0aGF0IHNob3VsZCBu b3QgYmUgZXZhbHVhdGVkIG9uIGV4cG9ydC4KCiMrbmFtZTogaW50cm9ibG9jawojK2JlZ2luX3Ny YyBqdWxpYSA6ZXZhbCBuby1leHBvcnQKICBhID0gWzEsIDIsIDNdCiMrZW5kX3NyYwoKKiBEZXNj cmlwdGlvbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg OmN1cnJlbnQ6CkkgYW0gd3JpdGluZyB0aGlzIHNlY3Rpb24gcmlnaHQgbm93LgoKKiBDb25jbHVz aW9ucwpUaGlzIHdpbGwgYmUgd29ya2VkIG9uIGxhdGVyLgojK25hbWU6IGNvbmNsdXNpb25ibG9j awojK2JlZ2luX3NyYyBqdWxpYSA6ZXZhbCBuby1leHBvcnQKICBhID0gWzQsIDUsIDZdCiMrZW5k X3NyYwo= --=-=-=--