From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 ULdxLMmW82OMMAAAbAwnHQ (envelope-from ) for ; Mon, 20 Feb 2023 16:50:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AOJzLMmW82NRCwEA9RJhRA (envelope-from ) for ; Mon, 20 Feb 2023 16:50:33 +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 39E3A101F3 for ; Mon, 20 Feb 2023 16:50:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pU8QJ-0006eC-VV; Mon, 20 Feb 2023 10:49:52 -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 1pU8QG-0006TO-UE for emacs-orgmode@gnu.org; Mon, 20 Feb 2023 10:49:49 -0500 Received: from smtpout02-ext4.partage.renater.fr ([194.254.241.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pU8QE-0002xD-6M for emacs-orgmode@gnu.org; Mon, 20 Feb 2023 10:49:48 -0500 Received: from zmtaauth02.partage.renater.fr (zmtaauth02.partage.renater.fr [194.254.241.25]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 00405C0192 for ; Mon, 20 Feb 2023 16:49:40 +0100 (CET) Received: from zmtaauth02.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPS id EE857A00FF for ; Mon, 20 Feb 2023 16:49:40 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTP id DBEDDA0112 for ; Mon, 20 Feb 2023 16:49:40 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth02.partage.renater.fr DBEDDA0112 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1676908180; bh=q+o3hv5vyAUaVImBKMSrsz7UGCU3uLV2sEL8RYwP7to=; h=MIME-Version:Message-ID:Date:From:To; b=sdsOLh+Rl0gbdQzq6JRBbKBSz8eoJ7Ro7jP2ewsLjwZykBLBDvBdkKgc9g7ASm0oc CPO4c5pIEtGCJrrwZo4PGBlaRUqS920zNq8vpmS49PBtJhxqu/zesAFdxbYuqQJdj3 Y0B0zD+kPYOgR2YnEto/TZIG08+rkfBVAkipIAVAvimMqpgkFd/sb6kghB71kG4jjT xxFJkKWak6ppNTI52aiIk/zT3BKhcVl0m0n6tWctPv0pksEfSWPx4AJkycYaGllI1X jJVgQWJf02gXCbmktklhR4rKPS1ZyNcVGJuqpLXuvMGDAzqyGD7LiyPQ1zU2U9cJP6 bkb6OWoLi2PNw== Received: from zmtaauth02.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth02.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id zj1onFT1nuX8 for ; Mon, 20 Feb 2023 16:49:40 +0100 (CET) Received: from 90.33.17.201 (unknown [194.254.241.251]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPA id 98D4FA00FF for ; Mon, 20 Feb 2023 16:49:40 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <25587.38546.821136.100862@gargle.gargle.HOWL> Date: Mon, 20 Feb 2023 16:49:38 +0100 From: Alain.Cochard@unistra.fr To: emacs-orgmode@gnu.org Subject: Help needed with subtree export X-Mailer: VM 8.2.0b under 27.2 (x86_64-redhat-linux-gnu) X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejhedgjeehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpeggtgfgkfffhffvufforhesthhqredtredtjeenucfhrhhomheptehlrghinhdrvehotghhrghrugesuhhnihhsthhrrgdrfhhrnecuggftrfgrthhtvghrnhepiedtffekffejueeitedvhfduheefueffgeeihfeftdduveelieegfefhjedthfehnecukfhppeduleegrddvheegrddvgedurddvhedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelgedrvdehgedrvdeguddrvdehuddphhgvlhhopeeltddrfeefrddujedrvddtuddpmhgrihhlfhhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopegvmhgrtghsqdhorhhgmhhouggvsehgnhhurdhorhhg Received-SPF: pass client-ip=194.254.241.31; envelope-from=Alain.Cochard@unistra.fr; helo=smtpout02-ext4.partage.renater.fr X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.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_HELO_IP_MISMATCH=2.368, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Reply-To: alain.cochard@unistra.fr 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 ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=sdsOLh+R; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676908233; a=rsa-sha256; cv=none; b=ae0hJ0sI+2T6S4CZdrTB5B5ePiU+w1jJu1UEyoon698bVRvgEDa49+4d8YGJ9gnDXeVV8x mdNRfI6IFc8CSwg9bWgOt4J9ncnL6GCVYbyLuAj7sGSpIpuNE4xONt6mJLqc3FHvjznL59 vWdwU8jGcr9UAMJ7qQHeq4CFCxGw4742k/Tq87CQZC9eJ2zZC8+NncH/Ua3NtDAgcJWA7h UjYxPddy6R5u9jaF3jsWo9Q3WQvd+wkiHy6WyaMv0t8stHk5j9Vtkaql4WixVpuT/5Ew67 Yu+9UVXuzcBqOS4oWciMq6l7fweVG+q+YMtdB0KNnbL3sTQkVRBgibeq4rgJ3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676908233; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=q+o3hv5vyAUaVImBKMSrsz7UGCU3uLV2sEL8RYwP7to=; b=fHjfV2ozB/BF9Gnbg8e8xbm40UxM7Gd/PFJ0zjG3eIW0+NudGmLlC+ug393z1nzJ8qzFXs yjvYgi+VgBfilL5lMAxZQn4HsjdCUa22b3pjy9r7UY9OIp+ss4UfFTDCluyO1nq4IP4BCl fgOKWyeDv5d7+KECOg8sic1yFC43oN1j/0TJd99qIz656G3tGk1LB/jf8Sg2dlkeBX5mqY whVkTtOU2JZ3mh3rIpb1PoSvqiCVUv5ptuniHmsxAUX3Vth0pr3M7k8WqHou10mx1VtT2J HJ5kqBpP4e3oxYfV9It6UOU9UJXoAC5USCl6xUTn7cPCYjrZbklCvVd9+Xnn0g== X-Migadu-Spam-Score: -6.51 X-Spam-Score: -6.51 X-Migadu-Queue-Id: 39E3A101F3 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=sdsOLh+R; 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=none X-TUID: b4gii9FlK9TI I only recently discovered subtree export, which I thought would be better suited for me, but I have trouble to switch. Consider the following file: #+SELECT=5FTAGS: export conditional #+EXCLUDE=5FTAGS:=20 #+OPTIONS: toc:nil title:nil author:nil date:nil tags:nil * I :export: ** 1 ** 2 ** nth *** conditional :conditional: * II If I use 'C-c C-e l o', I have everything under '* I' exported. If I transfer 'conditional' from '#+SELECT=5FTAGS:' to '#+EXCLUDE=5FTAGS:', = I have everything under '* I' except the '*** conditional' headline. This is want I want: be able to selectively include/exclude the headlines with the ':conditional:' tag by simply transferring 'conditional'. Now, if I use 'C-c C-e C-s l o' on '* I', it gives the same as above when 'conditional' belongs to '#+EXCLUDE=5FTAGS:' but, after the transfer of 'conditional' to '#+SELECT=5FTAGS:', only the '** nth' headline is exported. Is there a convenient way to achieve my goal=3F Sure, I can put an ':export:' tag on '** 1', '** 2', and '** nth', but it is not very practical. I can also introduce a 'fake' headline and subtree export it instead: * fake ** I :export: *** 1 *** 2 *** nth **** conditional :conditional: * II but I don't like this workaround either. Thanks in advance PS: I have a minor comment about the manual: when reading the following= =E2=80=98SELECT=5FTAGS=E2=80=99 The default value is =E2=80=98("export")=E2=80=99. [...] =E2=80=98EXCLUDE=5FTAGS=E2=80=99 The default value is =E2=80=98("noexport")=E2=80=99. [...] I find it difficult to anticipate what will happen when there is no tag at all. --=20 EOST (=C3=89cole et Observatoire des Sciences de la Terre)=20 ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr 5 rue Ren=C3=A9 Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44= =20 F-67084 Strasbourg Cedex, France | [ slot available for rent ]