From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6AkcENKHN2VncAAAG6o9tA:P1 (envelope-from ) for ; Tue, 24 Oct 2023 11:01:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6AkcENKHN2VncAAAG6o9tA (envelope-from ) for ; Tue, 24 Oct 2023 11:01:06 +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 C2C846A46A for ; Tue, 24 Oct 2023 11:01:05 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=KMLOzUEd; 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=1698138066; 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=w2wuACafJSoJSBGF/w4KHW6TxlLRxtP/JE58/pwMMmc=; b=JsWeV34RwLPU0yF7U5DSbq9hwLA+8qcx71AdxNwXI7gDBGiKKvaonpLKa+hbVj9tkYMW2O LY7se6qysJ6iyXgB3ZVMdmxHOnoJSmUau9c4egpHSKezaTi6h0d4e4En+Hq5zOTcoqKbCK syynO/H3ZfEKGrBYHMgSQSnPrkfw8Qxu6tr+P9supJHjMShsXKR+iN2OmJAlCKPQUXD3S/ qjvZoASpAgewn0EyF23SKCfjcf7VkLzsmV0B6SkE2utCkdtDMcYwRNKHoJK6MKVlS8nM6v AVxbZV3/PNESnWW/dUXa4SV7ZYZz7xeBSObZJq3GwV2e/RdHoUUmipmP98Sb3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698138066; a=rsa-sha256; cv=none; b=eZB/nr03vMSo7M91Naz5f96XRcHHc739HOLMEUdnRUJZudONVEuVDDH2E75Ojy4inzS62J KLhyW7OarBc7LYRbeSF7gszOrt2BMthVGqCpt9Jk+HtJdj5c3r+pEf0NxeKxRxzZ6q78+h nfuIi1IL5E7cJIgqmVtx4/J2MqqnDOIVfbT/ZY2Vfj6VEqzyMP7dMUD12dDuppvMxlM6wJ SXnLMVSOoMXZex44ODnY+9q15iiUBDXACMJPMeQkfWYloq96Ouopv2Zr9fN3hSvE93EiUP NXx8QApfuF0rsAosH1Xmp2aXEuPZ759qnaV0cCIR2ApAJSflY2ATx543IMcbNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=KMLOzUEd; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvDGM-0006Ba-J9; Tue, 24 Oct 2023 04:59:46 -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 1qvDGK-0006Ay-2m for emacs-orgmode@gnu.org; Tue, 24 Oct 2023 04:59:44 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvDGH-0007xt-Hk for emacs-orgmode@gnu.org; Tue, 24 Oct 2023 04:59:43 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 871C7240104 for ; Tue, 24 Oct 2023 10:59:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1698137979; bh=wrCHqNSIQOB2mNGfNEbSm9d4oEHi9BrPZVA/hLOQK7U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=KMLOzUEdiSrSaXi8Fb2beA3y1Iv/ezk9GDW5+LNyojx4A2WkYORY9pvzpJULZtdr1 XZd9kftJ6sYxHcS5xPAejhb7l61t9KNJFuUgU1mmMphoIDS4HCBaCQKUZ/VFMxQ1Fy +OLvZLn6fQ9nyQ8Yg4rKw/a+DqrhfMfkxLgousDFNq/yU4uG4Xg+aGLDsjsWLocjlU ElDHQjwEtQV/xOQgTjwwFW1VlMAFXcoj64IB3QQC84I92h7myZ6WWuubAM46ffM2mN EavC7SUnRGTdluqcty+Y48jxrtxFIk+wEPCUdA/CshA/WvfZCgHis6ywo8Vjsbqss6 MrZ7umfmq7E4Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SF5bb0G3nz9rxK; Tue, 24 Oct 2023 10:59:38 +0200 (CEST) From: Ihor Radchenko To: Uwe Brauer Cc: emacs-orgmode@gnu.org Subject: Re: the opposite of the noexport tag In-Reply-To: <87lebtije9.fsf@mat.ucm.es> References: <87sf62lm03.fsf@mat.ucm.es> <65354b3c.df0a0220.36680.b681@mx.google.com> <87mswaboqy.fsf@mat.ucm.es> <87h6mia9se.fsf@localhost> <87pm16oahw.fsf@mat.ucm.es> <87edhma7xm.fsf@localhost> <878r7uo3bh.fsf@mat.ucm.es> <878r7tagzp.fsf@localhost> <87y1ftilf3.fsf@mat.ucm.es> <87il6x8qoy.fsf@localhost> <87lebtije9.fsf@mat.ucm.es> Date: Tue, 24 Oct 2023 09:01:22 +0000 Message-ID: <871qdk8kd9.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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_H5=0.001, RCVD_IN_MSPIKE_WL=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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -9.32 X-Migadu-Queue-Id: C2C846A46A X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -9.32 X-TUID: XXq2jhrE0Gz2 --=-=-= Content-Type: text/plain Uwe Brauer writes: >> Uwe Brauer writes: >>> I recommend then to clarify this is in the manual: the expression in the manual is >>> `("export")' > >> What about the attached patch? > > I added some lines, and run rediff and I hoper therefore the modified patch is ok. > > > Feel free to use it > + This tag is useful, if the =export= tag is not used on other sections. > + When a tree is tagged > + with =noexport=, Org excludes that tree and its subtrees from > + export. I find this part confusing - we first talk about no "export" tags at all and then immediately about using with "export" tags. I dropped it in the attached patch. Maybe there is a better way to formulate the same? In the attached patch, I incorporated your other changes, the grammar remarks from Loris, and reworded a bit more. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=v2-0001-doc-org-manual.org-Improve-documentation-for-SELE.patch >From c82ec6139269cfc5dabf0e2e4d3601143843c782 Mon Sep 17 00:00:00 2001 Message-ID: From: Ihor Radchenko Date: Mon, 23 Oct 2023 15:30:42 +0300 Subject: [PATCH v2] * doc/org-manual.org: Improve documentation for #+SELECT_TAGS and #+EXCLUDE_TAGS (Export Settings): Clarify how to define multiple tags per-document. Reword. Link: https://orgmode.org/list/87y1ftilf3.fsf@mat.ucm.es --- doc/org-manual.org | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index c0e9c8d7e..7e4553668 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -12053,22 +12053,38 @@ ** Export Settings #+cindex: @samp{SELECT_TAGS}, keyword #+vindex: org-export-select-tags - The default value is =("export")=. When a tree is tagged with - =export= (~org-export-select-tags~), Org selects that tree and its - subtrees for export. Org excludes trees with =noexport= tags, see - below. When selectively exporting files with =export= tags set, Org - does not export any text that appears before the first headline. + List of tags that will *only* be selected for export. The default + value is ~org-export-select-tags~ =("export")=. When a tree is + tagged with =export=, Org selects that tree and its subtrees for + export, ignoring all the other sections that do not possess the + =export= tag. + + When selectively exporting files with =export= tags set, Org does + not export any text that appears before the first headline. + + Note that a file without the =export= or the =noexport= tag will + export all its sections. + + To select non-default tags for export, customize + ~org-export-select-tags~ (globally) or add =#+SELECT_TAGS: tag1 + tag2= to the document. - =EXCLUDE_TAGS= :: #+cindex: @samp{EXCLUDE_TAGS}, keyword #+vindex: org-export-exclude-tags - The default value is =("noexport")=. When a tree is tagged with - =noexport= (~org-export-exclude-tags~), Org excludes that tree and - its subtrees from export. Entries tagged with =noexport= are - unconditionally excluded from the export, even if they have an - =export= tag. Even if a subtree is not exported, Org executes any - code blocks contained there. + List o tags that will be excluded from export. The default value is + ~org-export-exclude-tags~ =("noexport")=. When a tree is tagged + with =noexport=, Org excludes that tree and its subtrees from + export. + + Entries tagged with =noexport= are unconditionally excluded from the + export, even if they have an =export= tag. Even if a subtree is not + exported, Org executes any code blocks contained there. + + To select non-default tags for the exclusion, customize + ~org-export-exclude-tags~ (globally) or add =#+EXCLUDE_TAGS: tag1 + tag2= to the document. - =TITLE= :: -- 2.42.0 --=-=-= Content-Type: text/plain -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at --=-=-=--