On Fri, Aug 21, 2015 at 7:50 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Hello, > > "JI, Xiang" <h...@xiangji.me> writes: > >> Well actually I think the error shows because of another block below >> the emacs-lisp blocks. In this header I just wrote #+BEGIN_SRC without >> any language name. Is it actually wrong and maybe I should have >> written #+BEGIN_EXAMPLE instead? > > Correct. > >> Though I’d still say it probably shouldn’t have failed the export?… > > Babel blocks are executed prior to any export process, no matter what > you want to include in the output.
Unless you've restored sanity by setting org-export-babel-evaluate to nil. Personally I think this is not a good default. Source block evaluation and export are distinct actions, and I don't see why they should be linked by default. Best, Ista