Aloha Will, You can set system-wide header arguments or set default values for a buffer or heading. See the Org mode manual, Section 14.8.1, Using header arguments.
hth, Tom William Kunkel <w...@wkunkel.com> writes: > I'm just getting started using Org Babel and I've run into a bit of an > annoyance that I can't seem to find an answer to in the Org Babel docs. I > find myself wanting to use one variable in multiple code blocks, for > example, the path to a file. Org Babel provides several mechanisms for > including array/list types, via tables and lists with a #+NAME line before > them. However the only mechanism it provides for single variables is #+NAME > before example blocks, which just seem clunky for something as trivial as a > file path or numeric variable. Is there a more concise way to do simple > variables, or am I stuck with the named example blocks? > > Thanks, > Will > I'm just getting started using Org Babel and I've run into a bit of an > annoyance that I can't seem to find an answer to in the Org Babel > docs. I find myself wanting to use one variable in multiple code > blocks, for example, the path to a file. Org Babel provides several > mechanisms for including array/list types, via tables and lists with a > #+NAME line before them. However the only mechanism it provides for > single variables is #+NAME before example blocks, which just seem > clunky for something as trivial as a file path or numeric variable. Is > there a more concise way to do simple variables, or am I stuck with > the named example blocks? > > Thanks, > Will > -- Thomas S. Dye http://www.tsdye.com