From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0F/rBwoNsGM2hAEAbAwnHQ (envelope-from ) for ; Sat, 31 Dec 2022 11:20:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iFEfBwoNsGM0KQAAG6o9tA (envelope-from ) for ; Sat, 31 Dec 2022 11:20:58 +0100 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 B7FCA10179 for ; Sat, 31 Dec 2022 11:20:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBYxv-0006Fx-QU; Sat, 31 Dec 2022 05:19:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBYxb-00066S-4I for emacs-orgmode@gnu.org; Sat, 31 Dec 2022 05:19:27 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBYxZ-0001rz-93 for emacs-orgmode@gnu.org; Sat, 31 Dec 2022 05:19:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1672481962; s=strato-dkim-0002; d=nieper-wisskirchen.de; h=Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References:Cc:Date: From:Subject:Sender; bh=6wGzFq34evitf0wlISV+db7zweBfwhDWfXyoeKfUatk=; b=tMxDc+cXMt0Yr7UBX/tpddujZAKODR/8PyDr2v/kpbRg6KbvvNLTiWNeVYpyUbNh69 oX/S5+9XZeQKcYCWk2hmPCAWWaskPnSdG+JvqnlxF3wsO9TxXeMWbRTj1A6x+hZjMPRq JmYSmqefxRckDTR4LCBrRQOenyKiRDmfP78CNWW259B4HiEux9519kIXHoomROmQXnvc jBtLKqaEDE+LY5grBzzXGL9vCnJ9zMYxNie/+hMTSHhe6flaLz8N1yJ4beh2gGx46w7d 5nfEdaHXHe7QJA26/v5xaU40DqUY/+rovXKSza/2cxAuKDFuxmKRYB+Cw5Aq9+7X3tdo 8NAA== X-RZG-AUTH: ":IW0WdmCmcvpIrP2+VJuPtIhjJvc4Ig+QdhX22iZVwSDOx4Kp3cYsBVGy6CZgmO/guIaJVMJ575bM" X-RZG-CLASS-ID: mo00 Received: from mail-wm1-f53.google.com by smtp.strato.de (RZmta 48.2.1 AUTH) with ESMTPSA id jcf20dyBVAJMOq9 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Sat, 31 Dec 2022 11:19:22 +0100 (CET) Received: by mail-wm1-f53.google.com with SMTP id bg13-20020a05600c3c8d00b003d9712b29d2so14597256wmb.2 for ; Sat, 31 Dec 2022 02:19:22 -0800 (PST) X-Gm-Message-State: AFqh2kr0mDjScuXhyWiZOySAGrrF7alEWe/B8bJEhtxiymdiY5clPcWq m5Pcv4Jb7uOxors456BPXht4SjJQdl5xWmLQ0+0= X-Google-Smtp-Source: AMrXdXseOrX1THAIFSU9MdOgZ+tXot/mI5C6Kr8YRXTVVAo/oc/94Hl+hPtrFDpUAi1Z2NpbYczYkYv6u3HdTkyKvHA= X-Received: by 2002:a7b:ca56:0:b0:3d1:cae5:efe9 with SMTP id m22-20020a7bca56000000b003d1cae5efe9mr1285099wml.158.1672481962269; Sat, 31 Dec 2022 02:19:22 -0800 (PST) MIME-Version: 1.0 References: <87k02o7uki.fsf@localhost> <87fscvc379.fsf@localhost> In-Reply-To: From: =?UTF-8?Q?Marc_Nieper=2DWi=C3=9Fkirchen?= Date: Sat, 31 Dec 2022 11:19:11 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Babel (scheme): Evaluation errors are not shown To: Ihor Radchenko Cc: =?UTF-8?Q?Rudolf_Adamkovi=C4=8D?= , emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=85.215.255.25; envelope-from=marc@nieper-wisskirchen.de; helo=mo4-p00-ob.smtp.rzone.de 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672482057; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=6wGzFq34evitf0wlISV+db7zweBfwhDWfXyoeKfUatk=; b=JMmVAyXhO2XwNCF18xIOG0qP3OCXjxkU6O8cRMKzVSuCvUeCVad9hHmCR1YH/VINJxh397 MKjX+RPM/K5lp2zvqfAAOXOOE1UH5qlW8AOro9i8kt3Avy4sx1SmgUeQLIxV/l4LPNXgSm V5c6lXrH4E+gqzjFXQPSVub45dyRH9E/GOKvUL+J+jd2VXyP3FlMG7IuZIj4jn2vhaMZm9 JHAzHgsA8u1nWmGUusR8dt0EJUcI7cpqCc0IFZ9KDmXzsJaxMj5y5Jusxo3kV2yYFwJcDo eaNf25bbq6jwJ1s1USKuXSGHLduEWXvAAQuPgMruz+WYjLOk+bKkAaleA0eReg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=nieper-wisskirchen.de header.s=strato-dkim-0002 header.b=tMxDc+cX; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672482057; a=rsa-sha256; cv=none; b=hYmt2dsYQS1f1VJU2vonrR74hATpL4BhGjojbuHBI86XzDv3SCCSDwNfA/zE+c+RIDyqHZ 0dsi9yvlFLzfJiKxtdSzwZv46TIddwbM4rVGEPQHUyu9S7wcl0kweTs1rqxCaE1D8Ko72P xpM3O5d1O7I8QR4dh0H/Fq+eWEsD76IA8KfhSXEQeqSOFfqMoIh8U4fM4hSPS2mEAa+dNa gogIxceds+cB0r3VgRPZYMinVSxV3rMxOovhAL2VrYu8/8rCcip21KBqSXG63u7hzVCCfs 9+keJovUXtNCCRyHVqbhSg1m+3O/t4a0znYlTBhhSQBdJYgESF/o6x8FyPk+IA== X-Spam-Score: 2.66 X-Migadu-Queue-Id: B7FCA10179 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=nieper-wisskirchen.de header.s=strato-dkim-0002 header.b=tMxDc+cX; 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"; dmarc=none X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 2.66 X-TUID: 1a7zpO4Nzd+r Am Sa., 31. Dez. 2022 um 11:09 Uhr schrieb Marc Nieper-Wi=C3=9Fkirchen : > > Am Sa., 31. Dez. 2022 um 10:49 Uhr schrieb Ihor Radchenko : > > > > Marc Nieper-Wi=C3=9Fkirchen writes: > > > > > I have been talking to jao (from geiser). The following version of > > > ob-scheme.el signals an error when executing Scheme code blocks. > > > Besides two function declarations, the only change is in the function > > > org-babel-scheme-execute-with-geiser. > > > > Do you mean that `org-babel-scheme-execute-with-geiser' throws Elisp > > error? > > This is what it currently does; it packages the Scheme error as an > Elisp *user* error. > > I chose this behavior to mimic what happens when Elisp code blocks > produce errors. > > > It is not what we usually do in Org babel. If blocks execution > > fails, we display the error in separate buffer and still return the > > output available before error has been thrown. See `org-babel-eval' and > > `org-babel-eval-error-notify'. > > I will take a look. Hmmm... `org-babel-eval-error-notify' assumes that the code was evaluated by running an external script. In the case of the Geiser interface to Scheme, the concept of an exit code does not make any sense.