From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas S. Dye Subject: Re: babel header arguments tutorial? Date: Sat, 26 Sep 2015 12:43:17 -1000 Message-ID: References: <87zj08zvcl.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) 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 ) 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 ) 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 Cc: emacs-orgmode@gnu.org Aloha Nick, Nick Dokos 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