From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: feature request: org-table-import without temp files Date: Tue, 1 May 2007 12:59:49 +0200 Message-ID: <5efbb3d5d7807f642a7d4a5f691c7d72@science.uva.nl> References: <463240DA.2020201@u.washington.edu> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HkkXL-0007DS-7s for emacs-orgmode@gnu.org; Sun, 06 May 2007 13:28:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HkkXJ-0007D4-Jf for emacs-orgmode@gnu.org; Sun, 06 May 2007 13:28:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HkkXJ-0007D1-Cl for emacs-orgmode@gnu.org; Sun, 06 May 2007 13:28:41 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HkkQQ-000281-5z for emacs-orgmode@gnu.org; Sun, 06 May 2007 13:21:34 -0400 In-Reply-To: <463240DA.2020201@u.washington.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Scott Otterson Cc: emacs-orgmode@gnu.org On Apr 27, 2007, at 20:28, Scott Otterson wrote: > Lately, I've been creating a lot of tables from text from text files=20= > containing a mix of English text and columnar data (the stuff I'm=20 > importing).=A0 This is pretty easy to do in org-mode:=A0 save the = columnar=20 > data to a temporary file and then run M-x org-table-import.=A0 But it=20= > would be even easier if I could import the data without the temp file=20= > step. > > One way to do this could be to add a new function,=20 > org-table-import-from-kill-ring: > 1 In the original text file, copy the tabular part into = the kill=20 > ring with C-w or equivalent > 2 In the org file, with the cursor at the place for the = new table,=20 > type M-x org-table-import-from-kill-ring 2 In the org-file, with the cursor at the place for a new table, type C-y to yank the data C-x C-x to activate the yank as the region C-c | to convert the region to a table. I guess this is easy enough? - Carsten > Another way could be to add a new function,=20 > org-table-import-to-kill-ring > 1 In the original text file, select the tabular data and = type M-x=20 > org-table-import-to-kill-ring > 2 In the org file, put the cursor where you want the table = and type=20 > C-y > Or, maybe there are more clever ideas? > > Scott > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >