From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Haryanto Subject: Perl parser, some questions Date: Thu, 31 Mar 2011 12:05:53 +0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf303f63a86831f1049fc03f9d Return-path: Received: from [140.186.70.92] (port=57706 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5A4x-0008Sw-Nv for emacs-orgmode@gnu.org; Thu, 31 Mar 2011 01:05:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5A4w-0002rw-Lq for emacs-orgmode@gnu.org; Thu, 31 Mar 2011 01:05:55 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:37029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5A4w-0002rf-Hq for emacs-orgmode@gnu.org; Thu, 31 Mar 2011 01:05:54 -0400 Received: by yws5 with SMTP id 5so986940yws.0 for ; Wed, 30 Mar 2011 22:05:53 -0700 (PDT) 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 --20cf303f63a86831f1049fc03f9d Content-Type: text/plain; charset=ISO-8859-1 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? 2. For settings that can be applied near a block or table, like: |1|2 |2|6 #+TBLFM: @2$1=@1$1*2::@2$2=@1$2*3 does it matter if it is specified before/after? Can there be separating lines between them? E.g. #+CAPTION: Some caption some text <-- allowed? #+LABEL: ... some more text <-- allowed? |...|...| |...|...| (And btw, multiple #+TBLFM below a table doesn't seem to work on my Emacs, all formulas need to be specified on a single (long) TBLFM setting.) 3. What constitutes a valid tag? Emacs doesn't seem to recognize tags (e.g. align them) if they contain a dash. 4. What is the difference between TYP_TODO/TODO/SEQ_TODO? (IIRC, the manual is not clear on this). Or between TAGS/FILETAGS. There may be more coming along. Regards, Steven [1] http://search.cpan.org/dist/Org-Parser/lib/Org/Parser.pm --20cf303f63a86831f1049fc03f9d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 sett= ings can be specified on the same line, but so far I haven't found such= example anywhere. What is the syntax for this?

2. For settings that can be applied near a block or tab= le, like:

=A0|1|2
=A0|2|6
=A0#= +TBLFM: @2$1=3D@1$1*2::@2$2=3D@1$2*3

does it matte= r if it is specified before/after? Can there be separating lines between th= em? E.g.

=A0#+CAPTION: Some caption
=A0some text = <-- allowed?
=A0#+LABEL: ...
=A0some more text <-= - allowed?
=A0|...|...|
=A0|...|...|

(And btw, multiple #+TBLFM below a table doesn't seem to work on= my Emacs, all formulas need to be specified on a single (long) TBLFM setti= ng.)

3. What constitutes a valid tag? Emacs doesn't seem= to recognize tags (e.g. align them) if they contain a dash.

=
4. What is the difference between TYP_TODO/TODO/SEQ_TODO? (IIRC,= the manual is not clear on this). Or between TAGS/FILETAGS.


There may be more coming along.

Regards,
Steven

[1]=A0http://search.cpan.org/dist/Org-Parser/lib/Org/Parser.pm

--20cf303f63a86831f1049fc03f9d--