From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Preserve formatting when copy/pasting from HTML Date: Wed, 21 May 2014 14:04:32 +0200 Message-ID: <87a9abxrqn.fsf@bzg.ath.cx> References: <87tx8j9zo5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn5GG-00049O-Ny for emacs-orgmode@gnu.org; Wed, 21 May 2014 08:04:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wn5G7-000463-OE for emacs-orgmode@gnu.org; Wed, 21 May 2014 08:04:44 -0400 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:57310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn5G7-00045y-HH for emacs-orgmode@gnu.org; Wed, 21 May 2014 08:04:35 -0400 Received: by mail-wg0-f49.google.com with SMTP id m15so1926566wgh.32 for ; Wed, 21 May 2014 05:04:34 -0700 (PDT) In-Reply-To: <87tx8j9zo5.fsf@gmail.com> (Tory S. Anderson's message of "Wed, 21 May 2014 06:47:06 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Tory S. Anderson" Cc: emacs-orgmode@gnu.org Hi Tory, torys.anderson@gmail.com (Tory S. Anderson) writes: > We often read online articles with headings and sometimes > subheadings. They may also include bold, italic, and hyperlinks, all > of which are supported by Org. Is there any way to preserve this > formatting if I copy-paste into org/emacs, the same way it's preserved > when I paste into Word or into a Google Document/email? Or is this > fundamentally difficult in emacs? It would be a tremendous feature. It would be easy to code something that sometimes works, with a dumb parsing of the most common HTML tags and rendering into Org syntax. But this would be really fragile and doing it right is fundamentally difficult. I'd love to see someone proves me I'm too pessimistic, though. Best, -- Bastien