all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: wry@mm.st
To: "Fraga, Eric" <e.fraga@ucl.ac.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: Question: export with tags but hide "export" tag
Date: Sun, 24 Nov 2019 17:38:56 -0500	[thread overview]
Message-ID: <20191124223856.6dj4ro6hupjltbz7@wrycode> (raw)
In-Reply-To: <87lfs5e8vd.fsf@ucl.ac.uk>

On 11/24, Fraga, Eric wrote:
>You could maybe use this hook:
>
>,----[ C-h v org-export-before-processing-hook RET ]
>| org-export-before-processing-hook is a variable defined in ‘ox.el’.
>|
>| Documentation:
>| Hook run at the beginning of the export process.
>|
>| This is run before include keywords and macros are expanded and
>| Babel code blocks executed, on a copy of the original buffer
>| being exported.  Visibility and narrowing are preserved.  Point
>| is at the beginning of the buffer.
>|
>| Every function in this hook will be called with one argument: the
>| back-end currently used, as a symbol.
>`----
>
>*if* it is invoked after the tag selection is done (I'm not sure if it
>is or not).  You would have to write some emacs lisp to remove the
>:export: tags.

Thanks, I'll look into it. Probably should brush up on my elisp anyway

Nick

      reply	other threads:[~2019-11-24 22:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-23 16:59 Question: export with tags but hide "export" tag wry
2019-11-24 12:50 ` Fraga, Eric
2019-11-24 22:38   ` wry [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191124223856.6dj4ro6hupjltbz7@wrycode \
    --to=wry@mm.st \
    --cc=e.fraga@ucl.ac.uk \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.