From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: [wish] Execute preparation-function before getting base files Date: Sat, 10 Oct 2015 22:25:08 +0530 Message-ID: <87wpuubr4j.fsf@steel.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkxQf-0006Qj-5V for emacs-orgmode@gnu.org; Sat, 10 Oct 2015 12:55:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkxQZ-00051a-Qu for emacs-orgmode@gnu.org; Sat, 10 Oct 2015 12:55:29 -0400 Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]:33167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkxQZ-000518-LT for emacs-orgmode@gnu.org; Sat, 10 Oct 2015 12:55:23 -0400 Received: by pacex6 with SMTP id ex6so115312796pac.0 for ; Sat, 10 Oct 2015 09:55:22 -0700 (PDT) Received: from steel ([223.227.105.240]) by smtp.gmail.com with ESMTPSA id ir4sm6701899pbb.93.2015.10.10.09.55.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Oct 2015 09:55:21 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain 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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWGULtAAoJEC4l7othgCuzcnAIAIydkh1lo2RD6fWkpVgoxO3j 07LFWOZLPBBWcS8oZ4bKmYUT0S5+3EW1bt3ytuii92zIwI//LyM6/8nEwtP0Nfgx Rv31ISbyjPN2Ccvo0eV9CX+8yz2IGMS+abxZDp0u3lJm+pb9zzBSU6Rzr5soEbTC wFthW7il4mE3R/gtonO2R6RSLdHG99AhkJjAxhw+daygRmjOXgtqIOjJ9DYLxDUU quFaiQEz9Q7NFksXmT9xt5TvxEz7H+4sw2xm5q8oE598S/tDLIpWqjB281ulSSw9 k7v+f555ROplEAPXd8teG8fhjvABhrfCSSoh6lCrV47CW1GVyixdTUwMkN9j/9o= =pMQq -----END PGP SIGNATURE----- --=-=-=--