From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Perl parser, some questions Date: Thu, 31 Mar 2011 09:21:07 +0100 Message-ID: <87tyejr98s.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=32948 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5D84-0002bb-0D for emacs-orgmode@gnu.org; Thu, 31 Mar 2011 04:21:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5D80-0004rb-Ri for emacs-orgmode@gnu.org; Thu, 31 Mar 2011 04:21:18 -0400 Received: from vscane-a2.ucl.ac.uk ([144.82.108.42]:46127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5D80-0004pJ-NV for emacs-orgmode@gnu.org; Thu, 31 Mar 2011 04:21:16 -0400 In-Reply-To: (Steven Haryanto's message of "Thu, 31 Mar 2011 12:05:53 +0700") 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: Steven Haryanto Cc: emacs-orgmode@gnu.org Steven Haryanto writes: > Hi all, > > I'm writing an Org parser for Perl[1]. There are a few things about the > syntax which are still unclear to me. > > 1. The manual says that multiple (different) in-buffer settings can be > specified on the same line, but so far I haven't found such example > anywhere. What is the syntax for this? If you are referring to lines like this one: #+OPTIONS: oddeven hideblocks the syntax is space separated options. I cannot really help you with the rest of your questions unfortunately. I do think you may end up getting a little frustrated in the near future: org has grown "organically" and so doesn't have a well defined or consistent syntax across all the features. This is not a criticism of org mode, by the way... just an observation! The only real definition of the syntax is the (ever changing) emacs lisp code that implements it. What is the main purpose of your parser? -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.122.g2f72.dirty)