From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: allow multiline #+BIND Date: Wed, 30 Jul 2014 20:10:39 +0200 Message-ID: <86mwbqiuow.fsf@somewhere.org> References: <31633.8990153328$1406720103@news.gmane.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org "Vladimir Alexiev" wrote: > It would be nice to allow multiline BINDs. I'd much rather write this than put it all on one line: > > #+BIND: va/org-dot-preamble "digraph g { > #+BIND: rankdir=LR nodesep=0.2 ranksep=0.1 arrowsize=0.2 > #+BIND: node [fontname=courier fontsize=8 margin='0.02,0.01' shape=circle width=0.1 height=0.1 label=''] > #+BIND: edge [fontname=courier fontsize=8 labelfontname=courier labelfontsize=8]" > > The usual continuation syntax of backslash before the EOL can be used. > Or else, a new keyword #+BIND1: for each continuation line. > > The function to fix is ox.el::org-export--list-bound-variables In case it wouldn't get implemented, a workaround consists into setting that var in an Emacs Lisp code block, run at the file opening. Best regards, Seb -- Sebastien Vauban