From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Possible Calc support for Org-Babel?
Date: Thu, 04 Nov 2010 17:02:45 +0100 [thread overview]
Message-ID: <80hbfx5b6i.fsf@mundaneum.com> (raw)
In-Reply-To: 87wrotgl33.fsf@gmail.com
Eric,
"Eric Schulte" wrote:
> Sébastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:
>
>> There must be something stupid in my config, but even a simple one like the
>> following does not work for me:
>>
>> #+begin_src calc
>> 1
>> 2
>> '+
>> #+end_src
>>
>> Error is:
>>
>> #+begin_src emacs-lisp
>> executing Calc code block...
>> calc-push-list: Symbol's value as variable is void: calc-command-flags
>> #+end_src
>>
>> Though, I confirm you that I have loaded both =calc= and =ob-calc=... Any idea?
>
> That variable is defined in my version of calc.el (distributed with the
> latest version of Emacs from git). Is that variable not defined in your
> calc.el file? Maybe the solution is to upgrade your calc.
I have "GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-10-14 on
LENNART-69DE564 (patched)" (known as EmacsW32, latest version that Lennart put
online).
Library is file "c:/Program Files/Emacs/emacs/lisp/calc/calc.elc", and I see
(on line 1544 of the =.el= file):
#+begin_src emacs-lisp
(defvar calc-command-flags)
#+end_src
ELC seems well compiled from that EL, as times report:
--8<---------------cut here---------------start------------->8---
-rw-rw-rw- 1 Fabrice Aucun 138805 2009-10-14 02:45 calc.el
-rw-rw-rw- 1 Fabrice Aucun 103841 2009-10-14 02:46 calc.elc
--8<---------------cut here---------------end--------------->8---
Setting it myself to nil -- I have no idea why I must do this! -- :
#+begin_src emacs-lisp
(setq calc-command-flags nil)
#+end_src
has the effect that many examples now work.
Not all, though. For example,
#+begin_src calc
2*e
#+end_src
returns =nil=:
#+results:
: nil
Best regards,
Seb
--
Sébastien Vauban
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2010-11-04 16:02 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-03 22:42 Possible Calc support for Org-Babel? Eric S Fraga
2010-11-04 13:24 ` Eric Schulte
2010-11-04 14:13 ` Eric S Fraga
2010-11-04 14:42 ` Sébastien Vauban
2010-11-04 15:33 ` Eric Schulte
2010-11-04 16:02 ` Sébastien Vauban [this message]
2010-11-04 16:23 ` Eric Schulte
2011-01-27 0:39 ` Christopher Allan Webber
2011-02-23 4:35 ` Eric Schulte
2011-02-24 10:13 ` Eric S Fraga
2011-02-27 21:32 ` Eric Schulte
2011-02-28 18:16 ` Eric S Fraga
2011-03-01 17:34 ` Eric Schulte
2011-03-01 20:10 ` Eric S Fraga
2011-03-07 9:16 ` Eric S Fraga
-- strict thread matches above, loose matches on Subject: below --
2011-03-01 20:48 orgmode
2010-10-22 17:17 Matthew Oesting
2010-10-26 18:37 ` Eric Schulte
2010-10-29 6:42 ` Eric Schulte
2010-10-29 7:13 ` Carsten Dominik
2010-10-29 11:14 ` Eric S Fraga
2010-10-29 14:43 ` Eric Schulte
2010-10-29 16:22 ` Eric Schulte
2010-10-29 19:53 ` Eric S Fraga
2010-10-29 20:26 ` Eric Schulte
[not found] ` <87hbg4pooh.fsf@ucl.ac.uk>
[not found] ` <871v7879x5.fsf@gmail.com>
2010-10-30 20:54 ` Eric S Fraga
2010-11-03 20:10 ` Eric Schulte
2010-10-29 11:27 ` Sébastien Vauban
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=80hbfx5b6i.fsf@mundaneum.com \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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 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).