From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cLE3OHdRbGKfcgEAbAwnHQ (envelope-from ) for ; Fri, 29 Apr 2022 22:58:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KF61N3dRbGJtIAEAG6o9tA (envelope-from ) for ; Fri, 29 Apr 2022 22:58:31 +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 7CFB23DC5C for ; Fri, 29 Apr 2022 22:58:31 +0200 (CEST) Received: from localhost ([::1]:41650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkXh8-0003mC-Eb for larch@yhetil.org; Fri, 29 Apr 2022 16:58:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkM87-0003Y7-DM for emacs-orgmode@gnu.org; Fri, 29 Apr 2022 04:37:35 -0400 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:45852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkM85-000684-Jn for emacs-orgmode@gnu.org; Fri, 29 Apr 2022 04:37:35 -0400 Received: by mail-pg1-x52a.google.com with SMTP id 7so2133287pga.12 for ; Fri, 29 Apr 2022 01:37:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=vcFqOPcPVXVIdzscZ265pCQgT0xf5PDtS+D3kNEHeTk=; b=k0usB9W5LwaabQGNydFrQGTi82WnS4lhFolKvsmFDbfE88wGM0XVG5jc3+qvg8pBkY p3+AP9BucmJ2cYV9Fx3aKX6SH0yn8d+LrD5tZJM1YuVFfCEvWvMw/Goek8omQamxPVWv copRZYUU82D0RuUhW2kI7O+PPnvW1JrbO8Ej+2iHqbC/zRSeOxojvUobGjRQcc3EXM6p ACAHh19HY69vud7HVjpC6XWN3ncVjvm/WWBBg02jCrXr5oo91Iw2ArkSe9SFYiNu1bOZ sFJbLNmkG1nerrhiZDTLgb2q7x82Aq7Q+lFTkNj2bqK1mNwrgKWNnADvYGMTkqSG6E+j PL0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vcFqOPcPVXVIdzscZ265pCQgT0xf5PDtS+D3kNEHeTk=; b=EPyM0zJEUmEx/bi7Lb+auONk6Lou4jZPmIyPiRqZHwORfwzaemL0P0sBBGytMDGlyS lzc66Dv8zZjRwwRcJUwOHbkBEvqevZUWcRopTACFO8IbgYo8tEvnzlnerSNJsRPOcR8f hnLi6XXsiXdmS5Bv/gk3BFUX99T7PgsvjBySEmGtwYKPEuaEReVuii4e8n0ZJMP5azsZ SIocZn77SxKNzb92MnbN6B4TuyqitqcR6C+k6NtsIEwVJzVB3HLz6BHylzoBh4T2zNwO x3hyf6xghJiaJbFtPKjvWfLaDLWpjM2h5Uqtb9Poyl7K9L70ycFQ7YSYVOBe5h1tkHi4 XF5Q== X-Gm-Message-State: AOAM533gd69TFo21/PNSTooy2GOrcvaDxtHGIU2gpj9UBE4oJL0g0aoE cpiP8nH6CoTv2wP5sqgIWiSJAQmTgza2fMJGIyd2FLSk9Js= X-Google-Smtp-Source: ABdhPJxcEbEgBed0m+s8KZKmLRtkVZKKEhrBboRgm5aCTqpB4IsqMk1wJdGAKcYglNkk3z2FNmt/BoN9SCarzwq1pLA= X-Received: by 2002:a63:217:0:b0:3ab:971b:8cdc with SMTP id 23-20020a630217000000b003ab971b8cdcmr13762879pgc.83.1651221451794; Fri, 29 Apr 2022 01:37:31 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Pascal_Gross=C3=A9?= Date: Fri, 29 Apr 2022 10:37:20 +0200 Message-ID: Subject: [BUG] Scheme code block evaluation doesn't show any result [9.5.\ 2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)] To: emacs-orgmode@gnu.org Content-Type: multipart/mixed; boundary="00000000000014b22805ddc6f4e1" Received-SPF: pass client-ip=2607:f8b0:4864:20::52a; envelope-from=pascal.grosse@gmail.com; helo=mail-pg1-x52a.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Mailman-Approved-At: Fri, 29 Apr 2022 16:58:05 -0400 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651265911; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fcn0wP0Q/+ujkFKnhi0DosiaJvr6958Q+RlCAAbcTSg=; b=fRX/TOfiWttOKoqZCHOmhgX3cBMLkS80D4gg0xBTQr95AsDAAUzjar+Z3wq8pxJo2xGYBr 5VCFfk/CYHiqzCdMpPL3GXRFyh1WQocGCR3dYiqMJJ4w3DVboSyPD5+lES+JKFn18rVneK M32TY30Hh8nI1L8U/FqnEw4xEo7VzlKV3qZDgfBGFfa4OlCYj6ejqTh9GBqXGuticIOt9o oTB1vxccU62doUFt885LZH9NzRAjkv3YRpQ0EQdWA1Y+CbfAgprWNKneVmFfGzt9DDHyBO yoIeFx05+p/IkdIMK4AgjXZaDLC0t/SbV3Df4BTRaU+bLI7fCNWFENMcUV4vMw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651265911; a=rsa-sha256; cv=none; b=sEAYIcSlfbBXOSSnBuUKgW2d5PVSNHeQALvPix/HlliY3vLTCVDmqo3Hb5XiBTigAAiS9K qp91bh8dlZOBSI4CW8uUXRXflcWi8ZYSPskibrgp8ieWKKe4cqgj3pUQZfwAOuYCQgruYn kwPfDWlftDEg8mJeuiQ5Q0n9V2frJxaJ6situ1UjT+g4vfj5UvYJjvM8fBzTkVqhlrZQi2 EskTEn8RRRNGWLkADpJGZqx2llgBk5xMQmFXfO2yUzFOSQLD+zGFKWAjOam2Q8/raVnFHY Hh4C0A0zMivgbAsXADWuUaChEMNjkc8JaDGDU+Eo9GyvOqkNmGJSe7v4jwbM9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=k0usB9W5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 7.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=k0usB9W5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 7CFB23DC5C X-Spam-Score: 7.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: LNV9oQngJPCZ --00000000000014b22805ddc6f4e1 Content-Type: multipart/alternative; boundary="00000000000014b22605ddc6f4df" --00000000000014b22605ddc6f4df Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I configured a fresh emacs 28 installation to include the package geiser-guile. I tried to evaluate this simple org block (after activating scheme with babel of course): #+begin_src scheme :session test (define x 42) x #+end_src I get: #+RESULTS: The *Geiser Messages* buffer shows this: ERROR: <5>: continuation failed ",geiser-eval #f (begin ;; -*- geiser-sch\ eme-implementation: guile -*- (define x 42) x ) ()" (error Selecting deleted buffer) I managed to track the bug to *ob-scheme.el*: in (defun org-babel-scheme-execute-with-geiser, on line 179, simply replace geiser-eval-region with geiser-eval-region/wait so that the temporary result buffer doesn't close too soon. It then works as expected. Pascal Gross=C3=A9 --00000000000014b22605ddc6f4df Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I configured a fresh emacs 28 installation to include the = package geiser-guile.

I tried to evaluate this simple org block (aft= er activating scheme with
babel of course):

#+begin_src scheme :session test
(define x 42)
<= div>x
#+end_src

I get:
#+RESULTS:

The *Geiser Messages* buffer shows this:

ERROR: <5>: continuation failed ",geiser-eval #f (be= gin ;; -*- geiser-sch\
eme-implementation: guile -*-
(define x 42)x
) ()"
(error= Selecting deleted buffer)


I managed to track the bug to = ob-scheme.el:

in (defun or= g-babel-scheme-execute-with-geiser, on line 179, simply
replace <= span style=3D"color:rgb(0,0,255)">geiser-eval-region with geiser-eval-region/wait so that the
temp= orary result buffer doesn't close too soon. It then works as
expecte= d.

Pascal Gross=C3=A9

--00000000000014b22605ddc6f4df-- --00000000000014b22805ddc6f4e1 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Bug-fix-for-scheme-code-block-evaluation-showing-no-.patch" Content-Disposition: attachment; filename="0001-Bug-fix-for-scheme-code-block-evaluation-showing-no-.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_l2k6k1e30 RnJvbSBjZGMyYzEwZjQ4NTg1ZmI2MzI4NDg2ZDk4MjE1MjZmMmJkOTk0NDAwIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/UGFzY2FsPTIwR3Jvc3M9QzM9QTk/PSA8cGFz Y2FsLmdyb3NzZUBnbWFpbC5jb20+CkRhdGU6IEZyaSwgMjkgQXByIDIwMjIgMTA6MzM6MDUgKzAy MDAKU3ViamVjdDogW1BBVENIXSBCdWcgZml4IGZvciBzY2hlbWUgY29kZSBibG9jayBldmFsdWF0 aW9uIHNob3dpbmcgbm8gcmVzdWx0CgotLS0KIGxpc3Avb2Itc2NoZW1lLmVsIHwgMiArLQogMSBm aWxlIGNoYW5nZWQsIDEgaW5zZXJ0aW9uKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEv bGlzcC9vYi1zY2hlbWUuZWwgYi9saXNwL29iLXNjaGVtZS5lbAppbmRleCA3MmQyZTAyOWUuLjgw YTViNzZlZSAxMDA2NDQKLS0tIGEvbGlzcC9vYi1zY2hlbWUuZWwKKysrIGIvbGlzcC9vYi1zY2hl bWUuZWwKQEAgLTE3Niw3ICsxNzYsNyBAQCBpcyB0cnVlOyBvdGhlcndpc2UgcmV0dXJucyB0aGUg bGFzdCB2YWx1ZS4iCiAJICAoc2V0cSBnZWlzZXItaW1wbC0taW1wbGVtZW50YXRpb24gbmlsKQog CSAgKGxldCAoKGdlaXNlci1kZWJ1Zy1qdW1wLXRvLWRlYnVnLXAgbmlsKQogCQkoZ2Vpc2VyLWRl YnVnLXNob3ctZGVidWctcCBuaWwpKQotCSAgICAobGV0ICgocmV0IChnZWlzZXItZXZhbC1yZWdp b24gKHBvaW50LW1pbikgKHBvaW50LW1heCkpKSkKKwkgICAgKGxldCAoKHJldCAoZ2Vpc2VyLWV2 YWwtcmVnaW9uL3dhaXQgKHBvaW50LW1pbikgKHBvaW50LW1heCkpKSkKIAkgICAgICAoc2V0cSBy ZXN1bHQgKGlmIG91dHB1dAogCQkJICAgICAgIChvciAoZ2Vpc2VyLWV2YWwtLXJldG9ydC1vdXRw dXQgcmV0KQogCQkJCSAgICJHZWlzZXIgSW50ZXJwcmV0ZXIgcHJvZHVjZWQgbm8gb3V0cHV0IikK LS0gCjIuMzYuMAoK --00000000000014b22805ddc6f4e1--