Andreas Leha <[email protected]> wrote:
> thanks for that analysis! I had tried replacing "(" with "[" without
> success. Now I "know" why:
>
> (org-babel-string-read "[foo)") --> Error
>
> ,----
> | Debugger entered--Lisp error: (invalid-read-syntax ") or . in a vector")
> | read("[foo)")
> | org-babel-read("[foo)")
> | org-babel-string-read("[foo)")
> | eval((org-babel-string-read "[foo)") nil)
> | eval-last-sexp-1(nil)
> | eval-last-sexp(nil)
> | call-interactively(eval-last-sexp nil nil)
> `----
>
BTW, two possible workarounds which "work" with org-babel-string-read:
(org-babel-string-read "[foo]") --> [foo]
(org-babel-string-read "'(bar)") --> (bar)
do *not* work in the original context, so the org-babel-string-read
problem is probably only part of the story.
Nick