emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Tip: How to copy&paste a table from Firefox to Org


From: Jan Böcker
Subject: [Orgmode] Tip: How to copy&paste a table from Firefox to Org
Date: Tue, 10 Aug 2010 20:33:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]