From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: speeding up Babel Gnuplot Date: Wed, 04 Jan 2017 18:32:15 +0100 Message-ID: <87tw9eg28w.fsf@Rainer.invalid> References: <5864217C.7060001@free.fr> <586963CB.1000006@free.fr> <87d1g6qrqh.fsf@nicolasgoaziou.fr> <586AB3DB.6070702@free.fr> <586C1A53.90601@free.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOpQN-000401-Nf for emacs-orgmode@gnu.org; Wed, 04 Jan 2017 12:32:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOpQK-0006pA-Ju for emacs-orgmode@gnu.org; Wed, 04 Jan 2017 12:32:31 -0500 Received: from [195.159.176.226] (port=34213 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cOpQK-0006oL-DN for emacs-orgmode@gnu.org; Wed, 04 Jan 2017 12:32:28 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cOpQC-00016D-B3 for emacs-orgmode@gnu.org; Wed, 04 Jan 2017 18:32:20 +0100 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" To: emacs-orgmode@gnu.org Thierry Banel writes: > There is no way to ensure a single call to > (org-babel-gnuplot-process-vars) without modifying ob-core.el. I don't > want to do that because I would have to change a lot of babel backends. But that is the right fix to apply, unless there is a reason for the input vars to be processed multiple times. I haven't looked at the Babel code in the last two years, but generally I'd suggest that each argument should only be processed once per Babel block since the second processing could have unwanted side-effects. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds