[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] babel header arguments tutorial?
From: |
Thomas S . Dye |
Subject: |
Re: [O] babel header arguments tutorial? |
Date: |
Sat, 26 Sep 2015 12:43:17 -1000 |
User-agent: |
mu4e 0.9.12-1c98835; emacs 24.5.1 |
Aloha Nick,
Nick Dokos <address@hidden> writes:
> The implementation on the page you linked contains a typo (capital P
> instead of lower-case p in python) and is much more prolix than it needs
> to be. You can get the same effect with
>
> # Local Variables:
> # org-babel-default-header-args:python: ((:session . "foo")))
> # End:
>
> This form should be preferred for just setting variables. The eval
> mechanism should be used only when absolutely necessary.
Can you elaborate why the eval mechanism should be used only when
absolutely necessary? You've mentioned that a few times but I haven't
run across similar warnings elsewhere.
Thanks,
Tom
--
Thomas S. Dye
http://www.tsdye.com