Gmane
Picon
From: Jan Böcker <jan.boecker <at> jboecker.de>
Subject: Tip: How to copy&paste a table from Firefox to Org
Newsgroups: gmane.emacs.orgmode
Date: 2010-08-10 18:33:27 GMT (1 year, 40 weeks, 5 days, 12 hours and 43 minutes ago)
Hi all,

posting in case this is useful to someone else:

I just figured out how to copy & paste tabular data from Firefox to an
Org buffer (in my case: a train schedule from www.bahn.de).

- Select data in Firefox
- Paste into Org, select it as the region
- M-x replace-regexp <RET> C-i \ | ^ <RET> | <RET>
	
  C-i inserts a tab character (you can also use C-q <TAB> instead).
  We replace each beginning of a line and each tab character with "|".

- Place the cursor on the table and press C-c C-c to align it

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode