From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Witte Subject: Problems with executing babel code Date: Wed, 13 Jul 2011 14:19:16 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf300fb0bdd85e0a04a7f26c79 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgyPT-0006jo-Ur for emacs-orgmode@gnu.org; Wed, 13 Jul 2011 08:19:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgyPO-0000bT-EP for emacs-orgmode@gnu.org; Wed, 13 Jul 2011 08:19:23 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:59109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgyPO-0000bI-BI for emacs-orgmode@gnu.org; Wed, 13 Jul 2011 08:19:18 -0400 Received: by gwaa12 with SMTP id a12so2745924gwa.0 for ; Wed, 13 Jul 2011 05:19:16 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode --20cf300fb0bdd85e0a04a7f26c79 Content-Type: text/plain; charset=ISO-8859-1 After a recent git pull, I've been having some problems executing and editing babel code. The following will execute: #+srcname: Blah1 #+begin_src emacs-lisp :results value (concat "" "works") #+end_src #+results: Blah1 : works #+call: Blah1(x=1) :results value raw #+results: Blah1(x=1) works #+srcname: Blah4(x) #+begin_src emacs-lisp (concat "" "works") #+end_src #+results: : works #+call: Blah4(x=1) :results value raw #+results: Blah4(x=1) works but this #+srcname: Blah2(x) #+begin_src emacs-lisp :results value (concat "doesn't" "work") #+end_src #+call: Blah2(x=1) :results value raw fails with the error message "setf: Wrong type argument: consp, nil", when it had previously worked. nb. the only difference between Blah4 and Blah2, is the white space between the srcname and begin_src. I get the same error when I try and edit the code with C-'. I'm not sure exactly when this started, this was probably the first git pull I have done in a month or so. Sorry I can't help track down this problem further, my lisp skills are slim to none. Cheers, Chris. --20cf300fb0bdd85e0a04a7f26c79 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable After a recent git pull, I've been having some problems executing and e= diting babel code.=A0 The following will execute:

#+srcname: Blah1#+begin_src emacs-lisp :results value
=A0 (concat "" "w= orks")
#+end_src

#+results: Blah1
: works

#+call: Blah1(x=3D1) :r= esults value raw

#+results: Blah1(x=3D1)
works



#+s= rcname: Blah4(x)

#+begin_src emacs-lisp
=A0 (concat "" = "works")
#+end_src

#+results:
: works

#+call: Blah4(x=3D1) :results= value raw

#+results: Blah4(x=3D1)
works


but this
=
#+srcname: Blah2(x)
#+begin_src emacs-lisp :results value
=A0 (co= ncat "doesn't" "work")
#+end_src

#+call: Blah2(x=3D1) :results value raw

fails with = the error message "setf: Wrong type argument: consp, nil", when i= t had previously worked.=A0 nb. the only difference between Blah4 and Blah2= , is the white space between the srcname and begin_src.=A0 I get the same e= rror when I try and edit the code with C-'.=A0 I'm not sure exactly= when this started, this was probably the first git pull I have done in a m= onth or so.=A0 Sorry I can't help track down this problem further, my l= isp skills are slim to none.


Cheers,
Chris.
--20cf300fb0bdd85e0a04a7f26c79--