emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Arun Isaac <theroarofthedragon@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [wish] Execute preparation-function before getting base files
Date: Sat, 10 Oct 2015 22:25:08 +0530	[thread overview]
Message-ID: <87wpuubr4j.fsf@steel.i-did-not-set--mail-host-address--so-tickle-me> (raw)

[-- Attachment #1: Type: text/plain, Size: 604 bytes --]


In org-publish-projects, it would be good if the preparation-function is
executed before getting base files using org-publish-get-base-files.

In one of my use cases, my preparation-function generates some source
files which are then to be published by the publishing-function. But,
since the base filenames are collected before the preparation-function
is executed, the publishing-function does not see the generated source
files.

Right now, I'm calling my preparation-function manually before calling
org-publish-project, but it would be nice if I didn't have to do it this
way.

Thanks,
Arun Isaac.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

             reply	other threads:[~2015-10-10 16:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-10 16:55 Arun Isaac [this message]
2015-10-11 12:03 ` [wish] Execute preparation-function before getting base files Eric S Fraga
2015-10-12 14:02   ` Arun Isaac
2015-10-13 19:41     ` Nicolas Goaziou
2015-10-14  9:45       ` Arun Isaac
2015-10-14 10:41         ` Nicolas Goaziou
2015-10-14 14:59           ` Arun Isaac

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=87wpuubr4j.fsf@steel.i-did-not-set--mail-host-address--so-tickle-me \
    --to=theroarofthedragon@gmail.com \
    --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).