2013/8/22 Nicolas Goaziou : > > I get errors when trying to execute the buffer. Hi Nicolas, oh yes, my bad, there was a parenthesis missing. Attached is the corrected document. > Also, could you provide > a minimal example? The attached document is as minimal as you can get IMHO ; but admittedly I've been sparing with instructions ! Once loaded: 1. Evaluate the elisp code contained in the section "Code to evaluate", either by executing =(org-babel-load-file buffer-file-name)=, or by evaluating manually each function using =C-x C-e= 2. Run the small tests contained in the section "Transclusion tests" using =(org-babel-execute-buffer)=. This will behave as expected 3. Restore the buffer to its original contents using =C-_= 4. Now, run =(org-babel-exp-non-block-elements (point-min) (point-max))= and compare with the behaviour in step (2.)