emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [wish] Execute preparation-function before getting base files


From: Arun Isaac
Subject: Re: [O] [wish] Execute preparation-function before getting base files
Date: Mon, 12 Oct 2015 19:32:35 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]