From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0BaVBlu+HGQePQEASxT56A (envelope-from ) for ; Thu, 23 Mar 2023 22:02:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oEN6Blu+HGS3UAEAauVa8A (envelope-from ) for ; Thu, 23 Mar 2023 22:02:19 +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 B68F8FFE9 for ; Thu, 23 Mar 2023 22:02:18 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mailfence.com header.s=20210208-e7xh header.b=1DK21Tth; 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=1679605338; 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=NSX9lN9tvo1VhuPBF3Un6dMel621aOhahbkQkyvsrgA=; b=MJwJeZ/1ocqkKEqI8r0j9svq94ZTqZyIyVW2fngjKfeprybCNKLchht5rGCJ/JKQ/GyACp QwGdzpPyFm8dkVHJBc+lTd/03fatewCy+AD3+Soit3Gu+rnO0B0uX4oglmALKKKbz4Xkp6 x/HYCw8kumC3MHLMQ/mQXFDbqD34QLig3tnme+wItbFYWM4sTfcQUYCYUiAtpLk9+j78GN 75YDciRgui/DWiCnz1sk7GkDtoqGU+itEmXBmmQwd+vP6s7Ej4iLJvIVbDOF5ggdpz8sIK hvofUFMmgi94buIYadlwEhLF6w2EWBFdA3QdGIDqO73TU0h4qSeJBh36msb7cQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679605338; a=rsa-sha256; cv=none; b=NUfpo+hrGLKZMOi+tBM7MRD8POxEouLbJzt7fVi/zfVBejcdHGaVaK590WHtZ9/ogYbKZo E6JRU4eZSdvurFh1VB827XseOnIdP64dj614YuHk+ld/gqUPfqwMbnENZwaOB6eI27qWAG BzcVPOCfytSeAIgwtESIhydxaY5rQ+mu9L91v6ixz0opbEBNc2nXw+6S8+9lDiGHmwI01X 1AmlL1hHkf8CIyEjt/sr7sg03u1vYano7n+0dOqyfPlPv8FAZZCTbkMEw8b9z1LIKleB6C 6R0ZoBZCr7nKY6w+P015FcSHcgY1AJiIb7LtYi3sBd0zkV8oc1L3Aps697qa0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mailfence.com header.s=20210208-e7xh header.b=1DK21Tth; 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 1pfS3l-0008LD-PL; Thu, 23 Mar 2023 17:01:21 -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 1pfS3k-0008L5-Ku for emacs-orgmode@gnu.org; Thu, 23 Mar 2023 17:01:20 -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 1pfS3i-0003GH-FK for emacs-orgmode@gnu.org; Thu, 23 Mar 2023 17:01:20 -0400 Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id 3FF36E64; Thu, 23 Mar 2023 22:01:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1679605272; 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=502; bh=NSX9lN9tvo1VhuPBF3Un6dMel621aOhahbkQkyvsrgA=; b=1DK21TthBhM4H1ZHGJ4gHpeZxYru0O9wq7Lw9YOwiceO3Hz1/5CjRBH2xUAkfV+z H5cD0FGKKOVYlEtdwbDXFcO9vAQWl+SwOUHrDEyYtgz3PypgM5OpNSKAvjQOSzlwUUJ GLgFHFyJfRSQP/hnrQ4E26qRqmSePJVz391r7xE2APquF7OAsRWsosQCLIkw1qj0V1X GYCumnFwOvHkdOWzXPRJzfDOdYbRqImqSBBrXGHpdqjLho8dwzLX50e4stt5bbfJTVT Y/PzHXdK+kPCX8nR0JNol5rmf9XhCrKyoUVNd8cfIKqTusiq901F5///8irysjCY4++ O5UnfFXNmA== Received: by smtp.mailfence.com with ESMTPSA ; Thu, 23 Mar 2023 22:01:08 +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: <87pm8zah6c.fsf@localhost> (Ihor Radchenko's message of "Thu, 23 Mar 2023 10:35:55 +0000") References: <6416d214.5d0a0220.d9c1.54aa@mx.google.com> <87pm8zah6c.fsf@localhost> Date: Thu, 23 Mar 2023 16:01:05 -0500 Message-ID: <87a603rxm6.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: B68F8FFE9 X-Spam-Score: -12.36 X-Migadu-Spam-Score: -12.36 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: gRy2yTPYesn2 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