From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: change in calling remote code blocks? Date: Mon, 22 Jan 2018 19:44:48 +0100 Message-ID: <878tcp68db.fsf@nicolasgoaziou.fr> References: <87r2qqybxp.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edh5Q-00031k-Ip for emacs-orgmode@gnu.org; Mon, 22 Jan 2018 13:44:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1edh5P-0001nb-LE for emacs-orgmode@gnu.org; Mon, 22 Jan 2018 13:44:52 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:47356) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1edh5P-0001hd-En for emacs-orgmode@gnu.org; Mon, 22 Jan 2018 13:44:51 -0500 In-Reply-To: (John Kitchin's message of "Mon, 15 Jan 2018 16:08:26 -0800") 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: John Kitchin Cc: emacs-orgmode@gnu.org Hello, John Kitchin writes: > I don't recall how I learned about that, I guess maybe in some library of > babel documentation somewhere. I confirmed it does work in 8.2.10, e.g. > just with emacs -Q. > > There are a few changes in org 9 to org-babel-lob-execute-maybe > and org-babel-lob-get-info that seem to be the root cause of the change. > Notably, org-babel-lob-get-info now returns nil where it used to return the > "path" to the file and block. > > So, if I put this into an org file > > (progn > (re-search-forward "call") > (message "%s" (org-babel-lob-get-info))) ;<- execute here > > #+call: remote-call.org:test-block() > > These get returned > > In 8.2.10: "(remote-call.org:test-block() nil 0 nil)" > In 9.1.6: "nil" > > I am not sure what all the differences are, but it seems to be where the > change in behavior came from. Fixed. Thank you. I also updated documentation and added tests. Regards, -- Nicolas Goaziou