emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christopher Witte <chris@witte.net.au>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Problems with executing babel code
Date: Wed, 13 Jul 2011 14:19:16 +0200	[thread overview]
Message-ID: <CAALnB3EwgPefgZVzj-XDSO7_vrTmXCFbRaE28EnrSACjyqykgQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1092 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1334 bytes --]

             reply	other threads:[~2011-07-13 12:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13 12:19 Christopher Witte [this message]
2011-07-13 14:39 ` Problems with executing babel code Bastien

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=CAALnB3EwgPefgZVzj-XDSO7_vrTmXCFbRaE28EnrSACjyqykgQ@mail.gmail.com \
    --to=chris@witte.net.au \
    --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).