From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mJ/9FfxCG2HQGQEAgWs5BA (envelope-from ) for ; Tue, 17 Aug 2021 07:02:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GDC1EfxCG2HjIwAA1q6Kng (envelope-from ) for ; Tue, 17 Aug 2021 05:02:52 +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 709CB20A73 for ; Tue, 17 Aug 2021 07:02:51 +0200 (CEST) Received: from localhost ([::1]:40356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFrFR-0000hz-1E for larch@yhetil.org; Tue, 17 Aug 2021 01:02:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFrF3-0000hd-KV for emacs-orgmode@gnu.org; Tue, 17 Aug 2021 01:02:25 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([18.216.144.57]:41664 helo=quiver-mabon.relay-egress.a.mail.umich.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFrEz-0003o5-Bb for emacs-orgmode@gnu.org; Tue, 17 Aug 2021 01:02:25 -0400 Received: from included-kasha.authn-relay.a.mail.umich.edu (ip-10-0-73-146.us-east-2.compute.internal [10.0.73.146]) by quiver-mabon.relay-egress.a.mail.umich.edu with ESMTPS id 611B42DA.2A543.2B4A0D2D.1976925; Tue, 17 Aug 2021 01:02:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1629176537; bh=7nMo0PsQhJ4McCRWmHtd4N1dTkSesIOnuuSVpg7kDjI=; h=From:To:cc:Subject:In-reply-to:Date; b=KR3bFrKH2SoZWjJXK2W7B6iCXzxAcja6FbhrSol+MeRQmaXWg8A0wCD0yXAMcdZBQ fAqA40ifZ9s+4U+fE4IYjFOdM3QepxoDBXcMSBAqHkO5w0815qjAguUH0a/BRBCIlZ tjtheDffmO3/Hwsd3JNXK88kFW3KnEeApIpWcg+GBWzXM6Hz50Nxtw+nYo5Ol8K8sM r0WmOEVn81U20a3SlZKUvxQYGEcA5Ecz2lCWpiG10KruatW5kEhcPWraLSbhSBi8tp fQLIoxns+8nKaWP6U45KN5Iw1B10Iec/l//+TN/B9dFK7oU96g+8caucEVEUB8pJiu tRcFTmH9CjqUg== Received: from localhost (Mismatch [78.176.116.178]) by included-kasha.authn-relay.a.mail.umich.edu with ESMTPSA id 611B42D8.5C2B7.53F62B03.44704; Tue, 17 Aug 2021 01:02:17 -0400 From: Greg Minshall To: "Berry, Charles" Subject: Re: Bug: :session results in unfriendly error reporting In-reply-to: Your message of "Mon, 16 Aug 2021 18:25:37 +0000." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1755617.1629176532.1@apollo2.minshall.org> Date: Tue, 17 Aug 2021 08:02:12 +0300 Message-ID: <1755618.1629176532@apollo2.minshall.org> Received-SPF: pass client-ip=18.216.144.57; envelope-from=minshall@umich.edu; helo=quiver-mabon.relay-egress.a.mail.umich.edu 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, SPF_HELO_NONE=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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Powell , emacs-org list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629176572; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=7nMo0PsQhJ4McCRWmHtd4N1dTkSesIOnuuSVpg7kDjI=; b=p6UxPxDtHDc1UWE3PUB8JltaBIHEEWD8auPLwxY55EPamIWbPg4yHDwskOcvQy1h9b7AfK DKOvGBC+EvG13Xbdn1/hbnygrYiMicGWPoXlpaIAu5ZrDdWtWDUatHzsOmKrLqTvGOaGjr qcHP7av2BJxZ84ZYMs9D/kZKLKAJr8ozd0GKTtgp51IKvcHp8jeB7zRWawKXOiCNlFLnsL SNLDNYmxbbqE+4o2/iyBo70C/WTnL52Zmy1EuvUwTeHuiUA9Vh2mD/4NFk2oKPku2uNTSa Yoc9oLh2+El0fA7GwnCWSiA+WkyGkHlkevAOMA2yjX888gYnWeupR9vprWZtmA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629176572; a=rsa-sha256; cv=none; b=kxmpAyY5yXB+QRbWc3HS3ja2UOk+F4w5EapepY17B7NhQVapjb3W+zXwSygCiPZ6GbLx47 cRhR+pg8zNyR1jsRKjaQyX+kuGZESepXyMC6qRxFkJ8S0ISV9ABeox+HpUdlfSZwXoJc8W IgiJZ9ka3zDVGzMQmLrtCMnDeLGke3HAimEW15gLIHueHzkQZfsPHYqF6HFwmTyK57XzPJ C7p3HZCqAG/B83ghV3AFNvd3YGks3ZhXkQ0qSKvO8Fm+htk5opEfVfU/r+KfYTKGoNqlNP KIeuuhpBhGSD5kDaE/95Zv/aRfqxXHq46LZJgi3diC9R5g4SzgZX6sNB85GJug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=KR3bFrKH; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=KR3bFrKH; dmarc=pass (policy=none) header.from=umich.edu; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 709CB20A73 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2w9V1Sth9cAw Charles, being sympathetic with the idea of better error reporting, i'm curious about the following. > Right. But there is no error as far as babel is concerned. R has > handled the condition. So there is nothing for babel to see/do. ... > Running R in this fashion starts a fresh process which signals an > error that babel can handle. I see no easy way to get sessions to > sends signals that babel can process. what is going on here? is the issue that in the no-session case, the R process exits with a non-zero exit code, and that is how "babel" picks up on it? i put "babel" in quotes ("\"babel\"" :) above, because, in my simple mind, babel isn't just the main bit that runs inside org/emacs, but also some glue bits that run in the various languages' environments. things like initializing variables, and harvesting results. so, might one not argue that checking execution status, in a session environment, could also be part of babel? cheers, Greg