From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id i/8OBK+JSWFQ/QAAgWs5BA (envelope-from ) for ; Tue, 21 Sep 2021 09:28:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wIrPOq6JSWEDbQAA1q6Kng (envelope-from ) for ; Tue, 21 Sep 2021 07:28:46 +0000 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 475911C19A for ; Tue, 21 Sep 2021 09:28:46 +0200 (CEST) Received: from localhost ([::1]:56170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSaCq-0005QX-M7 for larch@yhetil.org; Tue, 21 Sep 2021 03:28:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSaCA-0005Pq-UQ for emacs-orgmode@gnu.org; Tue, 21 Sep 2021 03:28:02 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:46592) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSaC8-00068K-P3 for emacs-orgmode@gnu.org; Tue, 21 Sep 2021 03:28:02 -0400 Received: by mail-wr1-x433.google.com with SMTP id t7so3056814wrw.13 for ; Tue, 21 Sep 2021 00:28:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=QId1Ln+gZLxBA18m/qD6IHctUsaGErAy4AzsBe7RbPs=; b=KEDKxpbjpVHjZvousxXEpdrHTvWeZ7q0COFOX9UKeCkJLgTCRSezpmjatBsAsekuyq HkZ2gLabdQ1fuU/XwNJGuSLJITBauBnoYKslDfak+nTzzImIAepqMFH30y6JRKsAXeDj OerGMS6PwWVGAWDUzuJ3CxRqspbxuZytTeZgLcO7Gnthj44W2EAYWvx7l+pEbEdW8bhv d5tZqyqKSJyqlccY3HMQ7mTgX4a2uqUCBn4e/9pRwg2cL7xloHdczEU+icOi5k2o7VvA PZeDl+i+Vj4UO5fLZcJu71vzAZ+clDKCcpD06H+Uht3ps6aPRC/wEg7cm1tHBKdP9Yrn WFaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=QId1Ln+gZLxBA18m/qD6IHctUsaGErAy4AzsBe7RbPs=; b=bGl9rdGouks5EpBdU66rjkFpcdv3MkIUxbt8v+EdPkvTbvZzJV9vzVKIJidSFkot9l iCDn1PEfGSlG7ibD3Js0KMTfUAm9CyqDsaNAaFxHl3CWm8GkFnlSdwFzAJJHyt8WZCBF Ayy556+uptvU3cWWKr7DEtXQZfI3prGUu8qnQJ4kQB05yw8jk2QgiIAPzAaCIgzZYPPP yI2eSlnW+aslBFWE1Qymv8aYU6vzX7gqZTac98j84Nc+E8h7hQNP6cE+YN77WgBB+AyT EtqMD0FeowEWRF+wzAC/mBMSk1GiBFHXMTPBio14JPnhbBD9IAOWfSGBppXbEYAtPZkj hk4g== X-Gm-Message-State: AOAM531m0L01su9zTf9L9u150Li2SDyay+keciejoZx2QJOnxbxRAvpR 4r+V4QyQ+e8cQGQFO74kNg== X-Google-Smtp-Source: ABdhPJw/+JkalVbwCNJjf0Z+T4S9Qbm9jfuAZ+XNhn9FWuQdRoraJbaZ4ZRvuHuZRHWf6doDWBTOVw== X-Received: by 2002:a7b:cd0d:: with SMTP id f13mr2930337wmj.183.1632209279123; Tue, 21 Sep 2021 00:27:59 -0700 (PDT) Received: from localhost (070-207.dynamic.dsl.fonira.net. [178.251.70.207]) by smtp.gmail.com with ESMTPSA id w14sm18205281wro.8.2021.09.21.00.27.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Sep 2021 00:27:58 -0700 (PDT) References: <87fsty7750.fsf@gmail.com> <87k0jaiejs.fsf@localhost> User-agent: mu4e 1.6.6; emacs 27.2 From: Dominik Schrempf To: Ihor Radchenko Subject: Re: Org lint and Haskell source code blocks Date: Tue, 21 Sep 2021 09:27:34 +0200 In-reply-to: <87k0jaiejs.fsf@localhost> Message-ID: <87ee9iie0y.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=dominik.schrempf@gmail.com; helo=mail-wr1-x433.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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Emacs Org Mode Mailing List Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632209326; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QId1Ln+gZLxBA18m/qD6IHctUsaGErAy4AzsBe7RbPs=; b=Vf2imRVVL/+BzfjrTtBIwJ/3hMqZI+sBTtTzE5+hsys+Tisj6QXIiwl6NIRIEw54A203BH Sk2vJPvghtjUYYp/ifWtKrYR9QJnQgI3Xt/Uz6OSUbeX0VbFZXYvTZdoWCFSceDs3nNrL+ 7DUVF9/oLicOvpYV5Y+q3/m0nGma9ZyYtLnEkMZYwQv5grxP+kRSKhMeVHFArRJCLx9R/2 JnokRMEP7yrj+nVv+vc1o3IzOlg35CDuR5nFFXBrGsYU1wXodoj6oKByy0f5nWZS8QeaqM 2gXxIHHiHaepKG1OTXwrrvXIipY+pNQLfhAyE5oehxEKeykK5WhWZDAT1IEZhw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632209326; a=rsa-sha256; cv=none; b=Yoy9ej0aGp5vz8jfZhZvyVG8rZ9gyKJ6TKNWWWp875KQdQJQcDVUUGNVzWh/LttR5xaipx YK7kl451xf3Wdl/eabh+loMv70IrVVcYDuXPijNZKjCzZgs+vpFnJn0/vSFB/13nsXTE3R ZxO+Mw5o6pIY3qn+zkURIUYqcA950z3K0L1IZHIV1gFauW+/g68+gPr8F/tQT/4ELeoeW9 Q6QLafjJxcwiUgGeTB0004cAGmJsBenfwWj2RbsXGhciBwiMSZm98T7B6sCvNNQ/YWGaQs ZOGuE5eHX76Zah9ZuZjVSTM7oX0YEGwCP4XLR6yDLD8Wv4ANNieIlOMBZ/ew7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KEDKxpbj; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.09 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KEDKxpbj; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 475911C19A X-Spam-Score: -3.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: uGgkEHEjSoOg Thank you, org-lint works just fine after applying your patch! Ihor Radchenko writes: > Dominik Schrempf writes: > >> whenever I have a Haskell source code block in my Org mode file, and I execute >> =org-lint=, I get the following error: > > Confirmed. > > Can you try with the attached patch? > > Best, > Ihor > > [2. text/x-diff; 0001-Fix-org-babel-header-args-haskell-not-being-an-alist.patch] > From f640249d08a14bfde417c38274634b88c789d1c7 Mon Sep 17 00:00:00 2001 > Message-Id: > From: Ihor Radchenko > Date: Tue, 21 Sep 2021 15:10:45 +0800 > Subject: [PATCH] Fix org-babel-header-args:haskell not being an alist > > * lisp/ob-haskell.el (org-babel-header-args:haskell): The old value of > the variable was not argument alist, as expected by Org babel code. > > Fixes https://orgmode.org/list/87fsty7750.fsf@gmail.com > --- > lisp/ob-haskell.el | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lisp/ob-haskell.el b/lisp/ob-haskell.el > index a6f0e55f7..971e1ce6a 100644 > --- a/lisp/ob-haskell.el > +++ b/lisp/ob-haskell.el > @@ -70,7 +70,7 @@ (defcustom org-babel-haskell-compiler "ghc" > :package-version '(Org "9.4") > :type 'string) > > -(defconst org-babel-header-args:haskell '(compile . :any) > +(defconst org-babel-header-args:haskell '((compile . :any)) > "Haskell-specific header arguments.") > > (defun org-babel-haskell-execute (body params)