emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] allow multiline #+BIND


From: Nicolas Goaziou
Subject: Re: [O] allow multiline #+BIND
Date: Thu, 31 Jul 2014 11:36:32 +0200

Hello,

"Vladimir Alexiev" <address@hidden> writes:

> It would be nice to allow multiline BINDs. I'd much rather write this
> than put it all on one line:

This was suggested already for other keywords, e.g., MACRO. and CALL
(http://permalink.gmane.org/gmane.emacs.orgmode/69326).

> The usual continuation syntax of backslash before the EOL can be used.

This can be an option. What would be needed is an unambiguous syntax
(e.g., what happens to lines ending with a backslash, without meaning
a continuation?). Bonus points if it is elegant, too.

> Or else, a new keyword #+BIND1: for each continuation line.

No, BIND1 is also a valid keyword name. This could introduce a clash.

> The function to fix is ox.el::org-export--list-bound-variables

No, keyword parsing happens in `org-element-keyword-parser' and
`org-element-babel-call-parser' for the special #+CALL: keyword.


Regards,

-- 
Nicolas Goaziou



reply via email to

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