Also note that if you have an included file with MULTIPLE code blocks, this approach won't generalize....
Best,

--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Nick Dokos <nicholas.dokos@hp.com> wrote:
Robert Goldman <rpgoldman@sift.info> wrote: foo.org: > * Purpose > > This document is intended to demonstrate that src buffer evaluation in > subsidiary, included files, does not work. > > * Demo > > #+include "~/src/org-test/bar.org" > > bar.org: > * Here's the demo > > #+begin_src sh :exports results :results output > echo "foo!" > #+end_src > As a workaround, try making the headings identical, i.e. bar.org looks like this: --8<---------------cut here---------------start------------->8--- * Demo #+begin_src sh :exports results :results output echo "foo!" #+end_src --8<---------------cut here---------------end--------------->8--- Nick