From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wim Oudshoorn" Subject: Re: HTML --> Org-mode? Date: Tue, 27 Jan 2015 14:58:00 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG6ee-0004RJ-FW for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 08:58:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YG6ea-0007OJ-AO for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 08:58:08 -0500 Received: from lb3-smtp-cloud6.xs4all.net ([194.109.24.31]:44648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG6ea-0007N0-5H for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 08:58:04 -0500 In-Reply-To: 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: Matt Price Cc: Org Mode , Willem Rein Oudshoorn > Thank you Willem, > > This looks very helpful. > > I am trying the code out in a scratch buffer and I am unable to gnerate > org > syntax, e.g. with this test string: > > (h-2-o-insert-org-source-for-html "

href=\"http://example.org/\">hello > world
foo

" ) > > > Am I doing something wrong? Thanks, > Matt No you are not doing anything wrong. What happens is that: 1. I have not implemented links. This should be easy to fix and I will do this when I get home. 2. Similarly for the element. However I do not exactly know what the corresponding Org syntax should be? Would you expect: /world/ /foo/ Or is there a structured element in org mode that renders a block as italics? I will see what I can do about point 2. In general, I am a bit torn between: - faithful transformation. - Getting readable org source. I am leaning towards the readable org source and sacrificing the faithfulness. Wim Oudshoorn.