From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: Re: Why doesn't this calc org-babel code work? Date: Thu, 24 May 2012 17:56:56 -0500 Message-ID: <87ehq9mblz.fsf@grumps.lan> References: <878vghqjjt.fsf@grumps.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXgvN-0005uD-SE for emacs-orgmode@gnu.org; Thu, 24 May 2012 18:54:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXgvM-0004gV-2z for emacs-orgmode@gnu.org; Thu, 24 May 2012 18:54:29 -0400 Received: from li424-160.members.linode.com ([50.116.34.160]:49307 helo=dustycloud.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXgvL-0004gN-Uy for emacs-orgmode@gnu.org; Thu, 24 May 2012 18:54:28 -0400 Received: from grumps.lan (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTP id 4E0BA26AFA for ; Thu, 24 May 2012 18:54:26 -0400 (EDT) In-Reply-To: <878vghqjjt.fsf@grumps.lan> (Christopher Allan Webber's message of "Thu, 24 May 2012 17:51:50 -0500") 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@gnu.org I see now. #+BEGIN_SRC calc :var foo=5 foo + 5 => #+END_SRC #+RESULTS: : 5 + 5 => 10 However, this isn't as useful as I'd like. I'd really like to be able to see it say "foo + 5 =>" in the output. That's clearer which line is being referred to... Christopher Allan Webber writes: > Hey all... > > I have: > > #+BEGIN_SRC calc > foo := 5 > foo + 5 => > #+END_SRC > > #+RESULTS: > : foo + 5 => foo + 5 > > What I'd like, obviously, is for it to result in: > > #+RESULTS: > : foo + 5 => 10 > > I guess I really don't understand how calc support works in org-babel. > Could someone enlighten me?