From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ruben Maher Subject: Re: [Feature Request] Let publishing-function decide :output-file and whether publishing is needed Date: Sat, 22 Aug 2015 10:59:40 +0930 Message-ID: <87twrsaz5n.fsf@ayanami.rkm.id.au> References: <87oaj0d43r.fsf@ayanami.rkm.id.au> <87d1zcs9hv.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSxd2-0006HL-Lz for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 21:29:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSxcz-0001h9-Gs for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 21:29:52 -0400 Received: from sakura.rkm.id.au ([103.4.18.101]:46536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSxcy-0001el-Mh for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 21:29:49 -0400 Received: from ayanami.rkm.id.au (ppp118-210-104-2.lns20.adl2.internode.on.net [118.210.104.2]) by sakura.rkm.id.au (Postfix) with ESMTPSA id 4C396621960 for ; Sat, 22 Aug 2015 10:57:03 +0930 (ACST) In-Reply-To: <87d1zcs9hv.fsf@gmx.us> (rasmus@gmx.us's message of "Tue, 28 Jul 2015 15:21:48 +0200") 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 Rasmus writes: > OK. I did not test your patch, but can you please test and indicate > whether the following features work as expected with your patch: > > - automatic sitemap. > - linking org files (foo.org links to bar.org). > - async export (since you change org-export-output-file-name) > > Some quick thoughts. Perhaps it would be better to allow either a > user-supplied function that takes an org parse tree or an org file > location and returns an output name. Alternatively, maybe you could > provide a way to format file names in :publish-direction via a > format-string (e.g. keywords, date etc). Thanks for your feedback! Regrettably I no longer have time to work on this right now (just started another semester at university) but I will investigate this option when I get back to it in the future.