From: Christopher Allan Webber <cwebber@dustycloud.org>
To: emacs-orgmode@gnu.org
Subject: Re: Why doesn't this calc org-babel code work?
Date: Thu, 24 May 2012 17:56:56 -0500 [thread overview]
Message-ID: <87ehq9mblz.fsf@grumps.lan> (raw)
In-Reply-To: <878vghqjjt.fsf@grumps.lan> (Christopher Allan Webber's message of "Thu, 24 May 2012 17:51:50 -0500")
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 <cwebber@dustycloud.org> 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?
next prev parent reply other threads:[~2012-05-24 22:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-24 22:51 Why doesn't this calc org-babel code work? Christopher Allan Webber
2012-05-24 22:56 ` Christopher Allan Webber [this message]
2012-05-24 23:02 ` Christopher Allan Webber
2012-05-28 16:35 ` Eric Schulte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ehq9mblz.fsf@grumps.lan \
--to=cwebber@dustycloud.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.