emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Ingram <thomas@taingram.org>
To: emacs-orgmode@gnu.org
Subject: Prevent files with excluded FILETAGS from being exported
Date: Wed, 07 Dec 2022 12:43:11 -0500	[thread overview]
Message-ID: <87zgbzrs0t.fsf@taingram.org> (raw)


Hello,

Currently when trying to export an org file with FILETAGS set to
"noexport" (or any value in `org-export-exclude-tags') the file is still
exported with the title and top level text.  I propose that be changed
so files with FILETAGS in `org-export-exclude-tags' are completely
skipped by the exporter.

This would be extremely useful in combination with ox-publish, as it
would allow users to easily exclude files from publishing from within
the file.  Currently this can only be done by adjusting the ':exclude'
value to match the filename in the `org-publish-project-alist' settings.

Please let me know your thoughts.  I would be happy to try to submit a
patch but I would need some pointers on where in the export process this
change should be added.

Thanks,
--
Thomas Ingram
https://taingram.org


             reply	other threads:[~2022-12-07 18:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-07 17:43 Thomas Ingram [this message]
2022-12-12 13:37 ` Prevent files with excluded FILETAGS from being exported Ihor Radchenko

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=87zgbzrs0t.fsf@taingram.org \
    --to=thomas@taingram.org \
    --cc=emacs-orgmode@gnu.org \
    /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).