emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] Scheme code block evaluation doesn't show any result [9.5.\ 2 (rel


From: Pascal Grossé
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/)]
Date: Fri, 29 Apr 2022 10:37:20 +0200

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é

Attachment: 0001-Bug-fix-for-scheme-code-block-evaluation-showing-no-.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]