emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Scott Otterson <scotto@u.washington.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: feature request: org-table-import without temp files
Date: Tue, 1 May 2007 12:59:49 +0200	[thread overview]
Message-ID: <5efbb3d5d7807f642a7d4a5f691c7d72@science.uva.nl> (raw)
In-Reply-To: <463240DA.2020201@u.washington.edu>


On Apr 27, 2007, at 20:28, Scott Otterson wrote:

>  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

     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, 
> 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
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

  reply	other threads:[~2007-05-06 17:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-27 18:28 feature request: org-table-import without temp files Scott Otterson
2007-05-01 10:59 ` Carsten Dominik [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-04-29  1:51 Scott Otterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5efbb3d5d7807f642a7d4a5f691c7d72@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=scotto@u.washington.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).