emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Arun Isaac <theroarofthedragon@gmail.com>
Cc: Emacs orgmode <emacs-orgmode@gnu.org>
Subject: Re: [wish] Execute preparation-function before getting base files
Date: Tue, 13 Oct 2015 21:41:50 +0200	[thread overview]
Message-ID: <87lhb6zhc1.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <874mhw89s4.fsf@steel.i-did-not-set--mail-host-address--so-tickle-me> (Arun Isaac's message of "Mon, 12 Oct 2015 19:32:35 +0530")

Hello,

Arun Isaac <theroarofthedragon@gmail.com> writes:

> 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?

I made the change in master. Thank you.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2015-10-13 19:40 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
2015-10-13 19:41     ` Nicolas Goaziou [this message]
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=87lhb6zhc1.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=theroarofthedragon@gmail.com \
    /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).