From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Honor the :python header argument in python src-blocks Date: Sat, 29 Apr 2017 16:28:35 +0200 Message-ID: <87mvazxp7w.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d4TMa-0004yd-HM for emacs-orgmode@gnu.org; Sat, 29 Apr 2017 10:28:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d4TMX-0005ey-BQ for emacs-orgmode@gnu.org; Sat, 29 Apr 2017 10:28:44 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:38349) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d4TMX-0005el-4X for emacs-orgmode@gnu.org; Sat, 29 Apr 2017 10:28:41 -0400 In-Reply-To: (Nathaniel Nicandro's message of "Thu, 27 Apr 2017 19:04:25 -0500") 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" To: Nathaniel Nicandro Cc: org mode Hello, Nathaniel Nicandro writes: > Below is a patch that should fix the problem where a python session was > being initiated without first checking the :python header argument. > > --- PATCH --- > > From a721c97924b5b965179a2dd90e54d63c7de00317 Mon Sep 17 00:00:00 2001 > From: Nathaniel Nicandro > Date: Thu, 27 Apr 2017 18:16:41 -0500 > Subject: [PATCH] Honor the :python header argument in python src-blocks > > * lisp/ob-python.el (org-babel-execute:python): > `org-babel-python-command` should be set before calling > `org-babel-python-initiate-session`. > > TINYCHANGE Applied. Thank you. Regards, -- Nicolas Goaziou