Re: [Orgmode] Bug ? : org-babel and calc : calc-command-flags

2011-01-20 Thread Eric Schulte
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

___
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


[Orgmode] Bug ? : org-babel and calc : calc-command-flags

2011-01-19 Thread d . tchin
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