From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Re: Problems with org publish cache checking Date: Thu, 26 Nov 2015 09:25:53 +0100 Message-ID: <8737vtjhf2.fsf@nicolasgoaziou.fr> References: <87r3jfh1js.fsf@fastmail.fm> <87lh9llcf5.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1rqY-0000mh-DG for emacs-orgmode@gnu.org; Thu, 26 Nov 2015 03:24:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1rqX-0006Le-LZ for emacs-orgmode@gnu.org; Thu, 26 Nov 2015 03:24:06 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:60828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1rqX-0006LI-FT for emacs-orgmode@gnu.org; Thu, 26 Nov 2015 03:24:05 -0500 In-Reply-To: <87lh9llcf5.fsf@fastmail.fm> (Matt Lundin's message of "Wed, 25 Nov 2015 20:30:54 -0600") 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 Hello, Matt Lundin writes: > OK, I've worked up a patch that solves several of these issues. The > basic idea is to check when publishing an org file whether it includes > other org files and then to store that data in the cache. That way, > org-publish-cache-file-needs-publishing does not need to open each > buffer but rather can compare the stored timestamp data against the > actual modified times of the included files. This is much better, indeed. Thank you. One suggestion: wouldn't it make sense to also apply check to SETUPFILE keywords? Regards, -- Nicolas Goaziou