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 ms5.migadu.com with LMTPS id QDU3EpBmT2OuuwAAbAwnHQ (envelope-from ) for ; Wed, 19 Oct 2022 04:53:04 +0200 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 CI91EZBmT2NaKAAAG6o9tA (envelope-from ) for ; Wed, 19 Oct 2022 04:53:04 +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 03EB7340F0 for ; Wed, 19 Oct 2022 04:53:03 +0200 (CEST) Received: from localhost ([::1]:52836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okzCW-0006yk-VO for larch@yhetil.org; Tue, 18 Oct 2022 22:53:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okzBf-0006yK-Br for emacs-orgmode@gnu.org; Tue, 18 Oct 2022 22:52:07 -0400 Received: from mout02.posteo.de ([185.67.36.66]:36111) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okzBc-0002co-VK for emacs-orgmode@gnu.org; Tue, 18 Oct 2022 22:52:07 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 625B5240101 for ; Wed, 19 Oct 2022 04:51:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666147922; bh=bvppwVmpiPGUUgZeCmc/m5iYYEWQ0BRu7vcDsMmgha8=; h=From:To:Cc:Subject:Date:From; b=Qkc68MREy+tZ4pHvJgNRzkmUYbt8FYerjk07dUphLOWWn/JWFeYQHroyw6N1Fhf3P a7WjGLt/8Pl7HmKq8fe/ntN55Xx7BYA0OMinV+irxuxX21hDwxrGbG/RZi9yVmIO5Z ocOZcOkg0LEg2zN3zd0eFy/JxCRPyWIjv6NCKqIdMjA6BheLyU+K7hehpK0aHYIHtH g0FyGh2Uo9obkxYiMdgxPgZ6fFfuYzkFdNwg8/ARrqzxm0EbVD4MVY93hjBjMOY6Al Y0y8IvyuXxRLy2mHnFoJwrl5QjDOWJXIwIMEbJV/hH7/XJ5gxuZnzowEl5sNaoUmh2 0fuszCX8kgRFA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MsZy370KWz6tmd; Wed, 19 Oct 2022 04:51:55 +0200 (CEST) From: Ihor Radchenko To: "Thomas S. Dye" Cc: emacs-orgmode Subject: Re: Haskell code blocks In-Reply-To: <87a6gdaa9i.fsf@tsdye.online> References: <87a6gdaa9i.fsf@tsdye.online> Date: Wed, 19 Oct 2022 02:52:42 +0000 Message-ID: <87tu40cyo5.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.66; envelope-from=yantar92@posteo.net; helo=mout02.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, 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" 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=1666147983; 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=pAFKpof8j2e/XlkBUVA5kSzX2DhlypmWcnWToDCKdYQ=; b=R7OYa4nuGzSzD8bnKZECtFBx/wBm+klAlHLOmovjbHl0FBGAM16NHqduzRJGvMoXRKXsjB 85RGkHWQDBVPMrtSlihWtYfRm/+E2Yb+H5Cl+1dOzo27uIPpa9eyXfTvE1a9JmA01d+XjQ nFsSOqu3CG+U18M//gI6pV0QUK0v/dZU9ekQt+RhMjkeVThcnYwA10x9OCwDZKVsDP8y8f O9/kOyEF4bRgNRNnXpKTCHNkZQ/SOWEdfBgt6q17KNmFK2WKp5FTR8zAABtyx5OmsY1UTC FWTYi1Uq5sN27lJoWk4Y742EdqEVYF9a+3lamWg4FCoePi/1IgHlIZTHehhpoA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666147983; a=rsa-sha256; cv=none; b=Pe+g1ee0ksPLBRrfgu0ab0L6DsIpvY0ODq8pahjUylY/1eVuV6Lo/CN+LJ8hICSW5ke3/o Zuc8ytF9GTCZJR7DhXPRqvfTxOfIN8y/QI4rVoC0ItFtnnl8gGO221HE0Ht6DIWTfo9+CT COItANYORtdYKBBgsxD8danNWN47xCV6wbZ0LB1qiNB/nE4HE4TPT0S7kiqXMe+HBjlDrM /4RBpWI26fDogWl3QIQuPf17yNm5eslGvr9dyVK0/HhY3xFH2eC6dGSZH0NzfjrVYsq4M5 G7p6+HU5M6saL6OfcaF5X5DeHVcYNU3dfsUAC8eTNZ2qHrt4h4+iWCALB9rqWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Qkc68MRE; 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: -6.92 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Qkc68MRE; 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: 03EB7340F0 X-Spam-Score: -6.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: z3ElsGbx4KS2 "Thomas S. Dye" writes: > I'm struggling to write a minimal ob-doc-haskell.org for Worg. > > I installed Haskell via Spacemacs (development branch) and the=20 > Haskell installation appears to be functioning correctly. > > The obligatory Hello World! example yields bad results. > > #+name: haskell-hello-world > #+begin_src haskell=20 > main :: IO ()=20 > main =3D putStrLn "Hello, World!" > main > #+end_src > > #+RESULTS: haskell-hello-world > : Prelude> Hello, World! > > I'm guessing the "Prelude>" part of the output is the prompt from=20 > the interpreter. > > I found this in ob-haskell.el: > > (setq-local comint-prompt-regexp > (concat haskell-prompt-regexp "\\|^=CE=BB?>=20 > ")))) >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 > But I couldn't find a way to modify haskell-prompt-regexp without=20 > changing the source. > > Advice welcome. I guess you can report this as a bug in Haskell-mode? haskell-prompt-regexp is defined there. If absolutely necessary and if you want that _your_ Haskell prompt is different from Haskell-mode defaults, just setq haskell-prompt-regexp in your config. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at