From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id 2Ha0OIEItGPQ0gAAbAwnHQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 03 Jan 2023 11:50:42 +0100
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id SMqqOIEItGNk8gAAauVa8A
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 03 Jan 2023 11:50:41 +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 A87B41E963
	for <larch@yhetil.org>; Tue,  3 Jan 2023 11:50:41 +0100 (CET)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1pCerm-0006iS-Uj; Tue, 03 Jan 2023 05:49:58 -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 <yantar92@posteo.net>)
 id 1pCerh-0006gc-P3
 for emacs-orgmode@gnu.org; Tue, 03 Jan 2023 05:49:53 -0500
Received: from mout02.posteo.de ([185.67.36.66])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@posteo.net>)
 id 1pCerf-000243-Mh
 for emacs-orgmode@gnu.org; Tue, 03 Jan 2023 05:49:53 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 6E9D9240420
 for <emacs-orgmode@gnu.org>; Tue,  3 Jan 2023 11:49:48 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1672742988; bh=IarrchD6TOO7Idepe3EFrm5dS7pZxt6rQ+ZCvj3Y15Q=;
 h=From:To:Cc:Subject:Date:From;
 b=WbBlkL8UkZN4LsZhGC+d3XpWDYqGl6kZmOoncLw42WyDxeth3KdacMf2vYFmTVtWt
 wX8ZNTp5JN1BoJyPSIqw3QTtW3SL9BXLmt373rbAh83StvjBbIBIiSzWbpaMhrsEcP
 EjSEB8mRLSuoq3kiRU0MIFlWrzRTfZpd26CbdUfUYL6ku0Zoq2XkU4oT6SufD1mNQi
 oKdpiTvcprpJscR4GYH+pc1bzbK27kIu8tCbUlaX/7dT8yQuR/OhTv5zAqxHo2FpM6
 nUa6tL30xrVC9NXHexZLCEjxgIQZMFhYpOPFwPV865HyZvisdWbjTJkf3PsD23vSBX
 Zv0TzaDoNaEuw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4NmTyM5JF3z6tmN;
 Tue,  3 Jan 2023 11:49:47 +0100 (CET)
From: Ihor Radchenko <yantar92@posteo.net>
To: Matt <matt@excalamus.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: ob-shell intentions and paperwork (was Bash results broken?)
In-Reply-To: <185735abcf4.b0102402156950.2510703238208758946@excalamus.com>
References: <m2tu1v8gj8.fsf@me.com> <878rj7s0ti.fsf@localhost>
 <1853354beb4.fce54d8d902653.6359367327256505471@excalamus.com>
 <18555580d75.d7b471f9370716.1497263973038999899@excalamus.com>
 <87edsiv54k.fsf@localhost>
 <18561866f8c.f22a62b3866025.8634474263936272339@excalamus.com>
 <185645af285.f16730c9981316.8238066002530458068@excalamus.com>
 <87zgb38x0v.fsf@localhost>
 <1856fc2c9c4.d213558d30469.8133539665325553154@excalamus.com>
 <87a631mfoh.fsf@localhost>
 <185735abcf4.b0102402156950.2510703238208758946@excalamus.com>
Date: Tue, 03 Jan 2023 10:50:17 +0000
Message-ID: <875ydnki3a.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net;
 helo=mout02.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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.29
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=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-Seal: i=1; s=key1; d=yhetil.org; t=1672743041; a=rsa-sha256; cv=none;
	b=YjNxG8feYmiFH3kpThlllH6ObFbMGeqS23yGcpHmWLZ58cpJXRvK2JrtMTdjYtBABGOftc
	jKCUvT5uYsOv2KD5qXZ+BvnUHRD5PzqCy0pWJauElDmfRSprGGIeeLXuChXOuHfp/dlFAJ
	Znvc56efrWAmOZWwQOKihDyR2X3KnAVqDqK1Q27x1QE/pE5ryKeZnagki9Ch6mUdkzVw0W
	1hOTI2qRmpvyIcligbWCKkfOvaX5MPfAgncS2FabIUe9GWsh7NVAfESXaKAogQGT/FVJHS
	93jxZjwWmVVjVjwTLT5woB6xllB+BLEjov3isqH2zcs7ghgP1NIfwKzvAcp5ng==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=WbBlkL8U;
	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=pass (policy=none) header.from=posteo.net
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1672743041;
	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=pmeolcoDPJ3+sonFGpPj6POB7PWUCLmp0LsYMjbDnNE=;
	b=tsh3r0S6XHVnxWQiOoObdzORn8YZlGnTXkFK8mZ3yE3+1nsLdrCrlIJ5pBS9XMsIuC37IP
	ybPmqYIbzTU6ydmJc/n0PEdY/NcxCEVVgz7CcI0Ca7BhGU1u+3sw+QuYwej5f81oXULn6U
	PUpWzQeDw3vsTtOYDuwnptI8rfRlRRf3ukJ+Clv5G9Z3sI4mqvXP9KJYMnBBK8O363/kGW
	xACDsJzRuMd1HGNDDoU3xovzPDkscz/fZf4W1n7ZdFZVcDMiuIWCJq8Uj0g5MCvKEk57+t
	vW8nYVkWbrnlfflNiZfMhft8rE7UKmjeX0JFAGt1q+AJ//4FD2/0YLNJP1f5Tg==
X-Spam-Score: -11.60
X-Migadu-Queue-Id: A87B41E963
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=WbBlkL8U;
	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=pass (policy=none) header.from=posteo.net
X-Migadu-Scanner: scn0.migadu.com
X-Migadu-Spam-Score: -11.60
X-TUID: XLTpUWvxFO3v

Matt <matt@excalamus.com> writes:

>  ---- On Mon, 02 Jan 2023 04:47:10 -0500  Ihor Radchenko  wrote --- 
>  > They will not be reliable when tests are executed interactively.
>  > If the `should' condition fails, `kill-buffer' will never be executed
>  > leaving dirty state, especially for sessions.
>
> From my perspective, that's the point and a good thing.  That "dirty state" information may be crucial to understanding why the failure happened.

Fair point.

I was mostly worried about session states affecting subsequent test
invocations. But I do agree that it may be better to keep them.
Feel free to push upstream.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>