From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [BUG] error if arg to #+call: contains a comma Date: Mon, 12 Dec 2011 17:20:34 -0700 Message-ID: <87vcpljp9p.fsf@gmx.com> References: <87ipll5psg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaG6t-0001eD-R7 for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 19:20:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaG6s-00052B-Km for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 19:20:43 -0500 Received: from mailout-us.gmx.com ([74.208.5.67]:38455 helo=mailout-us.mail.com) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RaG6s-00051v-F1 for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 19:20:42 -0500 In-Reply-To: <87ipll5psg.fsf@gmail.com> (mylesenglish@gmail.com's message of "Mon, 12 Dec 2011 23:33:03 +0000") 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: emacs-orgmode Mode Hi Myles, Thanks for reporting this issue, I just pushed up a fix and a protecting test case. Best, mylesenglish@gmail.com writes: > Hello, > > There may be a problem with parsing arguments to the #+call > function: > > #+name: A > #+begin_src sh :var a="this, works" > echo "$a" > #+end_src > > #+results: A > | this | works | > #+call: A() > > #+results: A() > | this | works | > #+call: A(a="this also works") > > #+results: A(a="this also works") > : this also works > #+call: A(a="this, no work") > > Results in the message: > > reference 'no work"' not found in this buffer > > > Myles > -- Eric Schulte http://cs.unm.edu/~eschulte/