From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: [Feature request] org-babel-tangle-file add an option to tangle if target-file is older than file. Date: Thu, 18 Sep 2014 12:27:46 +0200 Message-ID: <87tx45te8t.fsf@gmail.com> References: <541A94F8.8040305@neutrico-themes.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUZuo-0000BL-5c for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 07:30:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUZui-0001Un-UQ for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 07:30:22 -0400 Received: from plane.gmane.org ([80.91.229.3]:52553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUZui-0001Re-No for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 07:30:16 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XUYyS-0003lo-B7 for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 12:30:04 +0200 Received: from g231109062.adsl.alicedsl.de ([92.231.109.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Sep 2014 12:30:04 +0200 Received: from tjolitz by g231109062.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Sep 2014 12:30:04 +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 Marcin Antczak writes: > As in topic. > > I think that if both parameters 'file' and 'target-file' are set and > target-file' exists, 'org-babel-tangle-file' should tangle only if > target-file' is older. I think the Org based Emacs Starter Kit does this conditional tangling, you might have a look there (http://eschulte.github.io/emacs24-starter-kit/) to see how it is done. -- cheers, Thorsten