From: Arun Isaac <theroarofthedragon@gmail.com>
To: Emacs orgmode <emacs-orgmode@gnu.org>
Subject: Re: [wish] Execute preparation-function before getting base files
Date: Mon, 12 Oct 2015 19:32:35 +0530 [thread overview]
Message-ID: <874mhw89s4.fsf@steel.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87612d394l.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Sun, 11 Oct 2015 13:03:22 +0100")
[-- Attachment #1: Type: text/plain, Size: 675 bytes --]
org-export-before-{processing,parsing} hooks are only useful when I have
existing source files and I want to modify them in some way before I
{process,parse} them. In my case, the source files don't exist at all,
before my preparation-function is run.
Regarding the preparation-function, the use case described in the manual
is for running make to update files before publishing.
http://orgmode.org/manual/Sources-and-destinations.html
Therefore, I think it makes sense only if the source filenames are collected
using org-publish-get-base-files after the preparation-function is run.
With the above logic, maybe the order of execution can actually be
considered a bug?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
next prev parent reply other threads:[~2015-10-12 14:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-10 16:55 [wish] Execute preparation-function before getting base files Arun Isaac
2015-10-11 12:03 ` Eric S Fraga
2015-10-12 14:02 ` Arun Isaac [this message]
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=874mhw89s4.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).