From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Cave Subject: Re: Announcing my Python module to read org-mode files Date: Tue, 17 Mar 2009 01:22:49 +0000 (UTC) Message-ID: References: <49BC77EF.9060102@optusnet.com.au> <49BE9A68.5020604@advantest-ard.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LjO1P-0006TB-5d for emacs-orgmode@gnu.org; Mon, 16 Mar 2009 21:23:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LjO1K-0006RA-G9 for emacs-orgmode@gnu.org; Mon, 16 Mar 2009 21:23:10 -0400 Received: from [199.232.76.173] (port=49109 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LjO1K-0006R6-8H for emacs-orgmode@gnu.org; Mon, 16 Mar 2009 21:23:06 -0400 Received: from main.gmane.org ([80.91.229.2]:53162 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LjO1J-0004RI-Un for emacs-orgmode@gnu.org; Mon, 16 Mar 2009 21:23:06 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LjO1H-0001Zb-Sl for emacs-orgmode@gnu.org; Tue, 17 Mar 2009 01:23:04 +0000 Received: from 65.204.206.129 ([65.204.206.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Mar 2009 01:23:03 +0000 Received: from charles_cave by 65.204.206.129 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Mar 2009 01:23:03 +0000 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: emacs-orgmode@gnu.org Mark Elston advantest-ard.com> writes: > The only thing better would be a way to use this package to > update the nodes and then write them back out. Hmmmmm...... The changes to the package to write the node output out are... 1. A means of storing the org-mode preamble .. all the lines before the first headline. Maybe this could be in a node with level 0 and headline of null. The bodytext of this object could be the preamble lines. 2. A method to output a node in ord-mode format echoing the ** prefix, TODO tag, headline, tags, properties and body text. 3. The module currently discards lines beginning with #. These should now be preserved. I wouldnt imagine this being a great deal of work. I will add this to my (very long list) of things to do!