[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Tip: How to copy&paste a table from Firefox to Org
From: |
Bernt Hansen |
Subject: |
[Orgmode] Re: Tip: How to copy&paste a table from Firefox to Org |
Date: |
Tue, 10 Aug 2010 21:42:10 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Jan Böcker <address@hidden> writes:
> 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
Isn't this the same as
- Select data in Firefox
- Paste into Org.
- C-x C-x (select it as the region)
- M-x org-table-convert-region
?
-Bernt