[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [BUG] babel call lines broken
From: |
Eric Schulte |
Subject: |
Re: [O] [BUG] babel call lines broken |
Date: |
Thu, 05 Jul 2012 09:23:54 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
This is a problem caused by my recent addition of hashing to call lines.
I've attached a patch which fixes this problem. For some reason I am
currently unable to communicate with the Org-mode git server, so if
anyone else is able to apply this patch please do.
Thanks for catching this problem,
0001-only-try-to-insert-extant-hashes.patch
Description: Text Data
Andreas Leha <address@hidden> writes:
> Hi all,
>
> there seems to be a bug in evaluating #+call lines.
>
> To reproduce, consider this file:
> ,----
> | * Some Headline
> | #+name: parameters
> | #+BEGIN_SRC R
> | ttt <- 1
> | #+END_SRC
> |
> | * Some Other Headline
> | #+call: parameters() :results silent :exports none
> `----
> and do C-c C-c on the #+call: line.
>
> For me that results in:
> ,----
> | Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> | replace-match(nil nil nil nil 3)
> | org-babel-set-current-result-hash(nil)
> | org-babel-lob-execute(("parameters()" ":results silent :exports none" 0))
> | org-babel-lob-execute-maybe()
> | org-babel-execute-maybe()
> | org-babel-execute-safely-maybe()
> | run-hook-with-args-until-success(org-babel-execute-safely-maybe)
> | org-ctrl-c-ctrl-c(nil)
> | call-interactively(org-ctrl-c-ctrl-c nil nil)
> `----
>
> Regards,
> Andreas
>
> PS: I am on emacs24.2.50.1
>
>
--
Eric Schulte
http://cs.unm.edu/~eschulte