From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aOjKNLb5V2M9fAEAbAwnHQ (envelope-from ) for ; Tue, 25 Oct 2022 16:59:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kIHnM7b5V2NDXQAAG6o9tA (envelope-from ) for ; Tue, 25 Oct 2022 16:59:02 +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 8A40428DF1 for ; Tue, 25 Oct 2022 16:59:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onLKU-0004l9-5x; Tue, 25 Oct 2022 10:54:58 -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 1onLKM-0003j6-GE for emacs-orgmode@gnu.org; Tue, 25 Oct 2022 10:54:54 -0400 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onLKK-0000Jr-HI for emacs-orgmode@gnu.org; Tue, 25 Oct 2022 10:54:49 -0400 Received: by mail-ej1-x62f.google.com with SMTP id fy4so13190922ejc.5 for ; Tue, 25 Oct 2022 07:54:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:user-agent:from:to:cc:subject:date:message-id:reply-to; bh=kSMfOmdJZ3pBPpv3SxxKM9jHpgAlV9to8TrjEVWT15g=; b=aLBfkyY4DRQHs/qR6CnUG18C1OEmYV29IKqzXCoCzB9BhSfKDodx5hExkaCP5fqiZn tTztoxkJmE5ElZwVaYv1xzJfsRIHzdl0hg2PbSQG4JX3U5FP1Gr2yAZh8S0LZ7AtelPM qzttkfqPsdzWa60WAHCqF1DmhLamvgKOQVQxx6eQadNJQxNg1xmI8mDpVSH4VEinrovl p+u0D9s+7BX2aqHVFK6fMEjiVpboKdCkafbuY6x3mKcOB/xYliitALW22O+3f/TWJfb9 yAIa/3aPXoz+kVN9c/Nxp3uKe7qc8kVw87CY0vZnHhVzXELzn9wUXsQAXG0nwORPZp0K BDwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:user-agent:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kSMfOmdJZ3pBPpv3SxxKM9jHpgAlV9to8TrjEVWT15g=; b=lnntz42LiDG8pJq2ZDkJq8uUe9bAY8JVd5pKKctavpxn4M8/yD5M3O5H5KH2clgnF/ ajS/GziVx6TUNQ9et5grrGeKOt7Sb89vCj8bHTeDOKTnROJ8bh7LAFNmUOtbl8HghPFT kKXV9bjjoXNIzoJ706jcxUrWmqiuibW5AQyXWKWw8xDGKzeUlURBkjENyJqg02eL+GMx K2DJ+JWS5BrJ3GOjlrCtsI4Em0fjNiLeOHF+0utwFVSUy30z0+mPBi33TH2bRFlPgiKG rnsvfCB9dAtRRNjkGSnds7ejii0o0jeLeNBywychtlRt+5C1NPzIXTd/2mxum8ZuJLfp GXeQ== X-Gm-Message-State: ACrzQf19RVAzHF6dMgh0oq/6gnwa+zAOe3Mym6xClikszi6jqy1hn2z2 F+fzIKHlw+ldkkEG2CCQhtCRqxOdp2XFn0Q= X-Google-Smtp-Source: AMsMyM5yJTwYIXNl0s0OvuEbFXHGuVpehlMuQK1YxRmIA5PpILJbupKanEzeW7INbsKhGvU9FplELQ== X-Received: by 2002:a17:907:a065:b0:78d:c5dd:45cf with SMTP id ia5-20020a170907a06500b0078dc5dd45cfmr33720954ejc.117.1666709679812; Tue, 25 Oct 2022 07:54:39 -0700 (PDT) Received: from localhost (94-21-158-133.pool.digikabel.hu. [94.21.158.133]) by smtp.gmail.com with ESMTPSA id c2-20020a17090618a200b0079dbf06d558sm1499875ejf.184.2022.10.25.07.54.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Oct 2022 07:54:39 -0700 (PDT) User-agent: mu4e 1.8.10; emacs 28.2 From: Dominik Schrempf To: "Emacs Org Mode Mailing List" Subject: Org Haskell code blocks Date: Tue, 25 Oct 2022 16:47:01 +0200 Message-ID: <87r0ywvtqp.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=dominik.schrempf@gmail.com; helo=mail-ej1-x62f.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , 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=1666709942; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=kSMfOmdJZ3pBPpv3SxxKM9jHpgAlV9to8TrjEVWT15g=; b=SmD03ednxDz2NidkZjfbVUxMQQOtgiTettPJrtyuS7y0j3+Ar1iV+wA0GB7ZxDq6UvjbWe 6J4C0C8O7mx4xRj8qzN37F533S6iEFXe2yeJSu8mJSBgoiUiI4dD2tOUJ6LQC9WBjO1i4I gyoPEEqdY3/5TxOHcw7K+W1ZzPBOirugW+3Ek3A5qvtD+pCxNAUIv5OOUxOmBOkqjje+cf VFGkcis37qyxdWEhcTNtXHpd1gIInIaAbLqJJUz6b5Vtygvke4ZmbrI3SYF9C7repw4wCf 43Fy5gXnC05oZZ+00bPRJg7UIzaaf6rmP/gjjXJnwgjRxqH+6f49K8V6jrWfLg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666709942; a=rsa-sha256; cv=none; b=WtWsriYttH5WLfwDQvuz8eHXacHElDFt23Xm6q7UnFFc+Yhhtg+iGdn3bBX+st12ANRdHX sZU3LjJD1CcQjppvGifG8PgJ8GWey/4W2t9V0/qrVW4KMFtAUI952Q/wdngLRVqKzr9nFx rC6hgSTyEQcQPQDKQm3/FAmBq7E6WHF3KG28qmCqJxePAVDa9vkCiMixqwwRZSQaOCaCse 3vJNCTh5IvvviGOMnNeuijgI+7YyzpWesSdf8p69SiCtYq+pe63TWWmmTXzfSzzEtMy6Xz a8tcfrmIi+rD1V/diJ6FmZ/AmjZYlbucdxDFRK4rlPUUPeo8LDud98e0zOFF0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aLBfkyY4; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.91 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aLBfkyY4; dmarc=pass (policy=none) header.from=gmail.com; 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: 8A40428DF1 X-Spam-Score: -3.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: lBNvh3JaJqBM Hello, I have trouble using Haskell code blocks in Org Mode. 1. I need to use the following Org Mode file header: #+property: :header-args:haskell: :prologue ":{\n" :epilogue ":}\n" #+begin_src haskell :exports none :results none :set prompt-cont "" #+end_src Otherwise, the results of Haskell code blocks are scrambled. 2. I need to set `haskell-process-type' to `ghci'. The default interpreter `cabal-repl' does not find any external modules (even core modules included with GHC). However, I get the error message "org-babel-script-escape: =E2=80=98org-babel-script-escape=E2=80=99 expects a string", when executing= the first code block which starts the interpreter. Seemingly, the error has no effect because everything works fine. 3. I have to set `org-edit-src-content-indentation` to 0, and always put the source code to text column 0, otherwise syntax highlighting does not work. Do others have the same problems? If so, have there been discussions about how to improve this situation? Thank you for your help! Dominik