Sorry, I think I have created a red herring here by leaving that code block in both files. To see what the problem really is, consider the case where the source code block appears ONLY in the included file.

(I tested the source block in the master file to make sure it worked before I copied it into the included file and forgot to remove it from the master file.)

Best,
R
--
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