From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iM8aLqsrSGMg9QAAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 17:15:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2DIrLqsrSGMP0QAAauVa8A (envelope-from ) for ; Thu, 13 Oct 2022 17:15:55 +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 7FC213FD47 for ; Thu, 13 Oct 2022 17:15:55 +0200 (CEST) Received: from localhost ([::1]:42400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oizw9-000382-2f for larch@yhetil.org; Thu, 13 Oct 2022 11:15:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oizv0-00037i-5d for emacs-orgmode@gnu.org; Thu, 13 Oct 2022 11:14:42 -0400 Received: from ci74p00im-qukt09082501.me.com ([17.57.156.14]:49785) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oizuu-0001O2-Ua for emacs-orgmode@gnu.org; Thu, 13 Oct 2022 11:14:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1665674071; bh=oMP/PvbXR5UWZSYDwu/AakrRdjFAGXVKEvv60N7QFhk=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=DEfVx8xfHlaMxu5KkhK5lKAfDvn5DwLOOM4p/J5EF9YRL4qIY9UJE1ZELvfeRe6uS akU+mfxvlBH5vbedmktvVf8vDy5mi8Gf84qRy7EYH/WI+0rhHQIgYzRoC0k43/f5IX izu86T5Vto3on9xV2x3I7b2NQzDM2VwqAMukN4mNXb7IgtGJw5dNNQdCdyBheyNjKE lIMTA5rTPppOa03hfnhf8b+czuyyK0r7JFYv2ZSeiI1WudLoCd+jH+fexkNeoatqkW WeeVXC/bFr4iERKRdVkrlObL8eHYaG3kpx9gOOrTTEIqTs9lvPp8oHv0ljXpF/3rrL IdckITIwWl2aw== Received: from Rudolfs-MacBook-Air.local (ci77p00im-dlb-asmtp-mailmevip.me.com [17.57.156.26]) by ci74p00im-qukt09082501.me.com (Postfix) with ESMTPSA id D01034AA0362 for ; Thu, 13 Oct 2022 15:14:30 +0000 (UTC) From: =?utf-8?Q?Rudolf_Adamkovi=C4=8D?= To: emacs-orgmode@gnu.org Subject: Org 9.6-pre and Bash sessions Date: Thu, 13 Oct 2022 17:14:02 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: 024N7Ab7uC8Ngpmt72RXXfXvYp6Qszcu X-Proofpoint-GUID: 024N7Ab7uC8Ngpmt72RXXfXvYp6Qszcu X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.138,18.0.572,17.11.62.513.0000000_definitions?= =?UTF-8?Q?=3D2020-02-14=5F11:2020-02-14=5F02,2020-02-14=5F11,2021-12-02?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 adultscore=0 mlxlogscore=713 clxscore=1015 phishscore=0 malwarescore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210130089 Received-SPF: pass client-ip=17.57.156.14; envelope-from=salutis@me.com; helo=ci74p00im-qukt09082501.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, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 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=1665674155; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=oMP/PvbXR5UWZSYDwu/AakrRdjFAGXVKEvv60N7QFhk=; b=Vr2CPqG/WPIEXHEFBG1LsXtM48oXU+FSTQLMz1Z9LJy4EkPvff686w/xgQXVMMWfNHwaHS WHFLTlem9lCL+ODR+KbhuNftNpmPf8V04VzHOd38yEuFtX7NcV6A1Fk+IhfJhhm92VpZdI Uo0JdwFs9uHB66CRbQKv2moZwPd4SCJ+U3l9tDFtLYf4tZ7u03GOZRy0AvpDofDqkLdi2g na7yzXcJ+Puaj/o+gzqlKbNQgOvjgUzFNlF/gtE8PwOWu1piaA5OjuYUF/WngBtVboEkif 65LqlyYbO257fYxAtH1vaiVBBMMrcDrNkxp2saulI+9Ke8ZcyF3bpQ0YNIrClA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665674155; a=rsa-sha256; cv=none; b=BiUinvn0Q6SdlxNtFRo71wSt8QCEU0Lh3IjUo55IMtbPwFFQr65rfG3CLFF3Gk5lwifI/C B0icPDg2T+6CVET5HZNbZVpWForgbEfknYtncj2x081QR6mmytG61ELS+zDm/LSEwUn5v2 7SVbPKuwwx4V7a7BntJYqk4w4cESWhvMc1Lms7O4DKnUi3wDRGANcF+wgLI8XEFIAwU3Ab Ot9bEscB76KP3DdljwN6sz65yuq1HozeBj7A7uqijIC7l1BNRzhdrU/EADgCaEtqrEUCLF Pjs28pFNcSLPFDqhqGdUK8Iry2vbMAYPa4KRFDQHA6gyboJil+C7RIcer7/vFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=DEfVx8xf; 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: -8.20 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=DEfVx8xf; 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: 7FC213FD47 X-Spam-Score: -8.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: JKekOIObpk73 Hello there! I noticed today that Bash source blocks with ':session" does not seem to work with Org 9.6-pre (3e8648775). Does anyone else have the problem? CONFIGURATION FILE: ------------------ > (setq-default org-use-extra-keys t) > (with-eval-after-load 'org > (add-to-list 'org-babel-load-languages '(shell . t)) > ;; The weirdest API ever. > (org-babel-do-load-languages > 'org-babel-load-languages > org-babel-load-languages)) TEST FILE: --------- > * Something >=20 > 1. Something >=20 > #+begin_src bash :session test :results output > if true > then > echo "hello" > fi > #+end_src REPRODUCTION STEPS: ------------------ Execute the source block with C-c C-c. Expected: Block executes with the result "hello". Actual: Emacs says "Executing Bash unknown at position 22..." and freezes. =20=20 (C-g unfreezes Emacs.) NOTES: ----- When I remove the leading whitespace ... > * Something >=20 > 1. Something >=20 > #+begin_src bash :session test :results output > if true > then > echo "hello" > fi > #+end_src ... then Emacs still freezes, but at least the message makes sense, saying "Bash code block" instead of "Bash unknown". Rudy --=20 "Simplicity is complexity resolved." -- Constantin Br=C3=A2ncu=C8=99i, 1876-1957 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia