I use :noexport: extensively and didn't want to mix it with comments. But your
idea set me on the right track:

(setq org-export-exclude-tags '("noexport" "comment"))

I didn't notice the subtle differences between COMMENT and :noexport: so far,
so I guess I don't mind.

Andreas

On Wed, Nov 12, 2025 at 9:15 AM Christian Moe <[email protected]> wrote:
>
> Pedro Andres Aranda Gutierrez <[email protected]> writes:
>
> > Don't know, but it really feels soft of awkward that your heading can't 
> > start with COMMENT.
> > I've not used it in Org, but I do in other word processing setups, where 
> > you get a file and
> > you want to add temporary stuff at the end for inter-author communication 
> > processes.
>
> There's always the :noexport: tag, though. Andreas' example works fine
> with noexport instead of COMMENT, resulting in:
>
>     1. AAA
>     2. CCC
>     3. DDD
>     4. EEE
>
> (COMMENT and :noexport: do not have identical effects; e.g. COMMENT also
> hides named blocks from Babel :var references, for some reason, but for
> me that's usually a reason to prefer noexport, not a behavior I want.)
>
> Regards,
> Christian

Reply via email to