From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Denton Subject: How to export table from a src block? Date: Mon, 28 Mar 2016 15:10:47 -0400 (EDT) Message-ID: Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="658601964-291051606-1459192247=:13165" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akcYu-0002q8-3l for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 15:10:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akcYq-0003Xc-UU for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 15:10:52 -0400 Received: from shell.miskatonic.org ([65.39.236.119]:58495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akcYq-0003XF-R1 for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 15:10:48 -0400 Received: from localhost (localhost [127.0.0.1]) by shell.miskatonic.org (Postfix) with ESMTP id 0D4F0FA00CC for ; Mon, 28 Mar 2016 15:10:47 -0400 (EDT) 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 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --658601964-291051606-1459192247=:13165 Content-Type: TEXT/PLAIN; format=flowed; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have a big table (with #+NAME: mytable). I can export it to a CSV file= by=20 hand by having the point somewhere in the table and running M-x org-table-export but how could I do this from a source block? I've got one line so far, b= ut how=20 would I get it to be in the table when it runs? There's nothing else in = this=20 file, just a table and then this source block. #+BEGIN_SRC emacs-lisp (org-table-export "/tmp/mytable.csv" "orgtbl-to-csv") #+END_SRC Any help appreciated! Bill --=20 William Denton =E2=86=94 Toronto, Canada =E2=86=94 https://www.miskaton= ic.org/ --658601964-291051606-1459192247=:13165--