Hello Charles, On 2014-06-24 18:37, Charles Berry writes: > ,---- > | #+NAME: prin-block > | #+BEGIN_SRC emacs-lisp :var a="abc" > | (defun foo (blk) > | (save-excursion > | (org-babel-goto-named-src-block blk) > | (nth 1 (org-babel-get-src-block-info 'light)))) > | > | #+END_SRC > | > | #+NAME: weird-text > | #+BEGIN_SRC python > | just some plain text; > | > | \\ a double slash > | > | escape eol \n > | > | OK?? > | #+END_SRC > | > | > | #+BEGIN_SRC python :var a=(foo "weird-text") :results output > | print(a); > | #+END_SRC > | > | #+RESULTS: > | : just some plain text; > | : > | : \\ a double slash > | : > | : escape eol \n > | : > | : OK?? > | > | #+header: :var a=(prin1-to-string (foo "weird-text")) > | #+BEGIN_SRC python :results output > | print(a); > | #+END_SRC > | > | #+RESULTS: > | : "just some plain text; > | : > | : \\\\ a double slash > | : > | : escape eol \\n > | : > | : OK??" > `---- Thanks a lot, it works great. I'm now having utf-8, orgmode, and python problems that I'll explore in another thread. Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7