From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-babel-expand-src-block v.s. org-babel-execute-src-block with Python Date: Sun, 03 Sep 2017 14:23:49 +0200 Message-ID: <87k21gkm22.fsf@nicolasgoaziou.fr> References: <1eb76c9a61ff015bcda88a4fa7d197db@openmail.cc> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doTwT-00032Y-Rv for emacs-orgmode@gnu.org; Sun, 03 Sep 2017 08:24:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doTwP-0000N6-A5 for emacs-orgmode@gnu.org; Sun, 03 Sep 2017 08:23:57 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:55575) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1doTwP-0000Mq-4P for emacs-orgmode@gnu.org; Sun, 03 Sep 2017 08:23:53 -0400 In-Reply-To: <1eb76c9a61ff015bcda88a4fa7d197db@openmail.cc> (edgar@openmail.cc's message of "Thu, 31 Aug 2017 23:27:20 +0000") 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: edgar@openmail.cc Cc: emacs-orgmode@gnu.org Hello, edgar@openmail.cc writes: > I have noticed that doing C-c C-v v (org-babel-expand-src-block) and > C-c > C-c (org-babel-execute-src-block) yield different results in Python. I guess this is related to the :session parameter, which is not obeyed when using "C-c C-v v". > * Question: > 1. Is this the expected behaviour? > 2. Is there a way to get ~#+RESULTS:~ with C-c C-c directly for this kind of blocks? I don't think so. It looks like a bug with sessions. Regards, -- Nicolas Goaziou