From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Remove unecesssary invocations of org-mode in ox-publish Date: Tue, 29 Jul 2014 17:13:29 +0200 Message-ID: <87fvhk9p0m.fsf@bzg.ath.cx> References: <87mwbsn40z.fsf@fastmail.fm> <871tt4fggm.fsf@bzg.ath.cx> <87zjfsnsyf.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC95x-0007Oq-DK for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 11:13:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XC95r-0002dl-Dq for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 11:13:41 -0400 Received: from mail-s76.mailgun.info ([184.173.153.204]:49078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC95r-0002dg-0O for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 11:13:35 -0400 In-Reply-To: <87zjfsnsyf.fsf@fastmail.fm> (Matt Lundin's message of "Tue, 29 Jul 2014 10:03:21 -0500") 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: Matt Lundin Cc: Org Mode Hi Matt, Matt Lundin writes: > So to be safe, we could do the following in org-publish-find-date and > org-publish-find-title... > > (org-export-with-buffer-copy (org-export-get-environment)) > > What do you think? Yes, this sounds right, please go ahead. I applied your fix in the maint branch, so if you need to revert it please do the revert from there first. Thanks in advance, -- Bastien