From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Munyoki Kilyungi Newsgroups: gmane.lisp.guile.user Subject: Re: Using guile (running on a port) in Org Mode Date: Fri, 15 Jul 2022 17:44:18 +0300 Message-ID: <86fsj2zb99.fsf@bonfacemunyoki.com> References: <86v8rzgatu.fsf@bonfacemunyoki.com> <871qumless.fsf@terra.tmtvl.info> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13808"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user@gnu.org To: Tim Van den Langenbergh Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Jul 15 16:44:54 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oCMYm-0003NU-DV for guile-user@m.gmane-mx.org; Fri, 15 Jul 2022 16:44:54 +0200 Original-Received: from localhost ([::1]:43346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCMYl-0001FZ-E0 for guile-user@m.gmane-mx.org; Fri, 15 Jul 2022 10:44:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCMYP-0001FL-9w for guile-user@gnu.org; Fri, 15 Jul 2022 10:44:29 -0400 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:46991) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCMYN-0004tg-5Y for guile-user@gnu.org; Fri, 15 Jul 2022 10:44:29 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id C5BA632009DF; Fri, 15 Jul 2022 10:44:23 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 15 Jul 2022 10:44:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= bonfacemunyoki.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1657896263; x= 1657982663; bh=N6mQkledLMWiF+8O6+mO29bcFMbNyQUrmPucL2quaMU=; b=k 04BHYovRc5FZG7izzfDmXqWnIHnm5jDB+UIIN3mrbfZmWutaE23rBb1YzZDoOeoC fAP4lP2kc4xw8vg47tL3ZNc06ooS+xql2jR/tfKMPB/ARYeedt+3cqDpyrGPGkZU uWMYeCft43FMUgRsSJlAAkXexcF1NwtUzzc1uWBA5mEnjWQIB6ogQqwlTxmTF2Ka 8nCEZw1DXAZINGTQbjkaQRIRj8SySjpjMlq3b8jXo3ig6lNsq0i1+OaizkPxgAEe 0l5UBIZkDBIVPnJE7N0qgyBK/kB+QuUoVe4j5Mdg4Fu81W+5lmTpA+iP6x4oYEcx mOTDnXzEHpgT5IME+zP4w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1657896263; x=1657982663; bh=N6mQkledLMWiF+8O6+mO29bcFMbN yQUrmPucL2quaMU=; b=P2sIV6pWhH5W+0MoyTDJbqLBFcb0H8tXHqRfdWjnTLXM EA/zUvEdlDzaSBvnWof04lkjFt1qYLivKKOfTSgj9xTURwlIFHFyBI79nx4uEQ/I ok0or38eEzgfj+l999w8WnB2Vhwb7y8OGnMg0IY/wqOk5bYITXQyn9SRScP7AKO5 RjBrKng8Bmo4rATW/2f94lYELp7EjhE9OtbF4ci32Lm0F96n5EHYFaqgWHDg5dUU fNFgIlH3AXY3HMP/IBBtQbLqlY4RoN08AnwdDUJrRhXLhoNyZJ3fs/GVJN+pyHOH dcPGIQTEeZzkDFo5CbkpTaroylpM7KSCXyZerMmmqg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudekuddgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufgjfhffkfggtgesghdtre ertddttdenucfhrhhomhepofhunhihohhkihcumfhilhihuhhnghhiuceomhgvsegsohhn fhgrtggvmhhunhihohhkihdrtghomheqnecuggftrfgrthhtvghrnhepjeekhfffjedvte dtkeeffeehjeehueegveektdeltdeutefhudelheeuleeuvdegnecuffhomhgrihhnpegs ohhnfhgrtggvmhhunhihohhkihdrtghomhdpghhnuhhpghdrnhgvthenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmvgessghonhhfrggtvghm uhhnhihokhhirdgtohhm X-ME-Proxy: Feedback-ID: ib8a1471e:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 15 Jul 2022 10:44:22 -0400 (EDT) In-Reply-To: <871qumless.fsf@terra.tmtvl.info> Received-SPF: pass client-ip=64.147.123.21; envelope-from=me@bonfacemunyoki.com; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-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: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18422 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Tim Van den Langenbergh anaandika: > Munyoki Kilyungi writes: > >> [[PGP Signed Part:Undecided]] >> >> Hi Guilers! >> >> Recently I worked out a way to point an org src >> block to any python environment I want: >> . >> WRT to scheme code, is there a way to tell a >> scheme source block to run a guile interpreter >> that runs on a given port? > > Hello there, > > it's been a little while since I looked at the ob-scheme code, but I beli= eve > that you should be able to use an existing Geiser session as the execution > session for your Org buffer. So if you connect Geiser to a running Guile > instance, give the Geiser buffer a unique name, and use that name as the > session parameter for your src block (plus or minus earmuffs) I think it = should > work. > So I've renamed my buffer to "GUILE" and now I have this: #+begin_src scheme :results output :session "GUILE" (+ 1 1) #+end_src But I get: #+RESULTS: : Geiser Interpreter produced no output Anything I'm doing wrong? I'll look into the ob-scheme source later though. Perhaps I'll find answers there. =2D-=20 (Life is like a pencil that will surely run out, but will leave the beautiful writing of life.) (D4F09EB110177E03C28E2FE1F5BBAE1E0392253F (hkp://keys.gnupg.net)) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJKBAEBCAA0FiEE1PCesRAXfgPCji/h9buuHgOSJT8FAmLRfUIWHG1lQGJvbmZh Y2VtdW55b2tpLmNvbQAKCRD1u64eA5IlP/MdD/9OUHpJvnh6ndtZebrxF3gQxsB4 bgDJy/NJeU75PrvtyAIjhbRJjSKCeZ3v57UP3CQG1JKS9NxdhoJY4NEjps/g1HHl 4tWtKS63SJBHgOb5kyTvA2e6bZuj/RICL20r0SyzSy+TE8d+eswyD4Qwf/zoWVaC cWLGGS/ONZzDjt0Pf8+fhKGNxyk79uFMs4ufCVGzH4Q1jiuiQLDknRm3Y/0aCjKA PjSDkDauUPZQ5+e6oqUogxCoM7wSt6FJMGrUJ/vHk6SWPn2qLl4f4KMerfV11ggg riJlNb4Sq8fcIBGavnH0XRbp/3Y/4FRHyWlrkbXDipZQTdTsqjOa029Gi94KwbRj WsUX8N3j2ItL2ibCoc1MMkEAp+vkXwGwNmnpmzjxC/An8aYGOIqdPqV5YPLWvOF/ cqbr++vWSItDvhttQo5oN5vHEK7efxAc0bTQ7JINQUGEDUl97KxhS5QLSlw5HZwz IF69v93SygIgr42im+AtC3P2P8ikr1lg+WZjXCK5aJUgZ/VwUvqcL6hB0Nd78fon n/QuDwQ4qWMbVgEKiyz60afpMfcq4VtvqOo/CWOp6mXFCBK9GqrBVzuz6DVjSc9G 1KYecE5hThtJIBPNI0FrlGP5b071feOKHus+tUbZnzkMeBrmxNpOuhE7T6PoxSms l+O5utQO6GtvZLTz/g== =Z0sW -----END PGP SIGNATURE----- --=-=-=--