From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Bug ? : org-babel and calc : calc-command-flags Date: Thu, 20 Jan 2011 09:36:14 -0700 Message-ID: <87oc7by1hy.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=56001 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfxWW-0008Dj-Dk for emacs-orgmode@gnu.org; Thu, 20 Jan 2011 11:38:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfxWU-00034B-L3 for emacs-orgmode@gnu.org; Thu, 20 Jan 2011 11:38:12 -0500 Received: from mail-iw0-f169.google.com ([209.85.214.169]:63954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfxWU-00033w-EN for emacs-orgmode@gnu.org; Thu, 20 Jan 2011 11:38:10 -0500 Received: by iwn40 with SMTP id 40so865521iwn.0 for ; Thu, 20 Jan 2011 08:38:06 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "d.tchin" Cc: emacs-orgmode@gnu.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 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