From: Uwe Brauer <oub@mat.ucm.es>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: Uwe Brauer <oub@mat.ucm.es>, emacs-orgmode@gnu.org
Subject: Re: the opposite of the noexport tag
Date: Mon, 23 Oct 2023 14:16:16 +0200 [thread overview]
Message-ID: <87y1ftilf3.fsf@mat.ucm.es> (raw)
In-Reply-To: 878r7tagzp.fsf@localhost
[-- Attachment #1: Type: text/plain, Size: 2005 bytes --]
>>> "IR" == Ihor Radchenko <yantar92@posteo.net> writes:
> Uwe Brauer <oub@mat.ucm.es> writes:
>>> This is not a correct format. Please, review the manual section I linked
>>> to.
>>
>> So it should be
>> #+options: SELECT_TAGS: ("noexport")
>> #+options: EXCLUDE_TAGS: ("export")
>>
>> Right?
> No.
> #+SELECT_TAGS: tag1 tag2 ...
> Same for #+EXCLUDE_TAGS.
I recommend then to clarify this is in the manual: the expression in the manual is
`("export")'
And at least for me it is not clear that this translate to
#+SELECT_TAGS: export
>> I am wondering why it worked anyhow
> By default, SELECT_TAGS is set to "export" tag and EXCLUDE_TAGS is set
> to "noexport" tag.
>>> (side note: this is odd to set selected tags to "noexport")
>>
>> So what to you propose instead, in order to achieve my goal:
>>
>> «To export only the sections that have the export tag and leave the
>> ignore the others»
> #+SELECT_TAGS: export
> And then
> * This section will be exported :export:
> * This - will not
> * This - neither :some_other_tag:
> And you do not even need #+SELECT_TAGS if you use "export" tag - it is
> already set like this by default.
Ok, thanks! I figured that out now and it is, again, confusing.
- If I don't add any tag
* This section will be exported
* This - will
* This - will :some_other_tag:
- But if I just add *one* export tag to one of the sections the rest is ignored.
Couldn't that be clarified in the manual, please.
Regards
Uwe Brauer
--
Warning: Content may be disturbing to some audiences
I strongly condemn Hamas bestialic terroristic attack on Israel, especially the despicable pogroms.
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the NATO membership of Ukraine.
I support the EU membership of Ukraine.
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]
next prev parent reply other threads:[~2023-10-23 12:17 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-22 15:23 the opposite of the noexport tag Uwe Brauer
2023-10-22 16:18 ` Bruno Barbier
2023-10-22 16:33 ` Uwe Brauer
2023-10-22 16:42 ` Ihor Radchenko
2023-10-22 17:03 ` Uwe Brauer
2023-10-22 17:22 ` Ihor Radchenko
2023-10-22 19:38 ` Uwe Brauer
2023-10-23 8:19 ` Ihor Radchenko
2023-10-23 12:16 ` Uwe Brauer [this message]
2023-10-23 12:32 ` Ihor Radchenko
2023-10-23 12:34 ` Uwe Brauer
2023-10-23 12:59 ` Uwe Brauer
2023-10-23 13:23 ` Loris Bennett
2023-10-24 9:01 ` Ihor Radchenko
2023-10-24 9:40 ` Loris Bennett
2023-10-24 11:06 ` Ihor Radchenko
2023-10-25 8:27 ` Ihor Radchenko
2023-10-24 12:22 ` Uwe Brauer
2023-10-22 16:58 ` Bruno Barbier
2023-10-22 17:06 ` Uwe Brauer
2023-10-22 17:19 ` Bruno Barbier
2023-10-22 19:35 ` Uwe Brauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1ftilf3.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).