emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: "Jan Böcker" <jan.boecker@jboecker.de>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Tip: How to copy&paste a table from Firefox to Org
Date: Tue, 10 Aug 2010 21:42:10 -0400	[thread overview]
Message-ID: <87hbj2apsd.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <4C619B77.2090908@jboecker.de> ("Jan Böcker"'s message of "Tue, 10 Aug 2010 20:33:27 +0200")

Jan Böcker <jan.boecker@jboecker.de> 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

  reply	other threads:[~2010-08-11  1:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-10 18:33 Tip: How to copy&paste a table from Firefox to Org Jan Böcker
2010-08-11  1:42 ` Bernt Hansen [this message]
2010-08-11  5:28   ` Jan Böcker

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=87hbj2apsd.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=jan.boecker@jboecker.de \
    /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).