Re: [O] [babel] :var assignment no longer tolerant of whitespace
Eric Schulte writes: Hi Eric > Hi Martyn, > > Tom mentioned this regression earlier and I treated it as a new > restriction on variable specifications, but if multiple people are > running into this issue I suppose spaces around equals should be > supported. > > I have just pushed up a change and a test case ensuring that examples > like yours below will work. > Many thanks Best, Martyn > Cheers -- Eric >
Re: [O] [babel] :var assignment no longer tolerant of whitespace
Hi Martyn, Tom mentioned this regression earlier and I treated it as a new restriction on variable specifications, but if multiple people are running into this issue I suppose spaces around equals should be supported. I have just pushed up a change and a test case ensuring that examples like yours below will work. Cheers -- Eric Martyn Jago writes: > Martyn Jago writes: > > (Fixed typos in heading) > > Hi > > It used to be the case that you could assign a variable and any > whitespace would be chomped: > > > #+begin_src emacs-lisp :var a = 1 :var b = 2 > > (+ a b) > > #+end_src > > > However it is now required to remove the whitespace: > > > #+begin_src emacs-lisp :var a=1 :var b=2 > > (+ a b) > > #+end_src > > > I haven't noticed any announcement of a change in terms of whitespace > use, so I'm mentioning it in case it is actually a regression, or is it > by design? If the change has been announced, then I apologize in advance > for the noise. > > Best, Martyn > > -- Eric Schulte http://cs.unm.edu/~eschulte/
[O] [babel] :var assignment no longer tolerant of whitespace
Martyn Jago writes: (Fixed typos in heading) Hi It used to be the case that you could assign a variable and any whitespace would be chomped: #+begin_src emacs-lisp :var a = 1 :var b = 2 (+ a b) #+end_src However it is now required to remove the whitespace: #+begin_src emacs-lisp :var a=1 :var b=2 (+ a b) #+end_src I haven't noticed any announcement of a change in terms of whitespace use, so I'm mentioning it in case it is actually a regression, or is it by design? If the change has been announced, then I apologize in advance for the noise. Best, Martyn