From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Otterson Subject: feature request: org-table-import without temp files Date: Fri, 27 Apr 2007 11:28:42 -0700 Message-ID: <463240DA.2020201@u.washington.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1439641941==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HhVHR-0005qz-7c for emacs-orgmode@gnu.org; Fri, 27 Apr 2007 14:34:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HhVHP-0005qn-OM for emacs-orgmode@gnu.org; Fri, 27 Apr 2007 14:34:51 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HhVHP-0005qk-Hv for emacs-orgmode@gnu.org; Fri, 27 Apr 2007 14:34:51 -0400 Received: from mxout4.cac.washington.edu ([140.142.33.19]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HhVBW-0007OB-JK for emacs-orgmode@gnu.org; Fri, 27 Apr 2007 14:28:46 -0400 Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l3RIShqE021785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 27 Apr 2007 11:28:43 -0700 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: emacs-orgmode@gnu.org --===============1439641941== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Lately, I've been creating a lot of tables from text from text files containing a mix of English text and columnar data (the stuff I'm importing).  This is pretty easy to do in org-mode:  save the columnar data to a temporary file and then run M-x org-table-import.  But it would be even easier if I could import the data without the temp file step.

One way to do this could be to add a new function, org-table-import-from-kill-ring:
  1. In the original text file, copy the tabular part into the kill ring with C-w or equivalent
  2. In the org file, with the cursor at the place for the new table, type M-x org-table-import-from-kill-ring
Another way could be to add a new function, org-table-import-to-kill-ring
  1. In the original text file, select the tabular data and type M-x org-table-import-to-kill-ring
  2. In the org file, put the cursor where you want the table and type C-y
Or, maybe there are more clever ideas?

Scott
--===============1439641941== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1439641941==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Otterson Subject: feature request: org-table-import without temp files Date: Sat, 28 Apr 2007 18:51:47 -0700 Message-ID: <4633FA33.9020906@u.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hhyfw-0005lO-Hu for emacs-orgmode@gnu.org; Sat, 28 Apr 2007 21:58:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hhyfw-0005lC-0r for Emacs-orgmode@gnu.org; Sat, 28 Apr 2007 21:58:08 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hhyfv-0005kz-Pu for Emacs-orgmode@gnu.org; Sat, 28 Apr 2007 21:58:07 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HhyZu-0004cf-4b for Emacs-orgmode@gnu.org; Sat, 28 Apr 2007 21:51:54 -0400 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 7D4172190F8 for ; Sat, 28 Apr 2007 21:51:55 -0400 (EDT) Received: from [192.168.1.101] (unknown [209.91.60.150]) by mail.messagingengine.com (Postfix) with ESMTP id 2407D232 for ; Sat, 28 Apr 2007 21:51:54 -0400 (EDT) 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: Emacs-orgmode@gnu.org Lately, I've been creating a lot of tables from text from text files containing a mix of English text and columnar data (the stuff I'm importing). This is pretty easy to do in org-mode: save the columnar data to a temporary file and then run M-x org-table-import. But it would be even easier if I could import the data without the temp file step. One way to do this could be to add a new function, org-table-import-from-kill-ring: 1. In the original text file, copy the tabular part into the kill ring with C-w or equivalent 2. In the org file, with the cursor at the place for the new table, type M-x org-table-import-from-kill-ring Another way could be to add a new function, org-table-import-to-kill-ring 1. In the original text file, select the tabular data and type M-x org-table-import-to-kill-ring 2. In the org file, put the cursor where you want the table and type C-y Or, maybe there are more clever ideas? Scott 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 >