From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ALZRJVPFHGT/SgEASxT56A (envelope-from ) for ; Thu, 23 Mar 2023 22:32:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eE10JVPFHGRN7QAA9RJhRA (envelope-from ) for ; Thu, 23 Mar 2023 22:32: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 6FEC428BA7 for ; Thu, 23 Mar 2023 22:32:03 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mailfence.com header.s=20210208-e7xh header.b=bAG91TAT; 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=quarantine) header.from=mailfence.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679607123; 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=qSomF3fAK24JaoFTs2MXg1Q5uAy+nVrrnfGCRoZAsmY=; b=aJfy+M8lMQqA0O2p+/ibqhkPReiKZGfdIo4oSACfJy3pGNxyikwozyrMh8PVo5dUwYaae+ /2i7Pre2mhk8J8qMI+vVa0XCQxiYE8ZuxC+JjvyaxX4vGRoEagiZxed2fTsGt2o7fJjPwT BKVkFwYMpszjQPIV3/3cglyNtt56HA+5NpWly9nRSpIRgrn2EPyaic5kOFRxga6XYfnb2f mO/hsRlZDQejjJyuykvVKr8t+5G0SIKng2Vb4F1xDC4lwYzO453ASCi8enECkOcPSY9Nhf 7wBhKhnzfxAxmAR2LOBd/2X7CwC8uEtsfkakDiVahEq2igbyvEKp4COiS/zhgg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679607123; a=rsa-sha256; cv=none; b=uNBI+8a89K4XCSDCycbfjBXnTFgH77w2070i5IparR/tMUAGLKGWcH/mCsmESm6QK1dYaH 3FOChwmveq30BhpcLoKO3GS8Hxpu8zQt+/gDW159T6SK57FlxO9kxF/cfRoW2gtyAjkFGd CMkHl/N4mZSICrMfDebQz7sOX0TwAUPl7N3Gn2a06l9gbFfGuIAsaBeXgTh6EZDacpt5Rm oFsWjvJdEnL5C6PgChQZH4ZPvncUwZ0Yg7aA1qU6+I3F/qXDBWyJgLTZi/LMb1XeejCOVH ahinp3lCdzmw0uQWNdBrHEH+7A+GCUOToJ6J2qgyKfV0mHHwJX+uYscgPrux9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mailfence.com header.s=20210208-e7xh header.b=bAG91TAT; 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=quarantine) header.from=mailfence.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfSWi-0000nV-DS; Thu, 23 Mar 2023 17:31:16 -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 1pfSWf-0000kn-R9 for emacs-orgmode@gnu.org; Thu, 23 Mar 2023 17:31:15 -0400 Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pfSWa-0003eH-Eu for emacs-orgmode@gnu.org; Thu, 23 Mar 2023 17:31:13 -0400 Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id 7993ED49; Thu, 23 Mar 2023 22:31:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1679607064; s=20210208-e7xh; d=mailfence.com; i=pareto.optimal@mailfence.com; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=643; bh=qSomF3fAK24JaoFTs2MXg1Q5uAy+nVrrnfGCRoZAsmY=; b=bAG91TATR0hsCxMc7ICtUldp44kz9BIP3tkN8A7LA+tSCQNEeeAUpk/ggh1+EfOR car/gcF3Ek6n7IOY2WJ6DwONYh2wVzf/Op+vGq2Yaxp9O4V8tQYdbhFIKeXwkHsLUZ4 gupIZsHNvJAH8ZB85y/UU8wNdM7EexgpNBpwOFQ7kAnnwfutQuvVwYBLA/DfUnzZ6+p EZcZGAP0oSI01oIpl2rt6YMZIjHfXskj2qc5+NEsQ6SKmyphasI1r6df/gCnlDgUuEJ JA4kPy15mCabMm0NN0n94VlSYbmT+LjwagX0jbZbY92vcr3xpxmwrcouUXiKeHSmRgz /ds5SKlO7Q== Received: by smtp.mailfence.com with ESMTPSA ; Thu, 23 Mar 2023 22:31:01 +0100 (CET) From: ParetoOptimalDev To: Ihor Radchenko Cc: Bruno Barbier , emacs-orgmode@gnu.org Subject: Re: [PATCH] Add tests for ob-haskell (GHCi) In-Reply-To: <87a603rxm6.fsf@mailfence.com> (ParetoOptimalDev's message of "Thu, 23 Mar 2023 16:01:05 -0500") References: <6416d214.5d0a0220.d9c1.54aa@mx.google.com> <87pm8zah6c.fsf@localhost> <87a603rxm6.fsf@mailfence.com> Date: Thu, 23 Mar 2023 16:30:57 -0500 Message-ID: <87pm8zqhny.fsf@mailfence.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ContactOffice-Account: com:311504211 Received-SPF: pass client-ip=212.3.242.97; envelope-from=pareto.optimal@mailfence.com; helo=mailout-l3b-97.contactoffice.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, RCVD_IN_DNSWL_LOW=-0.7, 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: X-Migadu-Queue-Id: 6FEC428BA7 X-Spam-Score: -12.38 X-Migadu-Spam-Score: -12.38 X-Migadu-Scanner: scn0.migadu.com 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 X-TUID: 9Hmot1MKyQiI I forgot to mention you can also set the prompt as well to something simple like `:set prompt "> "`. > Ihor Radchenko writes: > >> Part of the problem is that haskell-mode appears to use non-standard >> prompt: >> >> 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: > > GHCi, version 9.0.2: https://www.haskell.org/ghc/ :? for help > ghci> ghci> :set prompt-cont "" > ghci> :{ > let { x =3D 2 > ; y =3D 3 > } > in x*y > :} > 6 > ghci>=20