From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QANMAnjEU2MyFwAAbAwnHQ (envelope-from ) for ; Sat, 22 Oct 2022 12:22:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kInuAXjEU2PpBQAAG6o9tA (envelope-from ) for ; Sat, 22 Oct 2022 12:22:48 +0200 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 7226E91B9 for ; Sat, 22 Oct 2022 12:22:47 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omB43-0002Wp-1V; Sat, 22 Oct 2022 05:45:12 -0400 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 1omB3y-0002WY-Jv for emacs-orgmode@gnu.org; Sat, 22 Oct 2022 05:45:06 -0400 Received: from mr85p00im-ztdg06011201.me.com ([17.58.23.181]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omB3x-000640-3o for emacs-orgmode@gnu.org; Sat, 22 Oct 2022 05:45:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1666431900; bh=/Af92uONIuKX2Nm85vNFhFkrTngfgH29o3P/poiA+x8=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=xTj4Rzn42waYpZ6ps71GicARuhMdAGAE4ZaEIaYaLCu6YxGRPigafPPv8OPN64yfe 7pD8xkD7WMnsUkGiFKHIYxGzx3z+xLmY5vBcPNDFWMansCvyB97BSMg2U8tYZSHw/2 tCgT4bF39/nkgXrve9M3VMhFyRwj/xVRW6NkCAsHlbThS1KPfa7DX1rucDyoDmE8xS Lo1rNQ6Iw3fuXGP57nER658SvpZkC50pSURiPP5rWEKXfX/L/ziBnAOVVrQOZOQGWV bG+0yjW3Q2UISJW192+OwMqzL9e9mtAMEjmKv8zVVgAe+DwtNlPvGLbk3mOf/0h+ES 85FbT0pVLYunw== Received: from Rudolfs-MacBook-Air.local (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06011201.me.com (Postfix) with ESMTPSA id 1CD6896055F; Sat, 22 Oct 2022 09:44:58 +0000 (UTC) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Ihor Radchenko Cc: Ihor Radchenko , emacs-orgmode@gnu.org Subject: Re: Org 9.6-pre and Bash sessions In-Reply-To: <87o7u432tl.fsf@localhost> References: <87edvbysqc.fsf@localhost> <87r0z6j1b1.fsf@localhost> <87pmel68y6.fsf@localhost> <87o7u432tl.fsf@localhost> Date: Sat, 22 Oct 2022 11:44:55 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: F511j_7i3oTGHFjU0gEJiszU9K1mjwhz X-Proofpoint-ORIG-GUID: F511j_7i3oTGHFjU0gEJiszU9K1mjwhz X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.572,17.0.605.474.0000000_definitions?= =?UTF-8?Q?=3D2022-01-14=5F01:2022-01-14=5F01,2020-02-14=5F11,2020-01-23?= =?UTF-8?Q?=5F02_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 malwarescore=0 suspectscore=0 clxscore=1015 mlxscore=0 phishscore=0 spamscore=0 bulkscore=0 mlxlogscore=860 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210220060 Received-SPF: pass client-ip=17.58.23.181; envelope-from=salutis@me.com; helo=mr85p00im-ztdg06011201.me.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org 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=1666434167; 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=/Af92uONIuKX2Nm85vNFhFkrTngfgH29o3P/poiA+x8=; b=TyIF1LpcGqTJDSHMsWxn3v5FITcO5j+kOIN9cpKMYx0QBgGcLY4gvOoDaAAl0TG6dPxYgx 51+KNfL02xmrT2fi5SJ9YZX0m+nhRRJ1vaTOtHV+spontfDqtOe63ciBgBLfltpjdur8yy jBe16mKZGnAZc8eAzwekUsBCngY9Ld4DWCKOqeIUs2t7x3sBwJ3Y+4BeEEeq8KXnhzwlik qp9+zcu6KYocv8zVLPfNA4rZbqylo2JgN2N9LxrEET0y91IsxpScdQZ/zpxhKyFlMXfzxy 1/IuCfopU/0DiRZyBSTKDi+AEy/oWZUCssSF1Vj3vu9GsWcghlpANBiNfHw4nQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666434167; a=rsa-sha256; cv=none; b=qIuSRGyOs/b5npbC1GIn9ozpc0Yge23/TWPJASVJUzm/rrWtIJ6wM09MojEFvoinQE5mON YZERlGpH7NVVMOIUnykWZE7WNxeZ0IfkqfuJImd1dF8V9cUvEzjFiXO6nT9nsPcNnzeSBF EDVeYRXeewN7vwdAZ00KnR4UhRc2UJ0AG2DeuTtewBt8IHYkDJqgKWyMNIS42GKxpxMZzf PeOhZ28n1qZUXZhWERk9D/Fl+GdQ+MfJVN1nTniUJZ7S+fCNqBYYq8CNXhtQpA9uwgQ5uJ qEFXq3/ukLmnmsyIAmkb4TlhySjXBLnq8btPCKC8R8dfTMTBt4P7/hJ5zDp6BQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=xTj4Rzn4; dmarc=pass (policy=quarantine) header.from=me.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: -2.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=xTj4Rzn4; dmarc=pass (policy=quarantine) header.from=me.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: 7226E91B9 X-Spam-Score: -2.54 X-Migadu-Scanner: scn1.migadu.com X-TUID: 71h9e34RBcp1 Ihor Radchenko writes: >> I did some testing and found no issues. Update: Today I needed to run some Bash, and it seems broken. PROBLEM 1: WITHOUT A SESSION =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D CONFIGURATION: Emacs 29, Org from Git (2f5e7103e59f06631e985d3dd39af21b5b7464ea) REPRODUCTION STEPS: Run the following code block: =20=20 #+begin_src bash :results output echo one > one.txt echo two > two.txt diff one.txt two.txt #+end_src =20=20 ACTUAL RESULTS: =20=20 #+RESULTS: =20=20 EXPECTED RESULTS: =20=20 #+RESULTS: : 1c1 : < one : --- : > two PROBLEM 2: WITH A SESSION =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D CONFIGURATION: Emacs 29, Org from Git (2f5e7103e59f06631e985d3dd39af21b5b7464ea) REPRODUCTION STEPS: #+begin_src bash :session bash :results output echo one > one.txt echo two > two.txt diff one.txt two.txt #+end_src ACTUAL: =20=20 #+RESULTS: : org_babel_sh_prompt> 1c1 : < one : --- : > two =20=20 EXPECTED: =20=20 #+RESULTS: : 1c1 : < one : --- : > two ADDENDUM =3D=3D=3D=3D=3D=3D=3D=3D A friend of mine, who uses Org that comes with Emacs 28.1 on Linux, tried the PROBLEM 1 source block shown above, the one *without* a session, and he got no results either. (We might need better tests.) Rudy --=20 "One can begin to reason only when a clear picture has been formed in the imagination." -- Walter Warwick Sawyer, Mathematician's Delight, 1943 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia