emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dan Davison <davison@stats.ox.ac.uk>
To: "d.tchin" <d.tchin@voila.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: [babel] lob evaluation : a bug ?
Date: Thu, 05 Aug 2010 13:12:21 -0400	[thread overview]
Message-ID: <87fwyt0yru.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <loom.20100805T120327-783@post.gmane.org> (d. tchin's message of "Thu, 5 Aug 2010 10:18:35 +0000 (UTC)")

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

      reply	other threads:[~2010-08-05 17:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-05 10:18 [babel] lob evaluation : a bug ? d.tchin
2010-08-05 17:12 ` Dan Davison [this message]

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=87fwyt0yru.fsf@stats.ox.ac.uk \
    --to=davison@stats.ox.ac.uk \
    --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).