Re: [O] passing the contents of a block as an escaped string

2014-06-26 Thread Alan Schmitt
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 > | > | #+EN

Re: [O] passing the contents of a block as an escaped string

2014-06-24 Thread Charles Berry
Alan Schmitt polytechnique.org> writes: > > Hello, > > I'm trying to write some filters from Pygments, and to record what I'm > doing and make my life simpler, I'm doing it in an orgmode buffer. In > that buffer, I have the code I want to highlight in a source block, and > the python code for t

[O] passing the contents of a block as an escaped string

2014-06-23 Thread Alan Schmitt
Hello, I'm trying to write some filters from Pygments, and to record what I'm doing and make my life simpler, I'm doing it in an orgmode buffer. In that buffer, I have the code I want to highlight in a source block, and the python code for the Pygments extension in another block. I'm trying to fin