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 kHG1IHYlWGN9agEAbAwnHQ (envelope-from ) for ; Tue, 25 Oct 2022 20:05:42 +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 eCfIH3YlWGNuoQAAG6o9tA (envelope-from ) for ; Tue, 25 Oct 2022 20:05:42 +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 EBD963AA39 for ; Tue, 25 Oct 2022 20:05:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onOEz-00065Y-65; Tue, 25 Oct 2022 14:01:29 -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 1onOEg-0005wj-Aj for emacs-orgmode@gnu.org; Tue, 25 Oct 2022 14:01:20 -0400 Received: from smtp6-g21.free.fr ([212.27.42.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onOEd-0005qr-Hw for emacs-orgmode@gnu.org; Tue, 25 Oct 2022 14:01:09 -0400 Received: from tosh-laptop (unknown [IPv6:2a01:e0a:505:3460:1a16:a0c4:3f89:c0d9]) by smtp6-g21.free.fr (Postfix) with ESMTPS id CEE67780393; Tue, 25 Oct 2022 20:01:01 +0200 (CEST) Received: by tosh-laptop (sSMTP sendmail emulation); Tue, 25 Oct 2022 20:06:22 +0200 From: Bruno Barbier To: Dominik Schrempf , Emacs Org Mode Mailing List Subject: Re: Org Haskell code blocks In-Reply-To: <87ilk8szv4.fsf@gmail.com> References: <87r0ywvtqp.fsf@gmail.com> <87ilk8szv4.fsf@gmail.com> Date: Tue, 25 Oct 2022 20:06:22 +0200 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: softfail client-ip=212.27.42.6; envelope-from=brubar.cs@gmail.com; helo=smtp6-g21.free.fr X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, MISSING_MID=0.497, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action Message-Id: 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: , Sender: "Emacs-orgmode" Errors-To: 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=1666721142; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=mDhFXZR+HZvWPVatNCeO9Wzuls1nGdDjtAAK9ggtfgQ=; b=mn3l+vDufPJxb1XsYSjZil+mXzQs2tqp2iujW9JyH/y9z8JIBtbHHePjxqxIxZdf3AZqWd LbupEdXcgEuvcuDsCdEpd5G8yqcUqQUxEt+f1U1AN2IzJ7GLZp52qEK04qQZNahQbpP+Rj ObAd63+v9W/VeZLOXBNM//i7A67DpkfFCqFLZ1+Vz5EUk+EFfwupoHuB/EzpfUV/6Vg2cJ vR53CMAd+lApXAqMnQWShbDkVwZ3c4CWHPG40PXJIZsJjvsgH5P0eWyU4WdMlVnMXgukwR u4eQeDQjm5X5TI673Q0a/bLRIKOLJ56LU4p57auWARXQOGP9Lqafe1M8AFNcUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666721142; a=rsa-sha256; cv=none; b=YupiHm+fq8Z78BW9/8DfvnfAKMb9aWErF16LBOldMdtpzr3nNe/64/cW0i/QCL9gZecNN+ naB80DxXDujhuTj0PM9Xt2DfLA58cHsPww985Ua5SUVVvSJ1Ve9yoF+t6krzKQwzAziFEo cgWDhnmOWvnLdIKYPmYjqLfFpjTIXsTGpaVzBNI2SNJySwapukgQQTvaMxY7MBa3YkSMTn GmdlmPe4VOSniN9Bp8FtIjy5cth1xORvDaTdG7MXEO7DOo2EIuvk8bivZYjIyFokZz+txs EhHP3sZE+x8GQpa83noN4r7y1pcMu2E3omnvnFxkjzfcbb3Ci+UP5HYBQ96iqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); 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.29 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); 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: EBD963AA39 X-Spam-Score: 2.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: OX68rYazj63J Hi, Dominik Schrempf writes: > ... > However, the result output is still scrambled (e.g., empty > lines, unnecessary "ghci>" prompts in results) > For me, ghci is selected by default. Here is the config I've used to test it: | emacs-version | 28.1 | | org-version | 9.5.2 | | haskell-process-type | auto | | org-babel-script-escape | | Here is my simple test: #+begin_src haskell 1+2 #+end_src #+RESULTS: : 3 The variable 'org-babel-script-escape' doesn't exist in the version that I'm using. And, the prompt is not "ghci>" but the current module name. Which version of org are you using ? Could you try with a recent version and provide a minimal complete example using a minimal configuration ? (see the org mode manual (info "(org)Feedback")). Thanks, Bruno