Re: [O] [RFC] [PATCH] [parser] org-element.el: Handle block parameters

2013-10-31 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > Very interesting. I did not realize that #+header: could apply to > elements other than babel blocks. (Babel blocks are all that is > documented in the manual, for example.) But a quick experiment shows > that they can. I think #+header with a plist can accomplish

Re: [O] [RFC] [PATCH] [parser] org-element.el: Handle block parameters

2013-10-31 Thread Aaron Ecay
Hi Nicolas, 2013ko urriak 31an, Nicolas Goaziou-ek idatzi zuen: [...] > Moreover, your proposal, IMO, is not well-enough defined. You merely add > a free-form string and call it "parameters". Parameters for what? Which > syntax: a plist, switches? I think a plist would work fine, indeed. > Why

Re: [O] [RFC] [PATCH] [parser] org-element.el: Handle block parameters

2013-10-31 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > 2013ko urriak 30an, Nicolas Goaziou-ek idatzi zuen: >> IIRC, I already suggested a solution with Babel for this problem. >> There's no need to complicate core Org syntax for such a specific >> case. > > And I already said why I disagree that your proposal is a solutio

Re: [O] [RFC] [PATCH] [parser] org-element.el: Handle block parameters

2013-10-30 Thread Aaron Ecay
Hi Nicolas, 2013ko urriak 30an, Nicolas Goaziou-ek idatzi zuen: > IIRC, I already suggested a solution with Babel for this problem. > There's no need to complicate core Org syntax for such a specific > case. And I already said why I disagree that your proposal is a solution. Special blocks are “C

Re: [O] [RFC] [PATCH] [parser] org-element.el: Handle block parameters

2013-10-30 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > I have several export filters which translate special blocks into latex > code (doing some tedious string munging in elisp, such that a simple > latex block is not warranted; I also have the eventual goal of making > them cross-backend, which will involve a different

Re: [O] [RFC] [PATCH] [parser] org-element.el: Handle block parameters

2013-10-29 Thread Aaron Ecay
Hi Nicolas, 2013ko urriak 29an, Nicolas Goaziou-ek idatzi zuen: [...] >> This brings the parser in line with the Org Syntax as documented on >> Worg: . > > Besides this reason (which could also be solved by updating Org Syntax > docume

Re: [O] [RFC] [PATCH] [parser] org-element.el: Handle block parameters

2013-10-29 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: Thanks for the patch. > This brings the parser in line with the Org Syntax as documented on > Worg: . Besides this reason (which could also be solved by updating Org Syntax document), do you have a need for t

[O] [RFC] [PATCH] [parser] org-element.el: Handle block parameters

2013-10-28 Thread Aaron Ecay
* lisp/org-element.el (org-element-center-block-parser, org-element-quote-block-parser, org-element-special-block-parser, org-element-verse-block-parser): Add :parameters to return value (org-element-center-block-interpreter, org-element-quote-block-interpreter, org-element-special-block-interprete