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 ccbe...@ucsd.edu 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 |

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

2014-06-24 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

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

2014-06-24 Thread Charles Berry
Alan Schmitt alan.schmitt at 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