From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas S. Dye <tsd@tsdye.com> Subject: Re: babel header arguments tutorial? Date: Sat, 26 Sep 2015 12:43:17 -1000 Message-ID: <m24migyf7e.fsf@tsdye.com> References: <CAFAhFSUZLQSGYG9du9gDv+F2en1UqUJ8nYm93zVT2FQh-HLJ1w@mail.gmail.com> <87zj08zvcl.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from eggs.gnu.org ([2001:4830:134:3::10]:33692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <tsd@tsdye.com>) id 1ZfyBy-00076p-FA for emacs-orgmode@gnu.org; Sat, 26 Sep 2015 18:43:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <tsd@tsdye.com>) id 1ZfyBu-0005XV-DD for emacs-orgmode@gnu.org; Sat, 26 Sep 2015 18:43:42 -0400 Received: from gproxy4-pub.mail.unifiedlayer.com ([69.89.23.142]:54171) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from <tsd@tsdye.com>) id 1ZfyBu-0005VN-4w for emacs-orgmode@gnu.org; Sat, 26 Sep 2015 18:43:38 -0400 In-reply-to: <87zj08zvcl.fsf@pierrot.dokosmarshall.org> List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos <ndokos@gmail.com> Cc: emacs-orgmode@gnu.org Aloha Nick, Nick Dokos <ndokos@gmail.com> 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