emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm)
To: emacs-orgmode@gnu.org
Cc: Jay Belanger <jay.p.belanger@gmail.com>
Subject: Babel evaluation of Calc block not working, bug in Calc?
Date: Mon, 22 Sep 2014 09:04:50 +0200	[thread overview]
Message-ID: <8738bkb0fh.fsf@vsl28t2g.ww011> (raw)

Hello Orgers,

please consider: Emacs -Q and evaluate the following

#+BEGIN_SRC emacs-lisp
(org-babel-do-load-languages
 'org-babel-load-languages
 '((calc . t)
   (emacs-lisp . t)
   ))
#+END_SRC

#+RESULTS:
| (calc . t) | (emacs-lisp . t) |

The following works as expected

#+BEGIN_SRC calc :var V=3
V + 4
#+END_SRC

But now we are getting: byte-code: Symbol's function definition is void:
v!

#+BEGIN_SRC calc :var v=3
v + 4
#+END_SRC

Calc thinks that the variable v contains a function even though nothing
should be undefined for v and when trying debug-on-entry for
calc-var-value the expression (boundp v) returns t!?  I'm stuck at this
point, could you please have a look, I've no idea how to debug this
further.

GNU Emacs 24.3.93.3 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.24) of
2014-09-17 on vsl28t2g With the latest org-mode from git 

Thanks
        Dieter
-- 
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany

             reply	other threads:[~2014-09-22  7:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-22  7:04 H. Dieter Wilhelm [this message]
2014-09-28 23:56 ` Babel evaluation of Calc block not working, bug in Calc? Andrea Rossetti
2014-09-29 17:51   ` Andrea Rossetti
2014-10-04 18:31     ` H. Dieter Wilhelm
2014-10-06 20:31       ` Andrea Rossetti
2014-10-07  6:21         ` H. Dieter Wilhelm

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8738bkb0fh.fsf@vsl28t2g.ww011 \
    --to=dieter@duenenhof-wilhelm.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=jay.p.belanger@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).