From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Possible Calc support for Org-Babel? Date: Tue, 22 Feb 2011 21:35:55 -0700 Message-ID: <87zkpn8j10.fsf@gmail.com> References: <878w1ani4w.fsf@ucl.ac.uk> <87eib1dxll.fsf@gmail.com> <87hbcvnpr4.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=40184 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ps6SN-0005I9-VS for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 23:36:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ps6SM-0004D4-Os for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 23:36:07 -0500 Received: from mail-gw0-f51.google.com ([74.125.83.51]:65468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ps6SM-0004Cz-MV for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 23:36:06 -0500 Received: by gwb15 with SMTP id 15so778485gwb.38 for ; Tue, 22 Feb 2011 20:36:06 -0800 (PST) In-Reply-To: <87hbcvnpr4.fsf@dustycloud.org> (Christopher Allan Webber's message of "Wed, 26 Jan 2011 18:39:59 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christopher Allan Webber Cc: Matthew Oesting , Eric S Fraga , emacs-orgmode@gnu.org Christopher Allan Webber writes: > (failed to wide-reply initially) > > I just had use for this for some quick calculations I wanted to add to > one of my files, but... > > Any idea why variables inside of parentheses don't work, but variables > outside of them do? > > #+BEGIN_SRC calc :var testvar=9000 > testvar - 200 > #+END_SRC > > #+results: > : 8800 > > > #+BEGIN_SRC calc :var testvar=9000 > (testvar - 200) 800 > #+END_SRC > > #+results: > : 800 testvar - 160000 > Hi Christopher, Sorry about the LONG delay in replying to this email. I've just pushed up a fix for this problem. Thanks for reporting. Best -- Eric