From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AIO2IF57T2NIyQAAbAwnHQ (envelope-from ) for ; Wed, 19 Oct 2022 06:21:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +D/4H157T2On8AAAG6o9tA (envelope-from ) for ; Wed, 19 Oct 2022 06:21:50 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 760BF2981C for ; Wed, 19 Oct 2022 06:21:49 +0200 (CEST) Received: from localhost ([::1]:44860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ol0aR-0002yY-UA for larch@yhetil.org; Wed, 19 Oct 2022 00:21:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol0Z3-0002yO-T1 for emacs-orgmode@gnu.org; Wed, 19 Oct 2022 00:20:21 -0400 Received: from mout02.posteo.de ([185.67.36.66]:44283) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol0Z1-000769-G7 for emacs-orgmode@gnu.org; Wed, 19 Oct 2022 00:20:21 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 95F40240101 for ; Wed, 19 Oct 2022 06:20:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666153216; bh=z4dINJUHn7wqgxWYtFNYhN3NW56nFZsKjHR/D6kRbpQ=; h=From:To:Cc:Subject:Date:From; b=TUgdCs8bYSXDRewrxojf5dSl4hCa1BcmB+Gv9NFkT95iXutZs+b69ZysoaZE9/EAv xPiTHMkQfLEE/58akg9/o/2Uc0ZhT2Wc7+ebV7zZC3FizUDXTjHFRvnninnNtVoNrk aSots2lUEDhnvLB9Lh1sqfOOXgSy7yE/D1UP04UPhFjqgdVVeb548yQLQDl9A6nHO7 axVoEtEp+ri6j6tFXX6aOFH/46vmacqUt4AWusZiKnrad1r5U2hAs1qqPD6j701d5C pQITbgyGn4+fPICaM5t72UMx8aYHWLxziLzaNigjM85ltmF+v5TPHCvTEL3WZhROCq QhsYmcMqho1Ow== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mscvz1H64z6tm6; Wed, 19 Oct 2022 06:20:14 +0200 (CEST) From: Ihor Radchenko To: Daniel Ziltener Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] ob-scheme: geiser command has changed [9.6 (9.6-??-86c4635 @ /home/zilti/.emacs.d/.local/straight/build-27.2/org/)] In-Reply-To: References: Date: Wed, 19 Oct 2022 04:21:01 +0000 Message-ID: <87fsfkcuky.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666153309; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OKAxbW6BRES0tOHuAC/MyX/gng+sf7VL6H6TcFiExgM=; b=mnu58nB7IU/CMRi2q4N1RAZthqNJscQvrsKfYwwL/qDtOfiJkpBRIxqG8loXGKIOa70PIq fEYe1/MS+F9Kf0h/Rj64+80pgBI9MyE3o5d5/e7fN7PpCuFGKcClkglABmEYB5hxyt3pIH 2yzcZ+EQz/xK9sSw6o9WtYmnMtn7C75s6Gnmjz9+2lUO6bhx49jlQ0h7S/HjJufiU11aMZ HUdKqvvTyOOVHwPH91CaHd6Q9B2cf3bjGa52h0MFLmRebyjpM13k2quBtCJKy82LEoVMbo rmf5aizHQ4uCgpgDpIll5Pn/IiPNwlRDFnvikugBG0h5KAt/g81XLBhcp+hxiw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666153309; a=rsa-sha256; cv=none; b=S6emubc7i9qITah6Hwgy55lUjx2PjAiffuUYWL0qCfVwC8AHctAfW4p0EOz4a0pCKUQ/ah siasK6D2NcoYGkSVgjuL6Va7jHxzG+qBM1mty64L+Ji2Bpt/lf700FlvLIz3Utj2VHl8C/ SmCOWn/tDoU2/AX3N4m7XgPjqdZL9UxJjKzwEf/PL1UH6rifp77FGU+ZIfw4XezIt2xc+3 Pf7fxDGjv8/Rg0ZrLcJ/LH/53GvkzxEKzUBk5x86u/gXVRsEAXgCO5kvlpzVTO/tVqi//l 20xTwJX8SPU//ADXHTG7CU/nHGN7T5J2pyANHBOKMIcrNqlWpHce3AEzA/2M1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=TUgdCs8b; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=TUgdCs8b; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 760BF2981C X-Spam-Score: -2.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1/rVbz4PUU+p --=-=-= Content-Type: text/plain Daniel Ziltener writes: > The latest Geiser release 0.26 got rid of the "run-geiser" function. It > is sufficient to just replace the call to "run-geiser" with "geiser" > instead to make ob-scheme work again. Thanks for reporting! Can you try the attached (blind) patch? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-ob-scheme-Use-new-function-name-geiser-instead-of-de.patch >From 2565c66ed06e30885ee884d52eac824e23d55707 Mon Sep 17 00:00:00 2001 Message-Id: <2565c66ed06e30885ee884d52eac824e23d55707.1666153213.git.yantar92@posteo.net> From: Ihor Radchenko Date: Wed, 19 Oct 2022 12:18:00 +0800 Subject: [PATCH] ob-scheme: Use new function name `geiser' instead of deprecated `run-geiser' * lisp/ob-scheme.el (geiser): Declare function. (org-babel-scheme-get-repl): Use `geiser' when available. Reported-by: Daniel Ziltener Link: https://orgmode.org/list/b0c62bc5-468a-31ce-2a42-c67c57117865@lyrion.ch --- lisp/ob-scheme.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/ob-scheme.el b/lisp/ob-scheme.el index 8e3d48c32..00c50d63d 100644 --- a/lisp/ob-scheme.el +++ b/lisp/ob-scheme.el @@ -55,7 +55,11 @@ (defvar geiser-debug-jump-to-debug-p) ; Defined in geiser-debug.el (defvar geiser-repl-use-other-window) ; Defined in geiser-repl.el (defvar geiser-repl-window-allow-split) ; Defined in geiser-repl.el +;; FIXME: `run-geiser' is obsolete since Geiser 0.26. `geiser' is the +;; new name. (declare-function run-geiser "ext:geiser-repl" (impl)) +(declare-function geiser "ext:geiser-repl" (impl)) + (declare-function geiser-mode "ext:geiser-mode" ()) (declare-function geiser-eval-region "ext:geiser-mode" (start end &optional and-go raw nomsg)) @@ -120,7 +124,10 @@ (defun org-babel-scheme-get-repl (impl name) (let ((buffer (org-babel-scheme-get-session-buffer name))) (or buffer (progn - (run-geiser impl) + (if (fboundp 'geiser) + (geiser impl) + ;; FIXME: Obsolete since Geiser 0.26. + (run-geiser impl)) (when name (rename-buffer name t) (org-babel-scheme-set-session-buffer name (current-buffer))) -- 2.35.1 --=-=-= Content-Type: text/plain -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at --=-=-=--