From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: here's a working version of org-generic Date: Wed, 22 Apr 2009 09:59:21 +0200 Message-ID: <4C8C28A5-5274-415F-9F02-A6AF0C355E60@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwXtP-0008Ez-2a for emacs-orgmode@gnu.org; Wed, 22 Apr 2009 04:33:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwXtK-0008EQ-EJ for emacs-orgmode@gnu.org; Wed, 22 Apr 2009 04:33:18 -0400 Received: from [199.232.76.173] (port=33997 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwXtK-0008EN-CH for emacs-orgmode@gnu.org; Wed, 22 Apr 2009 04:33:14 -0400 Received: from ey-out-1920.google.com ([74.125.78.149]:27123) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LwXtJ-00084r-OA for emacs-orgmode@gnu.org; Wed, 22 Apr 2009 04:33:14 -0400 Received: by ey-out-1920.google.com with SMTP id 13so496547eye.24 for ; Wed, 22 Apr 2009 01:33:12 -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: Wes Hardaker Cc: emacs-orgmode@gnu.org Hi Wes, this is fun, I hope you continue to improve it. One problem I notices: I think multiple lines starting with ": " must be seen as one block, most backends will need this. - Carsten On Apr 15, 2009, at 9:23 PM, Wes Hardaker wrote: > > I have a bunch of random things that I'd like to export org stuff too > and it seemed to me that much of the work of writing code to export > stuff from org-mode into external documents could be conquered by > simple > string specifiers. So yesterday I hacked something together that is > actually working enough I should be able to use it to other random xml > formats, etc. It's far from complete but it's usable by the average > elisp hacker. See the todo list at the top for all the things it > *doesn't* do (sigh). > > EG, the demo specifier in the example specifier list (see the code) > can > be used to take this: > > Test > > * level 1 > text level 1 > *** level 2 > text level 2 > : this > : is > : critical > ***** level 3 > text [[file:foo2.org][level 3]] > ***** Another 3 > more text level 3 > *** level 2 again > more text level 2 > ******* jump to level 4 > level 4 text > *** back to 2 > > To produce this: > > ==== >

Test

> ==== >
Date: 2009-04-15 12:21:42 PDT
> >
> __Table of Contents__ > > > #(1)--level 1 -- > #(1.1)--level 2 -- > #(1.1.1)--level 3 -- > #(1.1.2)--Another 3 -- > #(1.2)--level 2 again -- > #(1.3)--back to 2 -- > #(2)--back to 1 -- > > > > >

1 level 1

>

> text level 1

> >

1.1 level 2

>

> text level 2

>   this
>  
>
>    is
>  
>
>     critical
>  
>

> >

level 3

>

> ... > > > > -- > "In the bathtub of history the truth is harder to hold than the soap, > and much more difficult to find." -- Terry Pratchett > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode