From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: [CEDET-devel] Org-mode Date: Thu, 4 Nov 2010 16:50:06 +0100 Message-ID: <08BD603C-38FC-4139-96A0-CF9A00595616@gmail.com> References: <4CD15272.2080303@siege-engine.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=42673 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PE28o-0007cV-Aj for emacs-orgmode@gnu.org; Thu, 04 Nov 2010 11:54:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PE24n-0004qF-Ip for emacs-orgmode@gnu.org; Thu, 04 Nov 2010 11:50:10 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:65263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PE24n-0004pY-Co for emacs-orgmode@gnu.org; Thu, 04 Nov 2010 11:50:09 -0400 Received: by ewy25 with SMTP id 25so1197779ewy.0 for ; Thu, 04 Nov 2010 08:50:08 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Lennart Borgman Cc: Konrad Scorciapino , Jambunathan K , Org Mode , cedet-devel@lists.sourceforge.net, "Eric M. Ludlam" On Nov 4, 2010, at 4:45 PM, Lennart Borgman wrote: > On Thu, Nov 4, 2010 at 3:37 PM, Carsten Dominik > wrote: >> >> On Nov 3, 2010, at 1:34 PM, Lennart Borgman wrote: >> >>> On Wed, Nov 3, 2010 at 1:15 PM, Eric M. Ludlam >> > >>> wrote: >>>> >>>> On 10/30/2010 03:45 AM, Konrad Scorciapino wrote: >>>>> >>>>> Hey! >>>>> >>>>> Is anybody working on Org-mode? My main interest is to build a >>>>> parser to >>>>> manipulate the nodes of the resulting tree and save them back. >>>>> Tips on >>>>> how to get started are also welcome. >>>>> >>>> >>>> I know of no one doing that. I don't know what org-mode's code >>>> structure is like, but I'd assume it already has a parser, and >>>> you could >>>> adapt the output to Semantic tag format. >>>> >>>> The HTML parser also handles arbitrary text so you could look in >>>> semantic-html to see what sort of things that does. >>> >>> There are different exporters for org-mode. >>> >>> Currently we are trying to make an exporter to ODT files. I think a >>> parser would come in handy. >> >> >> org-html.el is probably the best starting point to make a complete >> parser. >> It does a very detailed analysis of the text. >> >> We should have built all the exporters on the same parser - >> unfortunately we >> did not. One of the hard to correct mistakes we made in early >> development. > > Then perhaps the best we can do now is starting by breaking up > org-hml.el in the parser and a callback function for writing the > export. After that we can add new exports by adding new callback > functions. Be my guest. - Carsten - Carsten