From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 UMc/JkQ1sGOdaAEAbAwnHQ (envelope-from ) for ; Sat, 31 Dec 2022 14:12:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mL59JkQ1sGNSuwAAauVa8A (envelope-from ) for ; Sat, 31 Dec 2022 14:12:36 +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 20BF717964 for ; Sat, 31 Dec 2022 14:12:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBbeH-00078P-FP; Sat, 31 Dec 2022 08:11:41 -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 1pBbeF-00076K-2i for emacs-orgmode@gnu.org; Sat, 31 Dec 2022 08:11:39 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.161]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBbeC-000355-Ip for emacs-orgmode@gnu.org; Sat, 31 Dec 2022 08:11:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1672492292; 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=mQqSx2gvrQzdEp7Qw3VMP/mVtLusKTtldZ44djCKJdo=; b=oYpqYxyzyT6dXDm+kNLQ0Rp+FGEKlvBPrr+FtOpfgbcruZDjeMcbRhuCI3YImTRJSB /akxEambG4+yUBMHPjmarHKQQNHJO+oYVhd88jeCtjdM7/dfr+xmnN9JdXC6IB1qPow8 6m0690oOvu6llvQBv2cJRyVlh0SnWEcGVmw8i9VBq+sxodul4e7XesOwqHSF9VZ9ag/r gILuTry9LfqRuD/elHHW7+kenyOmrlBMAMcKQBayaLCZN7Z/6I7EY8bWfeUEGgXdn9Qs roZSzvHX6bp1LccbO/i/BG7Iqp2Z1SBtz5Qud/Mk0FOVYH4woJJF+9J6fuPgL/ubRHhP 8Isw== X-RZG-AUTH: ":IW0WdmCmcvpIrP2+VJuPtIhjJvc4Ig+QdhX22iZVwSDOx4Kp3cYsBVGy6CZgmO/guIaKVMt57pGh" X-RZG-CLASS-ID: mo00 Received: from mail-wr1-f44.google.com by smtp.strato.de (RZmta 48.2.1 AUTH) with ESMTPSA id jcf20dyBVDBWPO0 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Sat, 31 Dec 2022 14:11:32 +0100 (CET) Received: by mail-wr1-f44.google.com with SMTP id n3so21614456wrc.5 for ; Sat, 31 Dec 2022 05:11:32 -0800 (PST) X-Gm-Message-State: AFqh2ko4IWosI0EkcifOs+WQ9nNUYAy8OGr/x0kfMaTgl14qy1+ro+qV oo/82nLgg4saW7K3xIFXjql3EyXnssHTNKtt/DI= X-Google-Smtp-Source: AMrXdXtLtvJs6Ht40HxKUnYwn2dJ7v7EHivoVGU2F+YLDlwU6i7l2My2DbA8llMLOg/ALYOfHZNpyj8Tzo+JKXsHalE= X-Received: by 2002:adf:fb8e:0:b0:242:1d01:16fd with SMTP id a14-20020adffb8e000000b002421d0116fdmr701545wrr.682.1672492292203; Sat, 31 Dec 2022 05:11:32 -0800 (PST) MIME-Version: 1.0 References: <87k02o7uki.fsf@localhost> <87fscvc379.fsf@localhost> <87bknjbwtw.fsf@localhost> In-Reply-To: <87bknjbwtw.fsf@localhost> From: =?UTF-8?Q?Marc_Nieper=2DWi=C3=9Fkirchen?= Date: Sat, 31 Dec 2022 14:11:20 +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: multipart/mixed; boundary="000000000000f7875805f11f749f" Received-SPF: none client-ip=81.169.146.161; envelope-from=marc@nieper-wisskirchen.de; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=1672492356; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mQqSx2gvrQzdEp7Qw3VMP/mVtLusKTtldZ44djCKJdo=; b=VyAWL2yZaiLb9mry4PbM/V16nNkCLdK9mtE5cFW6IXjwWgwIa3YDmAbvGHLedFVs5AfMvI Xb/vo4g3l9Q0Vj52mhoekhze9DMNQwCZwQrW1AZ7dg6KdC4MwzZ3GQeCP+d88CY5HvkUyF 6RUpeDe6U7D2jBgDwCBi8oHsxJ7xc9e8zu4Y4P0FN0131UAcCbxt+P1RBl/eh5JkolNFOX w9C9uYV4DSX+J5Q2FprwBKVpe1JLj+70dNyI9A+ir3IHLPdxICy+p0zLwjJWcUoLzpJkHC 7hdDCwrge+DkYjn+sJwder1DV0E+27Y2Cs1Kg2B7QWBFWa5dR4SfgTbvZkzBZg== 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=oYpqYxyz; 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=1672492356; a=rsa-sha256; cv=none; b=dpa+/laItb6YA43TckK4YFc78B3HSl0Xaksfoq3dD3DyfFxN8cY7rn9s5XYf/B7DAilqEV au6Ev+tncskXKdRBzaX6r/FETtmkhUS7qZA2S2W/IzByNHIZuv5wBiJ4w0tpHocJLmRTWb qqLj3bnnyBT6dKN9CKfI5F8tQJcZsrMwWGKC7ZxvqB8qKy1H0LMTEW4IaSWnL3CNXzi6F+ kHs509mf40KewX6URbMSUp95Dl7DvvFk8+p7K9M52LFTDx427mnFnlgq6Tff1bU5Nq82/A 3vY5mj5XJbq43+gz1ajUKuoQfu/Y2OqeOx/olvjLtpg6S+W1Kj81RIKiQoDk4A== X-Spam-Score: 2.56 X-Migadu-Queue-Id: 20BF717964 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=nieper-wisskirchen.de header.s=strato-dkim-0002 header.b=oYpqYxyz; 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.56 X-TUID: dZ0V/hNwr6dD --000000000000f7875805f11f749f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Please find the patch file attached to this email. Thank you, Marc Am Sa., 31. Dez. 2022 um 13:07 Uhr schrieb Ihor Radchenko : > > Marc Nieper-Wi=C3=9Fkirchen writes: > > > Please find attached a version that does not signal an Elisp user > > error, but calls `org-babel-eval-error-notify' instead. > > If you can, could you please send the changes in form of a patch > instead? It is then easier to review. > See https://orgmode.org/worg/org-contribute.html#patches (you can just > attach the patch to your reply). > > > To get rid of > > the display of the arbitrary error code, could we modify > > `org-babel-eval-error-notify' so that nothing is displayed about an > > error if the error code is `nil'? > > Yes, we can. Feel free to make a patch, updating the docstring according > to your changes. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at --000000000000f7875805f11f749f Content-Type: application/octet-stream; name="0001-Display-evaluation-errors-for-Scheme-code-blocks.patch" Content-Disposition: attachment; filename="0001-Display-evaluation-errors-for-Scheme-code-blocks.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lcbypfnm0 RnJvbSBjODA0ZDY5YjZkYWFkNjZkOWQ3MzJiMGY4YWRhZjIyNmFmMzY0MWM4IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/TWFyYz0yME5pZXBlci1XaT1DMz05RmtpcmNo ZW4/PSA8bWFyY0BuaWVwZXItd2lzc2tpcmNoZW4uZGU+CkRhdGU6IFNhdCwgMzEgRGVjIDIwMjIg MTQ6MDg6NTMgKzAxMDAKU3ViamVjdDogW1BBVENIXSBEaXNwbGF5IGV2YWx1YXRpb24gZXJyb3Jz IGZvciBTY2hlbW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2Vpc2VyLWV2YWwtLXJldG9ydC1l cnJvciByZXQpKSkKKyAgICAgICAgICAgICAgICAoc2V0cSByZXN1bHQgKGNvbmQKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIChlcnIgbmlsKQorICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgKG91dHB1dAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChvciAoZ2Vpc2Vy LWV2YWwtLXJldG9ydC1vdXRwdXQgcmV0KQotCQkJCSAgICJHZWlzZXIgSW50ZXJwcmV0ZXIgcHJv ZHVjZWQgbm8gb3V0cHV0IikKLQkJCSAgICAgKGdlaXNlci1ldmFsLS1yZXRvcnQtcmVzdWx0LXN0 ciByZXQgIiIpKSkpKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiR2Vpc2Vy IEludGVycHJldGVyIHByb2R1Y2VkIG5vIG91dHB1dCIpKQorICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgKHQgKGdlaXNlci1ldmFsLS1yZXRvcnQtcmVzdWx0LXN0ciByZXQgIiIpKSkpCiAg ICAgICAgICAgICAgICAgKHdoZW4gKG5vdCByZXBsKQogICAgICAgICAgICAgICAgICAgKHNhdmUt Y3VycmVudC1idWZmZXIgKHNldC1idWZmZXIgcmVwbC1idWZmZXIpCiAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAoZ2Vpc2VyLXJlcGwtZXhpdCkpCiAgICAgICAgICAgICAg ICAgICAoc2V0LXByb2Nlc3MtcXVlcnktb24tZXhpdC1mbGFnIChnZXQtYnVmZmVyLXByb2Nlc3Mg cmVwbC1idWZmZXIpIG5pbCkKLQkgICAgKGtpbGwtYnVmZmVyIHJlcGwtYnVmZmVyKSkpKSkKKyAg ICAgICAgICAgICAgICAgIChraWxsLWJ1ZmZlciByZXBsLWJ1ZmZlcikpCisgICAgICAgICAgICAg ICAgKHdoZW4gZXJyCisgICAgICAgICAgICAgICAgICAobGV0ICgobXNnIChnZWlzZXItZXZhbC0t ZXJyb3ItbXNnIGVycikpKQorICAgICAgICAgICAgICAgICAgICAob3JnLWJhYmVsLWV2YWwtZXJy b3Itbm90aWZ5CisgICAgICAgICAgICAgICAgICAgICBuaWwKKyAgICAgICAgICAgICAgICAgICAg IChjb25jYXQgKGlmIChsaXN0cCBtc2cpIChjYXIgbXNnKSBtc2cpICJcbiIpKSkpKSkpKSkpCiAg ICAgcmVzdWx0KSkKIAogKGRlZnVuIG9yZy1iYWJlbC1zY2hlbWUtLXRhYmxlLW9yLXN0cmluZyAo cmVzdWx0cykKICAgIkNvbnZlcnQgUkVTVUxUUyBpbnRvIGFuIGFwcHJvcHJpYXRlIGVsaXNwIHZh bHVlLgogSWYgdGhlIHJlc3VsdHMgbG9vayBsaWtlIGEgbGlzdCBvciB0dXBsZSwgdGhlbiBjb252 ZXJ0IHRoZW0gaW50byBhbgogRW1hY3MtbGlzcCB0YWJsZSwgb3RoZXJ3aXNlIHJldHVybiB0aGUg cmVzdWx0cyBhcyBhIHN0cmluZy4iCi0gIChsZXQgKChyZXMgKG9yZy1iYWJlbC1zY3JpcHQtZXNj YXBlIHJlc3VsdHMpKSkKKyAgKGxldCAoKHJlcyAoYW5kIHJlc3VsdHMgKG9yZy1iYWJlbC1zY3Jp cHQtZXNjYXBlIHJlc3VsdHMpKSkpCiAgICAgKGNvbmQgKChsaXN0cCByZXMpCiAgICAgICAgICAg IChtYXBjYXIgKGxhbWJkYSAoZWwpCiAgICAgICAgICAgICAgICAgICAgICAoaWYgKG9yIChudWxs IGVsKSAoZXEgZWwgJ251bGwpKQotLSAKMi4zNC4xCgo= --000000000000f7875805f11f749f--