emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Rudolf Adamkovič" <salutis@me.com>
To: Neil Jerram <neiljerram@gmail.com>
Cc: Bob Heffernan <bob.heffernan@gmail.com>,
	Ihor Radchenko <yantar92@gmail.com>,
	Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Problem with org-babel and geiser
Date: Sun, 27 Mar 2022 11:47:22 +0200	[thread overview]
Message-ID: <m21qynenh1.fsf@me.com> (raw)
In-Reply-To: <CAKuG=vum1tpeSxbsgBki2SDgoFxqg=2KFz7PjsEZ3Xhg6ZF7sw@mail.gmail.com>

Neil Jerram <neiljerram@gmail.com> writes:

Hi Neil!

> What do you see if you add ":results output" to the "#+begin_src"
> line, and then C-c C-c again?

#+BEGIN_SRC scheme :results output verbatim
(+ 1 1)
#+END_SRC

#+RESULTS:
: Geiser Interpreter produced no output

> Did the patch help in your case?

I had to update the file name inside of the patch:

- old: lisp/org/ob-scheme.el
- new: lisp/ob-scheme.el

After that, the patch applied cleanly on top of 'main'.

So, I restarted Emacs and tried:

#+BEGIN_SRC scheme
(+ 1 1)
#+END_SRC

#+RESULTS:
: 2

Further, I also tried to execute '(display "ABC")' while capturing
standard output using ':results output verbatim'.  It worked.

Lastly, I tried to use a persistent ':session' to avoid waiting for the
Geiser/Guile when executing code blocks.  It worked as well.

TL;DR The patch works.

P.S.

We should add 'testing/lisp/test-ob-scheme.el' or it will break again
sooner or later.  Can we make the Org test suite depend on Geiser and
Guile?  Given that Org uses Geiser out of the box, I think we should.
What do you think?

Rudy
-- 
"The whole science is nothing more than a refinement of everyday
thinking."
-- Albert Einstein, 1879-1955

Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia


  reply	other threads:[~2022-03-27  9:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-03 17:01 Bob Heffernan
2022-02-04  7:00 ` Ihor Radchenko
2022-02-04 15:09   ` Bob Heffernan
2022-02-05 11:39     ` Ihor Radchenko
2022-02-05 22:10       ` Bob Heffernan
2022-03-17 17:04         ` Rudolf Adamkovič
2022-03-23 11:16           ` Neil Jerram
2022-03-27  9:47             ` Rudolf Adamkovič [this message]
2022-05-08 13:56               ` Ihor Radchenko
     [not found] <mailman.41.1647619222.20802.emacs-orgmode@gnu.org>
2022-03-18 16:50 ` Zelphir Kaltstahl
2022-03-22 20:51   ` Rudolf Adamkovič
2022-03-22 23:54     ` Zelphir Kaltstahl
2022-03-27 10:21       ` Rudolf Adamkovič

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m21qynenh1.fsf@me.com \
    --to=salutis@me.com \
    --cc=bob.heffernan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=neiljerram@gmail.com \
    --cc=yantar92@gmail.com \
    --subject='Re: Problem with org-babel and geiser' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).