From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OPgiNN6GSWGi+QAAgWs5BA (envelope-from ) for ; Tue, 21 Sep 2021 09:16:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2Pu/L96GSWH2PAAAB5/wlQ (envelope-from ) for ; Tue, 21 Sep 2021 07:16: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 41D8617586 for ; Tue, 21 Sep 2021 09:16:46 +0200 (CEST) Received: from localhost ([::1]:34116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSa1F-0007Fl-8W for larch@yhetil.org; Tue, 21 Sep 2021 03:16:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSa03-0007Dd-Kx for emacs-orgmode@gnu.org; Tue, 21 Sep 2021 03:15:32 -0400 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:46653) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSZzz-0003jU-VC for emacs-orgmode@gnu.org; Tue, 21 Sep 2021 03:15:31 -0400 Received: by mail-pf1-x434.google.com with SMTP id 203so10756678pfy.13 for ; Tue, 21 Sep 2021 00:15:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=dxdTBPVCEgNroQnCqwQXsLgccUYZ14bymAvy7sxTyiU=; b=UQcz5pv5oL6Cp6ViCkHdzoEF9iNZpuscgKzk9uxBcCIfaYYGE/+IDlIYzvUXVCLzzo xK8jItHIfqjg0r+fSePKqMoAVS3nlVuayBkw4sqa65tTGF15FjD2GYWNtaWkvGufy1mG JEitCwo8OEQr8xwRGrVwYBBmzLcf8g84vNWKwA+xJhw4KDx/HpxWEFgstnV/8G6xzNdv 95S4StBQ0dr1BFHWQzpIzgSeolvjt42SfrOAwGs6Zz80HbNWE7Z5bt4PG0RDrMMG74Tf fPxe42t96Guovj2F+15a4pI2xn1bLrZ1VmGM8NOCJ5dL7dQoSSEoBjBfIKyAtIWYJ4lT u3xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=dxdTBPVCEgNroQnCqwQXsLgccUYZ14bymAvy7sxTyiU=; b=WbomoyRswxcJZEGWYfShFE7ewqNuQYud5WhPHMOqdVSghZrhfrbua5j0YDd7PxzQrZ Wcu/WW1Ej1z6eh0CkO8g4Ll+nKQcIcGaat66RJD+xQJ3AuKlgw5AQpDW2gfuR3D0au9l FA4EdFg6JnlO9PFYH4G+hLtpFpbIjy4u4IX3SALty1bsXkkrBjkJiDiHnEIgB4oAfRvj h87XIFY3x99fbFQIYkm5kMe4P6mQ5MYSVM7BBfH/WmRM3dvF+H0NjIqizDTjpKaHQvbk B6p7syUejeV2OFHpCxVd1piGYledWQ262BtuZfl/fcRIBZsQeDyp8HZ5iniDKc72dxla y+GA== X-Gm-Message-State: AOAM531HFXxO6UI3ucTKwYz46QQvxMnJMMhDZ90I2wMmvIk6MVmXuHix CxbD8n8jgbCe8kJ1F2QivA+4Md2zKHWXEHlR X-Google-Smtp-Source: ABdhPJxmcSuOpx+ks3ulNiQ25tHw2iZFxvS6jTM0SYf01Uj4+a/q3knJFzbSRQNS6Q60Qu2q06iKng== X-Received: by 2002:aa7:9af7:0:b0:43f:13cb:804a with SMTP id y23-20020aa79af7000000b0043f13cb804amr28885302pfp.7.1632208526313; Tue, 21 Sep 2021 00:15:26 -0700 (PDT) Received: from localhost ([50.7.251.66]) by smtp.gmail.com with ESMTPSA id cl16sm1588895pjb.23.2021.09.21.00.15.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Sep 2021 00:15:25 -0700 (PDT) From: Ihor Radchenko To: Dominik Schrempf Subject: Re: Org lint and Haskell source code blocks In-Reply-To: <87fsty7750.fsf@gmail.com> References: <87fsty7750.fsf@gmail.com> Date: Tue, 21 Sep 2021 15:16:39 +0800 Message-ID: <87k0jaiejs.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=yantar92@gmail.com; helo=mail-pf1-x434.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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=1632208606; 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=dxdTBPVCEgNroQnCqwQXsLgccUYZ14bymAvy7sxTyiU=; b=gRCMgj/98sF7q4SFClMpOJKQIl7zFlTYgHwClq5lXl/jIDIr1At28cG59koiA+U/0raGE8 Hk29N9VsJrJb8kx8leBgbFqTaLmNx6VUKEy/Cz6DrMaTLv9cHwLUZ6Aiimft1dF+7QRD23 V8zrLHAJZ9P235WEI7wdPKyVoSyOMPkeRSfo3ESkxgcObXDjEL6bgw24xnBN+m6M/cyekx UY0NVsnZ8Jv623A1e51zzTvl+BxrJnDWdoZW609T5WO/stsFFdD+mIj394TxRkaYUx2Hdy GanqsxH7wu+DlVQrRnimeVxOySy3LVxMCEO43yagCTl/40Ma0TvYFCpZKMN3cA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632208606; a=rsa-sha256; cv=none; b=LDdNYG1wPACJFtTWkUThYKCc/yFXuEyZ+M+4qd+lJGQsLmTns9FSoqlrFDNpwQiy+ypQmJ 8wk9UGaPefns+SWabeQtkLdZ7MOxPboz38XUo0wcroNr20fzUlp+ybS7b2jPeLwvnhgM49 2aLc/umXr+6LIlbJoaBNH13lYWhZDwH0a0l40YNY0BZFeZ1/UqChitGjx2w+5ryJ7SRzUZ GIwKCkYCXKyeeNBkOrViiBpRY/HMDdMkDtvBIkN9X1CADejRqxI4eZ4awmoV/cbgOyeOUx TRslx1ULv7ZBQuVD5cUOAJxYVyraUju/VBtDbqn06QeamBQWLDWZxumZ1PMT8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UQcz5pv5; 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: -2.59 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UQcz5pv5; 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: 41D8617586 X-Spam-Score: -2.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: j2mU/D1eUJiM --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=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) -- 2.32.0 --=-=-=--