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 QAi9MYdGd2PyFgAAbAwnHQ (envelope-from ) for ; Fri, 18 Nov 2022 09:47:03 +0100 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 AJTlMIdGd2OkkAAAG6o9tA (envelope-from ) for ; Fri, 18 Nov 2022 09:47:03 +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 96F3EED76 for ; Fri, 18 Nov 2022 09:47:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovx1D-0007Od-2F; Fri, 18 Nov 2022 03:46:39 -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 ) id 1ovx1A-0007NV-Uq for emacs-orgmode@gnu.org; Fri, 18 Nov 2022 03:46:38 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovx19-0000zs-8U for emacs-orgmode@gnu.org; Fri, 18 Nov 2022 03:46:36 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 71EBD240027 for ; Fri, 18 Nov 2022 09:46:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1668761193; bh=ectp/e7lOiasF86JOf06uOUrNeoQuLEnFEqslptWfQA=; h=From:To:Cc:Subject:Date:From; b=drE80T4w3A5mzmxMaPV353hGeZjhXg1Yc+W1pQFmkbLwUCML7n+HhOR7FJI1WfJYP xeFZWUIgAMoGIkCPLHFs6JpjccDPyXOeW3GVP/hs3TGwuyrHKM02MTJoNSvtP9934I XBW7pNdAxlOzYSXGlsscGwp6loRiMsgcYwBLvjEFf+mofxeQwFYTwFWZvJd5QwIFOZ vudijUYqrvlacCEBKX/8MAyGTxv9VPfJEZ2Fi2xKmlVb1XZlZ9E6KhqCKpNQKsl87I 5i0oxJVo9zvcPEROhadHQfT/DvYYtMsG1hWxzzP2Klu2ZexbpkRKaq8S7efPeWwx86 9zuE3V6+oQmCg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ND9PK6Wmjz9rxQ; Fri, 18 Nov 2022 09:46:29 +0100 (CET) From: Ihor Radchenko To: Alice Liquori Cc: emacs-orgmode@gnu.org Subject: Re: Bash blocks with :session pollute results with 'org_babel_sh_prompt>' In-Reply-To: References: Date: Fri, 18 Nov 2022 08:47:13 +0000 Message-ID: <87k03sk5ta.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de 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_DNSWL_NONE=-0.0001, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: 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=1668761223; 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=6gmg7FiphyeJv571LTuRV+nDf2l6IDUoInMbz4m5bPs=; b=bPhb+Lv7MgzknFBYgKO520Qso2zu8gxuMyo5ETN8Z3td4+9GfODX2jmPkSbYbWAabzPwzD A+F2buIDkWsMuL+VCxP+UEsz2+e9CRDvcBiLJH2j962RwQMiQ0esIBKPvshJuh1a+bEDaE e5Jl+HLsZ3kwNBn4FAImUaIYcWifaqpLkeVKwq72+mY6CVPwQX9ZIIABbRNQzdimto6gzN QfR4MUjchpJDJFKQlgEJUigRUAOXe+YZByuN6uwKU4Fm/cVgdiqC+rtaerbWklqyMiDGC4 Nhhcsbd08++FHclFwqT5VfuJYCvBgeOANHeoOHjhO2l4RSgmfjCwNfb9oPfdCg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668761223; a=rsa-sha256; cv=none; b=M5El4eBD58eZZ4TswVEprRxlI6Owm932inPiEudfH0meKCStLi4B3dbk3ie0IusPeX+A3R ddxDo0AB43xwyVhPJIxzLHwNm8dKjzJqRwoXKiGE8QadcM+cyDUAf/Py/Ln+CFkhaI7epQ Ihb17YbUE61ceIJ1W6yxJKaEDfKk+6RmFCgAX3wIxQACpIVyXG4Wrq8G2lHDP0bWDWtY2O SER2WMT0A2p5uql1JDQDG7mP3nzU8J9zhaU5joBNzER0T2AmMxACxJX4yIAo6qcsW39TPg XMN6Gje54DiK7JkJhHWKvKUPUgxT8mjYSepmxpr7BTUjiEqKilUjTdvaQIg5Yg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=drE80T4w; dmarc=pass (policy=none) header.from=posteo.net; 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.02 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=drE80T4w; dmarc=pass (policy=none) header.from=posteo.net; 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: 96F3EED76 X-Spam-Score: -2.02 X-Migadu-Scanner: scn1.migadu.com X-TUID: na10QJ60+01F Alice Liquori writes: > I ran into an issue with bash blocks that use a session where > 'org_babel_sh_prompt> ' is strewn throughout the output. For large blocks > the intended output can be completely buried. Here is an example. > > #+begin_src bash :session test :results output > echo "hello" > #+end_src > > #+RESULTS: > : org_babel_sh_prompt> org_babel_sh_prompt> org_babel_sh_prompt> > org_babel_sh_prompt> hello Thanks for reporting! Please, update Org. This has been fixed on the latest main. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at