From: "Eric Schulte" <schulte.eric@gmail.com>
To: "d.tchin" <d.tchin@voila.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug ? : org-babel and calc : calc-command-flags
Date: Thu, 20 Jan 2011 09:36:14 -0700 [thread overview]
Message-ID: <87oc7by1hy.fsf@gmail.com> (raw)
In-Reply-To: loom.20110119T194812-150@post.gmane.org
Hi d.tchin,
This problem is caused because (as you point out) the calc-command-flags
variable is not defined. In my Emacs version calc-command-flags is
provided by (require 'calc) which is part of Babel's calc support, this
variable must be part of another package in your distribution.
As a work around you should find which calc package provides the
calc-command-flags variable and manually require that package, which
should resolve this problem. More generally it may be useful to upgrade
from Emacs 22 if that is an option.
Best -- Eric
d.tchin <d.tchin@voila.fr> writes:
> Hello,
>
> I tried to use calc with babel but it doesn't work as expected.
>
> I use the following block with simple instruction :
> #+begin_src calc
> 2*3
> #+end_src
>
> I didn't get back any results.
>
> I launch calc and it seems to be called as I have following output
> --- Emacs Calculator Mode ---
> 1: 6
> .
>
>
> So the instructions seems to be sent to calc.
>
> I have the following message error message :
>
> executing Calc code block...
> calc-push-list: Symbol's value as variable is void: calc-command-flags
>
>
> I use :
> GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON
> Org-mode version 7.4
>
> Regards
>
> d.tchin
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2011-01-20 16:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-19 18:58 Bug ? : org-babel and calc : calc-command-flags d.tchin
2011-01-20 16:36 ` Eric Schulte [this message]
2011-01-20 18:22 ` d.tchin
2011-01-20 18:49 ` Eric Schulte
2011-01-20 19:20 ` d.tchin
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=87oc7by1hy.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=d.tchin@voila.fr \
--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 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).