From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: extract a region from a table and export it Date: Fri, 17 Jun 2016 13:07:07 +0000 Message-ID: <87oa707ymc.fsf@mat.ucm.es> References: <87oa74vyma.fsf@mat.ucm.es> <87d1nkvuat.fsf@mat.ucm.es> <87oa733g28.fsf@gmx.us> <87porh2jp8.fsf@mat.ucm.es> <87porgyysf.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDtUU-0007SP-8h for emacs-orgmode@gnu.org; Fri, 17 Jun 2016 09:07:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDtUR-00085W-1J for emacs-orgmode@gnu.org; Fri, 17 Jun 2016 09:07:18 -0400 Received: from plane.gmane.org ([80.91.229.3]:60852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDtUQ-00085L-QF for emacs-orgmode@gnu.org; Fri, 17 Jun 2016 09:07:14 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bDtUP-0007vo-3R for emacs-orgmode@gnu.org; Fri, 17 Jun 2016 15:07:13 +0200 Received: from gilgamesch.quim.ucm.es ([147.96.12.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Jun 2016 15:07:13 +0200 Received: from oub by gilgamesch.quim.ucm.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Jun 2016 15:07:13 +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" To: emacs-orgmode@gnu.org Thanks but none works for me in the following I will show my results #+tblname: tab2 | 1 | a | 3 | | 2 | b | 4 | | 3 | c | 6 | | 4 | d | 7 | #+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2] c0 #+END_SRC #+RESULTS: : nil I obtain #+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2] c2 #+END_SRC #+RESULTS: : nil > Here is a non-dash solution that works for two lists. #+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2] (loop for a in c0 for b in c2 collect (list a b)) #+END_SRC #+RESULTS: