Closes #114.
:post name(arg=*this*): the block runs, its result is bound to*this*, the reference is resolved and its value is inserted under the block's own:results. Scalars, tables and file links (:results filewith and without:file) followorg-babel-execute-src-block. Works for src blocks,#+CALL:, inline calls and inline src blocks.<<name()>>and<<name(arg=value)>>expand to the named block's result (a string as it is, anything else as%Sprints it) wherever:nowebexpands for running. Export still shows references as written. Tangling refuses them, as it refuses:varthat would run a block.- Both reuse the
:varreference path (Babel.resolve,needs/resume): one trust prompt covering every block reached, asked every time when any has:eval query; a referenced block with a current:cache yesresult isn't run;:eval neverand cycles stop the run. A:postreference is resolved once with an empty*this*before anything runs, so a reference that can't be resolved runs nothing. - Without a program runner (iOS, Mac App Store), a block whose references reach a language that doesn't run in-process is refused before anything runs.
- A referenced block with
:results filenow gives its file name (or, without:file, its raw result) rather than a link, as Org does, and its:fileis written when it runs as a reference. org-sbeon a block with:postisUnsupported(Emacs fallback on the download version).
Tests: BabelPostTests (oracle against Emacs for 33 :post and noweb cases; interpreter run; refusals and cycles; approval; tangling), NativeProgramsTests.refusesReferencesToBlocksThatNeedARunner. swift test and both Xcode builds pass.
Manual: 11-code-blocks.org (Post-processing, References that run a block, refusals), 14-ios.org, 15-alongside-emacs.org.
No string catalog changes: the new messages are returned from OrgCore and DocumentSession.runBabel like the existing Babel messages, which are not in the catalog.