From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AKnkOgdZw2GTVgEAgWs5BA (envelope-from ) for ; Wed, 22 Dec 2021 17:57:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iJavNgdZw2F2JgAAB5/wlQ (envelope-from ) for ; Wed, 22 Dec 2021 16:57:43 +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 B5EC82963 for ; Wed, 22 Dec 2021 17:57:43 +0100 (CET) Received: from localhost ([::1]:57154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n04vu-0006mh-VL for larch@yhetil.org; Wed, 22 Dec 2021 11:57:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n04vL-0006kb-6l for emacs-orgmode@gnu.org; Wed, 22 Dec 2021 11:57:07 -0500 Received: from confino.investici.org ([212.103.72.250]:48915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n04vI-0007Cp-Ek for emacs-orgmode@gnu.org; Wed, 22 Dec 2021 11:57:06 -0500 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4JJzxw0p83z111J; Wed, 22 Dec 2021 16:56:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mortemale.org; s=stigmate; t=1640192212; bh=QVEtdf3r7efQuBdn/4Z9sLTzDF2zCUjaRuP7uv30W7w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kp6JfwHggYoduSngw0BT1wvCS1KKIfqxS8/EJiqo1AMQ/LOzDIyfuQUDnCVNXDVww QUiM4/PL3rpwslJXBiQft/tQWABCxyDF5zzCg+36rqAxk8Du7rxV+W3rzib8LPG4Il C4RdJ4ZcQtxvTrKeu0Or/y9S2ObF16J3lqVtoZRU= Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: felipelema@mortemale.org) by localhost (Postfix) with ESMTPSA id 4JJzxv35qQz110h; Wed, 22 Dec 2021 16:56:51 +0000 (UTC) From: Felipe Lema To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: Report error in scheme evaluation Date: Wed, 22 Dec 2021 13:56:47 -0300 Message-ID: <2537130.I8pqSgbtkj@felipe-thinkpad-x200> In-Reply-To: <87sfuksn9y.fsf@localhost> References: <4237997.1UI0SyaRfJ@felipe-thinkpad-x200> <87sfuksn9y.fsf@localhost> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: pass client-ip=212.103.72.250; envelope-from=felipelema@mortemale.org; helo=confino.investici.org 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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-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" 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=1640192263; 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=QVEtdf3r7efQuBdn/4Z9sLTzDF2zCUjaRuP7uv30W7w=; b=mEgKxP0feQe9bOvamGPCP8yrgOaQOOsLUhHkKeAkBHBWkC2BOQ/D4VO+lw1djkF5rkKojF 14mDZug3UA1fyq8Il13sVidSMWGGKurlr3+XF5hUOq/BeNIjitkBVSodX0OXBay1igIoXU y8TyoSRBQPapNWmwbABrPE9mLnOMzTM6t0nb88oZZH2klO6AH3hC+DNsPVRTsujiz+PeL+ VX13cJczXyNiUK8kfOwmQWdkEuKNjyTHu+oIHt8HvHOXK+HMT59JbWlj6da2yf6aP4L/dk XX8OCcVFRaQmaFXq9j8nSiEnhAVDPeKXirOn1SVG7e1QH5A1+k0fuoGTLd+wRQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640192263; a=rsa-sha256; cv=none; b=edKxY83kFj76pONEo9pye6pAy6/MqRmaGOCnjEtuUA0ZjZuWpNGFjGh9FOmD7OKh9iCSep USv6hZAsnSjjIRTQCpelT2U+cn2f+O7IB3ZOK9NJbGS+2qyOBuLLQDbQ3sGGfTqWmg6rql 7sqiYyYFXV71GnlwAg9gy9KLr6n82VgrfLcibMmlZQXmKf0KAK6ZWYCeJ7VCFzSdG2IulX 7bTHBsWGB6tUblS8DNOj6Hy+zVlOVKpAQbKCYFT4iVvjKLzrMJNKmEKupsuXSmzyhY/sL1 Zxc8kqf2TYLZfNrULLUlLIwAZiU0OWuobScETAD92ahyWglBCDgW3v55fEHvsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mortemale.org header.s=stigmate header.b=kp6JfwHg; dmarc=pass (policy=reject) header.from=mortemale.org; 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: -4.74 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mortemale.org header.s=stigmate header.b=kp6JfwHg; dmarc=pass (policy=reject) header.from=mortemale.org; 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: B5EC82963 X-Spam-Score: -4.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: Xr74hc/7AgVj On Wednesday, 22 December 2021 11.54.33 -03 Ihor Radchenko wrote: > 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. I can do that in a separate patch after this one is merged. > > > 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? yup. Seems to work as I expected > > Best, > Ihor > Thanks Felipe