From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iKDTDYrDHWTPNwEASxT56A (envelope-from ) for ; Fri, 24 Mar 2023 16:36:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6JbYDIrDHWQPbgEAG6o9tA (envelope-from ) for ; Fri, 24 Mar 2023 16:36:42 +0100 Received: from lists.gnu.org (unknown [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 03996A488 for ; Fri, 24 Mar 2023 16:36:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfeqR-0001Zt-1Z; Fri, 24 Mar 2023 06:40:27 -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 1pfeqH-0001Xz-IK for emacs-orgmode@gnu.org; Fri, 24 Mar 2023 06:40:23 -0400 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 1pfeq3-00069u-6u for emacs-orgmode@gnu.org; Fri, 24 Mar 2023 06:40:17 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C0814240396 for ; Fri, 24 Mar 2023 11:38:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1679654328; bh=BI3WvGoD0YnZaXGHBfMRPxzzZaqrxFNeNCrHGKKpAKQ=; h=From:To:Cc:Subject:Date:From; b=fxyLpRfsY5dHQ08wlHAJWd34LKmwoKgbKZTbVghQb6tFtzR+XCkYxaaRxD7WdQLDA MDA7ygfriilHwewVYlRLtGuWd87vXJ98LOnKqlalPiIZ9R1w4kcTdKw6/0f9KWGFwa pyRpK2CH7uDSl704TylEJKln4sZud2iqFsaGkV8aXULw+bSu8KM4l13zQ4M2l+nksc OFQm8ItMC1sKsiUF0a8Dac8JezZv55UAQPqQOAij+c5PnZR3kG14MlkLwyi+SqXiNV e2haOZWkeGwMqiACZMvtaMl7QjUWGAGsGBI6lr4XMX6y9htEhjJi/jHSl4Pcypbl3J IUTdQ18L0x6nA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PjdwN1tjdz9rxN; Fri, 24 Mar 2023 11:38:28 +0100 (CET) From: Ihor Radchenko To: ParetoOptimalDev Cc: Bruno Barbier , emacs-orgmode@gnu.org Subject: Re: [PATCH] Add tests for ob-haskell (GHCi) In-Reply-To: <87a603rxm6.fsf@mailfence.com> References: <6416d214.5d0a0220.d9c1.54aa@mx.google.com> <87pm8zah6c.fsf@localhost> <87a603rxm6.fsf@mailfence.com> Date: Fri, 24 Mar 2023 10:40:30 +0000 Message-ID: <87o7oixwip.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=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." 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679672202; a=rsa-sha256; cv=none; b=jWFpBzN8UE0CViPFD//j/LJAdn8XHKJNg940+pxVKgcQXVxH+gDmoQsrzsiCxf7pu04DSs xeXT7hJKgtpK8HpRl/OGcthrlZQP+1O6rAxP6MW6WRnGqs8ke9mfCp/W70pxFbHNWB2Wqr 2o+54GlKA22zXdLdrIeVOlsRwWBoAFKcbcuK5DQsnz2/s/8JYvC3oMDXDD6QjPee+aR/0b EZHgOgglT54b15jjIegr6mZsEsPeMpW9L8DdDd+ZeV+DvJwgquMt65ZayU9kcWd9BrNScA iV4EcKp9sgqsKZRaDr2hEciOaJiVDHr4/nY3J3kB7bWJG7xUrMM8D8h3+mwCSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=fxyLpRfs; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679672202; 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=BI3WvGoD0YnZaXGHBfMRPxzzZaqrxFNeNCrHGKKpAKQ=; b=Y4ShJMJfRZQzPNShrxeviRm0jOb5NPqa3u2ZIj2v8DmkrmmjdQiFjhLEDN5npiX4RfUmAZ V14rZgZH9OSIeQUDGG37hFjGdOzsWQ/o+YW7zu40sHUegBARFp85C8XKpCAwMJfl7ygUJ5 EWCFGM8DfeWkZwTKOFrXYLcFMRC5qxPOBgNfAqG+MT4mRhK+O9oe96JUDKg50wPQ7FLrFo BHNl+twmLZ3ldkjQ+66sbT8UCr8F1dPUKqtCqrxtVyQw15zdp9XrDKxm/Ww5lRt1SXIE5x W8HqjkXxuJBYNgv1VQ0j15+C5sqlMFsM1uaFo3yxDH5pkVEQQ1j3yaZNQv1jqw== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=fxyLpRfs; 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-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.75 X-Spam-Score: -3.75 X-Migadu-Queue-Id: 03996A488 X-TUID: nwlnJbKv92fW ParetoOptimalDev writes: >> comint-prompt-regexp: ^[[:alnum:].*_() |=CE=BB]*> \|^=CE=BB?> >> Output: ghci| ghci| ghci| ghci| ghci| 6 >> >> Note "|". > > You can fix this by sending `set :prompt-cont ""`. Here is a > demonstration: I think you meant `:set prompt-cont ""`. It is a good idea, thanks! We use similar approach in ob-shell. Note that setting the prompt to non-"", makes little sense - we want to remove it anyway. Why do extra work? --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at