From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Discussion request: 15m tangle time, details follow Date: Thu, 19 Jun 2014 09:44:41 -0400 Message-ID: <87y4wtypwm.fsf@gmail.com> References: <87ppi76irx.fsf@gmail.com> <87wqce0w9n.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxcer-0002o8-Mg for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 09:45:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wxcem-0007Pk-Nk for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 09:45:41 -0400 Received: from mail-qg0-x235.google.com ([2607:f8b0:400d:c04::235]:44152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxcem-0007Pg-JK for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 09:45:36 -0400 Received: by mail-qg0-f53.google.com with SMTP id i50so2081565qgf.40 for ; Thu, 19 Jun 2014 06:45:36 -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: Grant Rettke Cc: "emacs-orgmode@gnu.org" Grant Rettke writes: > I still want to be using org,, so my plan for now then is to write a > pre-processing script for before org-babel-tangle is run that: > > 1. Checks each headline > 2. Checks if there is a source block > 3. If that source block doesn't have a noweb-ref name, and there is > another source block under that > headline, then "merge" it with the next source block of the same > nature in that heading. > > That is off the top of my head, and I will try it by hand, first and > see if it tangles the same result. > > Thoughts? Perhaps an easier workaround would be to customize the value of `org-babel-common-header-args-w-values'. This variable determines which header arguments are checked for in properties. If you remove all header arguments from this variable which you know are not used in a property, it may dramatically speed up tangle time. This may reduce the utility of some convenience functions, but should not have too large of an impact on overall functionality. Best, Eric -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D (see https://u.fsf.org/yw)