emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] lob evaluation : a bug ?
@ 2010-08-05 10:18 d.tchin
  2010-08-05 17:12 ` Dan Davison
  0 siblings, 1 reply; 2+ messages in thread
From: d.tchin @ 2010-08-05 10:18 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I try to evaluate function already defined in library-of-babel. 
But whatever the function I try to evaluate I have the following
error output get from buffer *Messages* :

setf: Wrong type argument: consp, nil

For example I use the following :

#+tblname: R-plot-example-data
| 1 |  2 |
| 2 |  4 |
| 3 |  9 |
| 4 | 16 |
| 5 | 25 |

#+srcname: R-plot(data=R-plot-example-data)
#+begin_src R :session *test*
plot(data)
#+end_src

When I evaluate block it works (with C-c C-c).

Then when I try to evaluate the following line :
#+lob: R-plot(data=R-plot-example-data)

With C-c C-c on this line I have the following answer :
Local setup has been refreshed

With C-c C-v e, emacs asks me : "Evaluate this code on your system ?"
I answer yes and I have the message :
Wrong type argument: consp, nil

I use the following versions of emacs and org-mode

GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON
Org-mode version 7.01g

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [babel] lob evaluation : a bug ?
  2010-08-05 10:18 [babel] lob evaluation : a bug ? d.tchin
@ 2010-08-05 17:12 ` Dan Davison
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Davison @ 2010-08-05 17:12 UTC (permalink / raw)
  To: d.tchin; +Cc: emacs-orgmode

d.tchin <d.tchin@voila.fr> writes:

> Hi,
>
> I try to evaluate function already defined in library-of-babel. 
> But whatever the function I try to evaluate I have the following
> error output get from buffer *Messages* :
>

Hi d.tchin,

Failure of lob and call on C-c C-c has been fixed (ec034ba) since the
release of the version you are using. I hope it's not too inconvenient
for you to upgrade. Ideally, if you are able to use git on your system
then that is the best way to stay current.

So #+lob and #+call are working correctly with C-c C-c in the current
git HEAD. However,

> setf: Wrong type argument: consp, nil

they are not currently working with C-c C-v e / C-c C-v C-e.

I have made a patch to fix that but it will need to be discussed /
tested first.

Dan


>
> For example I use the following :
>
> #+tblname: R-plot-example-data
> | 1 |  2 |
> | 2 |  4 |
> | 3 |  9 |
> | 4 | 16 |
> | 5 | 25 |
>
> #+srcname: R-plot(data=R-plot-example-data)
> #+begin_src R :session *test*
> plot(data)
> #+end_src
>
> When I evaluate block it works (with C-c C-c).
>
> Then when I try to evaluate the following line :
> #+lob: R-plot(data=R-plot-example-data)
>
> With C-c C-c on this line I have the following answer :
> Local setup has been refreshed
>
> With C-c C-v e, emacs asks me : "Evaluate this code on your system ?"
> I answer yes and I have the message :
> Wrong type argument: consp, nil
>
> I use the following versions of emacs and org-mode
>
> GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON
> Org-mode version 7.01g
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-05 17:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-05 10:18 [babel] lob evaluation : a bug ? d.tchin
2010-08-05 17:12 ` Dan Davison

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).