From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [babel] :var assignment no longer tolerant of whitespace Date: Sun, 20 Nov 2011 09:28:36 -0700 Message-ID: <87aa7qwwq3.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSApd-00012P-Bn for emacs-orgmode@gnu.org; Sun, 20 Nov 2011 12:05:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSApb-0001fv-Ga for emacs-orgmode@gnu.org; Sun, 20 Nov 2011 12:05:29 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:59410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSApb-0001fG-CI for emacs-orgmode@gnu.org; Sun, 20 Nov 2011 12:05:27 -0500 Received: by mail-iy0-f169.google.com with SMTP id k3so8759833iae.0 for ; Sun, 20 Nov 2011 09:05:27 -0800 (PST) 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Martyn Jago Cc: emacs-orgmode@gnu.org 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/