From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 2N6dMlnYtmXajwAAe85BDQ:P1 (envelope-from ) for ; Sun, 28 Jan 2024 23:42:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 2N6dMlnYtmXajwAAe85BDQ (envelope-from ) for ; Sun, 28 Jan 2024 23:42:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YMgcotc3; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706481753; 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=ispFVijUhcYuV+BI/ShLgSlaEkhGodRvceoRM8YX8ak=; b=RkabNNEjeH2WD8KGCRMtBHzO4iQRgOWpEH6Pl0SBkA42YIG+suyqhhtzMiMNhBt8gsA5SW /inDKYC0GNzzHQ/P8jgbeSSE7r2S5E4ChbLDpcqovl7mAMPbK1lyTDZVPm3As8vwqDTVcq bcsTPcnYY08l0nLbCG7amlAPKLk0vY4gVxLjF3zwrz+08UUb+geat3xY1mEPH4tDB/PYmo Q94xnwZw2i/oN54YSbyyf2q8GHKJrWTN2MB8ONzp1uUuckAMa3M8+ECqJhTVxEb2m7s+Vt mNCMU1YrtP6hetIS+H9yf2na20RZWKr4wU82Ba25CY2iUlG6BuA6vz6ctUlgVA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YMgcotc3; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706481753; a=rsa-sha256; cv=none; b=oKGl+byTXobar7V6SIk0VOsv7+/L3NNcHljnCraL0o5UmGbfMgU6VeqO43QL5gwpUfcQXM bjnRcxQQKVXxNIjYE0zJK0jDB8gk9efU+EbrzOuwvfDxoB+kIFMvG6uHBZVR4b4f1Q1Z1y mM+/uqAGD/fLr1Qjc64/EAmiDP/m9dmOjSLzs743D8V3UoxcsE8QwEVCzD/ebnKMCVTqc3 clvKu6ye0MN/2JeGXh/kp6otbz6zPVYSw/cwaS0lkaqKwexvT1MHsXWrfXZpjI7MTk7La3 E5VKAYzOspQyvFeKVGcfo2KgvWQCX0EfjqsRCJlW321Cs94w75EDQFTIGBH93Q== 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 5910941711 for ; Sun, 28 Jan 2024 23:42:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUDqX-0001d0-4S; Sun, 28 Jan 2024 17:41:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUDqR-0001cg-JO for emacs-orgmode@gnu.org; Sun, 28 Jan 2024 17:41:45 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUDqP-0002Kp-Cl for emacs-orgmode@gnu.org; Sun, 28 Jan 2024 17:41:43 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 11B5D240028 for ; Sun, 28 Jan 2024 23:41:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706481699; bh=cLHEt1Yl2mDaCmcaKql/NvruSC1A4Lg+XxI1KkFWLeU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=YMgcotc3fvBsi1n0KeD4ER30w+N+sg4thrQoXktww8y7LhLypyrcANYZJykV63mUn WEZQoY2GS1/dRjuuZI34MJB/gXjESKFpbT2BI0NWEKRg7iL6qyDfBn8hRmGSkSpWm9 R4PWMIJa5Nt55wngbQ9N+OXjDC6SdTn31DSNud3lvay3R8x6H06yPd61aVKV4dX07u fRQjQzJHcIcB2APZfKgssuBvm2ABYEc+TeIh6ntGtF/8rDxa0hBj5GM4zeDknSFG1D HBK2XQmTjDb4cqU26YWbseODghHziMPjf4mHEd5yix4qUiR2Ri3kMzo9cA2xdnLBHc 2QWEFDRLhiyXg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TNRHk4flsz6tw4; Sun, 28 Jan 2024 23:41:38 +0100 (CET) From: Ihor Radchenko To: Hunter Jozwiak Cc: emacs-orgmode@gnu.org, hhelp-guix@gnu.org Subject: Re: Connecting to an Already Running Scheme REPL with org-babel In-Reply-To: <874jex3xxh.fsf@gmail.com> References: <874jex3xxh.fsf@gmail.com> Date: Sun, 28 Jan 2024 22:45:12 +0000 Message-ID: <87v87dm613.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.14 X-Migadu-Queue-Id: 5910941711 X-Spam-Score: -9.14 X-Migadu-Scanner: mx11.migadu.com X-TUID: XnTS6lh+QcSY Hunter Jozwiak writes: > i am curious whether or not it is possible to connect Org babel to a remotely running scheme REPL, more > specifically the Guile REPL that you get by running something like guix repl --listen=tcp:37146 ob-scheme does not have such feature. Although, it might not be hard to implement. Check out `org-babel-scheme-get-repl' function. Now, it calls (geiser impl) You would need (geiser-connect impl host port) to connect to server. Of course, you'd also need to somehow get HOST and PORT values. For example, passing them all the way down from the header argument plist stored in PARAMS argument of `org-babel-execute:scheme' (-> org-babel-scheme-execute-with-geiser -> org-babel-scheme-get-repl) Patches welcome! -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at