From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: problems with export and :cache Date: Sat, 07 Nov 2015 17:37:08 +0100 Message-ID: <87mvupdavf.fsf@Rainer.invalid> References: <87vb9pyf0l.fsf@gmail.com> <871tcdpxeq.fsf@nicolasgoaziou.fr> <87io5pyaeo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv6US-0002MN-9g for emacs-orgmode@gnu.org; Sat, 07 Nov 2015 11:37:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zv6UN-00068S-5R for emacs-orgmode@gnu.org; Sat, 07 Nov 2015 11:37:20 -0500 Received: from plane.gmane.org ([80.91.229.3]:57734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv6UM-00068O-V1 for emacs-orgmode@gnu.org; Sat, 07 Nov 2015 11:37:15 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zv6UL-0008R5-Ci for emacs-orgmode@gnu.org; Sat, 07 Nov 2015 17:37:13 +0100 Received: from p4ff1d4e9.dip0.t-ipconnect.de ([79.241.212.233]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Nov 2015 17:37:13 +0100 Received: from Stromeko by p4ff1d4e9.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Nov 2015 17:37:13 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Aaron Ecay writes: >> Another option is to extend `org-babel-get-header' to accept a list of >> keys instead of a single key. > > I’d like to remove this function, actually. I hate the org functions > that do X most of the time, but the opposite of X when you pass them > an optional argument (in this case the third arg ‘other’). Almost > all (a couple dozen in total) of the calls to o-b-get-header are in > the context (mapcar #'cdr (org-babel-get-header params :var)). I’d > like to introduce a function org-babel--get-var-values to cover these > cases, and replace the remaining 2 calls in the codebase (which both > extract :column-names) with assq (since :column-names should appear > maximally once, unlike :var). The sole use of the evil 'other arg is > refactored away by my patch. Your commit 0d000f5680 implementing this (I can't find the push announced on the list, so I hope it's OK to piggy-back on here) breaks the test ob-awk/tabular-input. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ DIY Stuff: http://Synth.Stromeko.net/DIY.html