Re: [O] [ox] possible to modify org-export-document-properties OTG

2015-03-22 Thread Nicolas Goaziou
Rasmus writes: > Nicolas Goaziou writes: >> >>(:subject "SUBJECT" nil nil parsed) >> >> `parsed' behavior implies `space' anyway, since we're talking about >> secondary strings. > > Is that always the case? I guess.. There are only two ways to look at it: either it can only contain obj

Re: [O] [ox] possible to modify org-export-document-properties OTG

2015-03-21 Thread Rasmus
Nicolas Goaziou writes: > Rasmus writes: > >> I /think/ that is what I would like. But I don't understand the what you >> mean concretely: would you have something like: >> >> (:subject "SUBJECT" nil nil space parsed) > > >(:subject "SUBJECT" nil nil parsed) > > `parsed' behavior i

Re: [O] [ox] possible to modify org-export-document-properties OTG

2015-03-21 Thread Nicolas Goaziou
Rasmus writes: > I /think/ that is what I would like. But I don't understand the what you > mean concretely: would you have something like: > > (:subject "SUBJECT" nil nil space parsed) (:subject "SUBJECT" nil nil parsed) `parsed' behavior implies `space' anyway, since we're talki

Re: [O] [ox] possible to modify org-export-document-properties OTG

2015-03-21 Thread Rasmus
Nicolas Goaziou writes: >> I think something like SUBJECT in ox-koma-letter makes sense. > > It seems we are failing to communicate. Probably I'm just slower :) > I have nothing against SUBJECT being parsed in "ox-koma-letter". > However, `org-element-document-properties' are keywords expected

Re: [O] [ox] possible to modify org-export-document-properties OTG

2015-03-21 Thread Nicolas Goaziou
Rasmus writes: > Nicolas Goaziou writes: > >> Document properties are keywords where `org-element-context' is allowed >> to return an object. It doesn't make sense to add random keywords >> specific to some export back-ends to the list. > > I think something like SUBJECT in ox-koma-letter makes

Re: [O] [ox] possible to modify org-export-document-properties OTG

2015-03-18 Thread Rasmus
Nicolas Goaziou writes: > Document properties are keywords where `org-element-context' is allowed > to return an object. It doesn't make sense to add random keywords > specific to some export back-ends to the list. I think something like SUBJECT in ox-koma-letter makes sense. But what I'm reall

Re: [O] [ox] possible to modify org-export-document-properties OTG

2015-03-17 Thread Nicolas Goaziou
Hello, Rasmus writes: > Is it possible to modify or extend org-export-document-properties on the > go? And would it be OK? `org-export-document-properties' is a defconst, which is computed from `org-element-document-properties', also a defconst. So, no, it isn't meant for that. Document prope

[O] [ox] possible to modify org-export-document-properties OTG

2015-03-16 Thread Rasmus
Hi, Is it possible to modify or extend org-export-document-properties on the go? And would it be OK? From the docstring of ox-version version of document-properties I would say 'yes'. I'm not sure when reading the docstrig of org-element version. Or should org-element-parse-secondary-string be