From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: [babel] lob evaluation : a bug ? Date: Thu, 05 Aug 2010 13:12:21 -0400 Message-ID: <87fwyt0yru.fsf@stats.ox.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=46651 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oh3zZ-0007zo-B2 for emacs-orgmode@gnu.org; Thu, 05 Aug 2010 13:12:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oh3zV-0005Uj-1m for emacs-orgmode@gnu.org; Thu, 05 Aug 2010 13:12:29 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:37936) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oh3zU-0005UV-Qf for emacs-orgmode@gnu.org; Thu, 05 Aug 2010 13:12:25 -0400 In-Reply-To: (d. tchin's message of "Thu, 5 Aug 2010 10:18:35 +0000 (UTC)") 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 d.tchin 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