emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] cannot comment out noweb references


From: Samuel Wales
Subject: Re: [O] [babel] cannot comment out noweb references
Date: Thu, 6 Feb 2014 00:55:59 -0700

I get this:

Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
  org-babel-expand-noweb-references(nil)
  org-babel-expand-noweb-references(("sh" "echo <<whatever2>>"
((:comments . "") (:shebang . "") (:cache . "no") (:padline . "")
(:noweb . "yes") (:tangle . "no") (:exports . "code") (:results .
"replace output") (:session . "none") (:hlines . "no") (:result-type .
output) (:result-params "output" "replace") (:rowname-names)
(:colname-names)) "" nil 0 #<marker at 2309 in bug.org>))
  org-babel-execute-src-block(nil)
  org-babel-execute-src-block-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)


On 2/5/14, Eric Schulte <address@hidden> wrote:
> When executing the last code block I get the expected output, namely
> "a".
>
> #+BEGIN_SRC org :results verbatim output :noweb yes :noweb-ref whatever
>       a
> #+END_SRC
>
> # #+BEGIN_SRC org :results verbatim output :noweb yes :noweb-ref whatever
> #       b
> # #+END_SRC
>
> #+BEGIN_SRC sh :results output :noweb yes
>       echo <<whatever>>
> #+END_SRC
>
> #+RESULTS:
> : a
>
> Best,
>
> --
> Eric Schulte
> https://cs.unm.edu/~eschulte
> PGP: 0x614CA05D
>


-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY can get it.

Denmark: free Karina Hansen NOW.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]