emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Neil Jerram <neiljerram@gmail.com>
To: Vladimir Nikishkin <lockywolf@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Bug: Problems with ob-scheme in geiser-eval--retort-output [9.2.6 (9.2.6-4-ge30905-elpa @ /home/lockywolf/.emacs.d/elpa/org-20191021/)]
Date: Mon, 21 Oct 2019 11:42:53 +0100	[thread overview]
Message-ID: <CAKuG=vvGxZUxNQL=j9KtqTZnqNmtsUUMCwLp_inXK__f2rv=UQ@mail.gmail.com> (raw)
In-Reply-To: <87h842kfgi.fsf@delllaptop.lockywolf.net>

[-- Attachment #1: Type: text/plain, Size: 891 bytes --]

Hi Vladimir,

On Mon, 21 Oct 2019 at 03:21, Vladimir Nikishkin <lockywolf@gmail.com>
wrote:

>
> Can we replace the (set) on line 177 of ob-scheme.el with the following
> form:
> (setq result (if output
>                  (let ((g-r-o (geiser-eval--retort-output ret)))
>                  (if g-r-o
>                      g-r-o
>                      "Geiser-eval--retort-output returned nil.\nThe
> interpreter produced no output\nor there is a bug in geiser (likely!)"))
> (geiser-eval--retort-result-str ret "")))))
>
> I am not super sure about what's going on there, but I think that output
> can never be an empty list, because in the worst case it is an empty
> string.
> (But I wouldn't vouch for this.)
>

Can you explain more?  Have you seen cases
where (geiser-eval--retort-output ret) returns nil, even though you say
just above that it can never do that?

Best wishes,
    Neil

[-- Attachment #2: Type: text/html, Size: 1362 bytes --]

  reply	other threads:[~2019-10-21 10:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-21  2:19 Bug: Problems with ob-scheme in geiser-eval--retort-output [9.2.6 (9.2.6-4-ge30905-elpa @ /home/lockywolf/.emacs.d/elpa/org-20191021/)] Vladimir Nikishkin
2019-10-21 10:42 ` Neil Jerram [this message]
     [not found]   ` <c62d8deb-1ef7-378a-60f5-b7775f34a6d5@gmail.com>
2019-10-21 14:46     ` Neil Jerram
     [not found]       ` <80649399-906c-76fd-dd0e-2040fd62f9de@gmail.com>
2019-10-22  1:35         ` Vladimir Nikishkin

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='CAKuG=vvGxZUxNQL=j9KtqTZnqNmtsUUMCwLp_inXK__f2rv=UQ@mail.gmail.com' \
    --to=neiljerram@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lockywolf@gmail.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).