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 09:01:20 +0000 Message-ID: <87porgyysf.fsf@mat.ucm.es> References: <87oa74vyma.fsf@mat.ucm.es> <87d1nkvuat.fsf@mat.ucm.es> <87oa733g28.fsf@gmx.us> <87porh2jp8.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDpiC-0005nr-IF for emacs-orgmode@gnu.org; Fri, 17 Jun 2016 05:05:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDpi8-00007q-HK for emacs-orgmode@gnu.org; Fri, 17 Jun 2016 05:05:12 -0400 Received: from plane.gmane.org ([80.91.229.3]:38371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDpi8-00006a-Ah for emacs-orgmode@gnu.org; Fri, 17 Jun 2016 05:05:08 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bDpi5-0000bg-2c for emacs-orgmode@gnu.org; Fri, 17 Jun 2016 11:05:05 +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 11:05:05 +0200 Received: from oub by gilgamesch.quim.ucm.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Jun 2016 11:05:05 +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 --=-=-= Content-Type: text/plain >>> "John" == John Kitchin writes: > (require 'dash) > #+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] > (-zip-with 'list c0 c2) > #+END_SRC That does not work for me (I loaded dash) Here is the backtrace I also deleted the "-" in (-zip-with 'list c0 c2) to obtain (zip-with 'list c0 c2), but zip-with is not known as a command. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=error-zip.txt Debugger entered--Lisp error: (wrong-type-argument listp "nil") -zip-with(list "nil" "nil") (let ((c0 (quote "nil")) (c2 (quote "nil"))) (-zip-with (quote list) c0 c2)) (progn (let ((c0 (quote "nil")) (c2 (quote "nil"))) (-zip-with (quote list) c0 c2))) eval((progn (let ((c0 (quote "nil")) (c2 (quote "nil"))) (-zip-with (quote list) c0 c2)))) org-babel-execute:emacs-lisp("(-zip-with 'list c0 c2)" ((:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "replace") (:var c0 . "nil") (:var c2 . "nil") (:session . "none") (:hlines . "no") (:result-type . value) (:result-params "replace") (:rowname-names) (:colname-names))) org-babel-execute-src-block(nil) org-babel-execute-src-block-maybe() org-babel-execute-maybe() org-babel-execute-safely-maybe() run-hook-with-args-until-success(org-babel-execute-safely-maybe) org-ctrl-c-ctrl-c(nil) funcall-interactively(org-ctrl-c-ctrl-c nil) call-interactively(org-ctrl-c-ctrl-c nil nil) command-execute(org-ctrl-c-ctrl-c) --=-=-=--