From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YJb1GPo7w2Gl4gAAgWs5BA (envelope-from ) for ; Wed, 22 Dec 2021 15:53:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +AqxFPo7w2HkVgAAB5/wlQ (envelope-from ) for ; Wed, 22 Dec 2021 14:53:46 +0000 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 0B4EF355EE for ; Wed, 22 Dec 2021 15:53:46 +0100 (CET) Received: from localhost ([::1]:40956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n02zw-0004Ve-Gp for larch@yhetil.org; Wed, 22 Dec 2021 09:53:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n02zR-0004VE-FC for emacs-orgmode@gnu.org; Wed, 22 Dec 2021 09:53:13 -0500 Received: from [2a00:1450:4864:20::533] (port=41547 helo=mail-ed1-x533.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n02zQ-00047j-0B for emacs-orgmode@gnu.org; Wed, 22 Dec 2021 09:53:13 -0500 Received: by mail-ed1-x533.google.com with SMTP id b13so9647799edd.8 for ; Wed, 22 Dec 2021 06:53:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=i/r+KqRQglg7PLDSm/+Z80lNuUHUFmoCSvVxNN5lO98=; b=BO2LNXTGuW8l2q4pEsuodgmtyriYs0auMTOSnk/eoBDqPVsOzbIPvFM3XZiHxw/veW SwDSZr10MEEQIlg6mVucaP5QlWjLVu0UezNpnWuwpacgBexpmYeFwxHm8iWoizitf4Ws SfckyvgQMC3pey3v17w/LEQeKXiodlYpYm1DxtLg6qaLfsmNxuPdz9dldBX9v678l43S P29hmCCFF+LDnAqKlK99PNWL//LKNnry1EVxKMp7fgXLGB23sXp3245TvwItl/x+bIUU Y5wySeVVaFEJMmUrleNG3zZm3yKnX5MaWmJhMKba0DHwBiAw41QiCTAd0iM5lsny0R3d 9xsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=i/r+KqRQglg7PLDSm/+Z80lNuUHUFmoCSvVxNN5lO98=; b=ktrpvyovBLA926kfYrEr9arvQFB28O4UwNND/PpKZf77U2hAkoiv6YNi7fncxINQGz 7HPEPwFE5ocMb9xrV4FTBpsySZJ2Jjqq298GknCDbky0hF7sIs5YYXGoQ6YhLnt3UCve kABwwNXzO9+ppt3+3oZ5rnVUWIjBtggMGRzJvYCwTZhjWU6IzJNkatO34Ke6Uvp+n/ri rFyqZqntl/FkZCJpVjUBX6tSaqU4wM46puN6TDOYrv+vF0cD5rcLQRPC+WzAl5reqhsy LYJL1yHasKVHyOd0c5I2kTKSdoui/ep5EZ/u6JHoU7Ua9Kyu/f/eg/rMyPUQCFkaNylW hYlw== X-Gm-Message-State: AOAM532pbibhjEcvssdwFj4rxdA/B6uL+u06N3/Rv2OJC8LXYE6TIlx+ L9LJCBSrKGdOlb6aSm6Q3nFnsLLfC1uHYg== X-Google-Smtp-Source: ABdhPJyYZW/pAwIRxwhQwJZ/NQi+/zMqYGrLudgAXHlSohBu7jc/IaJNfN1brgCYmCaUQyYIIhSgEg== X-Received: by 2002:a17:906:9754:: with SMTP id o20mr2650999ejy.277.1640184790462; Wed, 22 Dec 2021 06:53:10 -0800 (PST) Received: from localhost ([91.210.107.150]) by smtp.gmail.com with ESMTPSA id sa6sm834059ejc.6.2021.12.22.06.53.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Dec 2021 06:53:10 -0800 (PST) From: Ihor Radchenko To: Felipe Lema Subject: Re: Report error in scheme evaluation In-Reply-To: <4237997.1UI0SyaRfJ@felipe-thinkpad-x200> References: <4237997.1UI0SyaRfJ@felipe-thinkpad-x200> Date: Wed, 22 Dec 2021 22:54:33 +0800 Message-ID: <87sfuksn9y.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::533 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=yantar92@gmail.com; helo=mail-ed1-x533.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640184826; 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=i/r+KqRQglg7PLDSm/+Z80lNuUHUFmoCSvVxNN5lO98=; b=lSlL3W4ulvQv52UOzLz1CwJQIaHLW0ilqgLUHf6gj0nK2JnKnjIy/dRTOHyA0yz7Lz23Yz EN6Ax8rxNedGqiHnH13d/z8wMxDORZdT7/987bRlm1tPcjO0PvCdp7HVU1VkJKBGIrn8j6 wfRUu9w5SG3ZISTeZyk0zbGUIFo8TJEP3v3WJofCnMB5JKxAj3kg4HbU5+nhIdps8LUdZg OpqsbwsgyoVQEV4/SgGuDC+Vp5ALcg7se8bSBKurszyviTj9nTYC712RcJYNoK5TWWZmMy gZ2FK3J4gAqZst2gEdFPNXIPJQk48AuwFqdbxZxWY9LZiWsfkDQ1aSIZfe+PrQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640184826; a=rsa-sha256; cv=none; b=flKuSSVk1iQ3JxWynOsC9idg1sPWWUl2TfIFbiTkGLPeJHHgMMKj4xy2Gw5dmcNgWMdZzG fsmERpht5Y4ozSwLCqJNtk+EKOWPgdu+Z8RPA77U8q56JgZaL4j8czuTryMB5/j7o07ZvX Wxzj7Go7GkujAg0i8fkEDY1Fsli1WlFGH+b06atljNl6uOLzrEIHn2tXB3JwZXe8An/XFg 0EkYO9XFRrOo4NgnkyJAAn0rTTEr2wAed4I0S9xIX0EYDL42anva1FTqfulUZY5qWeze9e qXmH7dAuDu+Ks90RQtfbuXV8Kv+1E2kUZroOfbIN0bvi2CzXUH9nIamEjB4Hhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BO2LNXTG; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.74 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BO2LNXTG; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 0B4EF355EE X-Spam-Score: -3.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: WicKL2blScqt Felipe Lema writes: > I started using guile with Org Babel and I was a little confused that errors weren't being reported. The attached patch will report the error the same way as python evaluation does. The patch looks fine to me. Though never used scheme... The only thing that can be improved is copy-paste from ob-eval.el It might be better to split the compile-mode code into separate function and reuse it. > Let me know if I'm missing anything so this can be merged. It is correct to report errors this way, right? Should be. Did you have a chance run the code for some time locally while actively playing around with scheme? Best, Ihor