emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PARSER] Why not add properties to type 'org-data'?


From: Nicolas Goaziou
Subject: Re: [O] [PARSER] Why not add properties to type 'org-data'?
Date: Sat, 07 Sep 2013 09:15:14 +0200

Hello,

Thorsten Jolitz <address@hidden> writes:

> But sometimes, when only the parse-tree is needed, not the exporter
> framework, it would indeed be useful if that highest level element the
> others refer to as parent (org-data) would have some kind of unique
> name/id.
>
> What would be the cost of introducing just one single unique attribute
> like:
>
> ,-------------------------------------------------------------------------
> | (org-data (:input-file /my/file.org) (section (:begin 1 :end 52 ...)))
> `-------------------------------------------------------------------------
>
> or 
>
> ,-------------------------------------------------------------------------
> | (org-data (:ID 08AF34b12) (section (:begin 1 :end 52 ...)))
> `-------------------------------------------------------------------------
>
> to make different parse trees distinguishable (and associated to the
> parsed file)?

There is no real cost in this case. Though, note that :input-file would
not make for a unique identifier.

On the other hand, what prevents you, once you have the parse tree, from
tagging it with all the attributes you need?


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]