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 sAtzMCmNSWEhBAEAgWs5BA (envelope-from ) for ; Tue, 21 Sep 2021 09:43:37 +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 cOUjLCmNSWEvYQAAB5/wlQ (envelope-from ) for ; Tue, 21 Sep 2021 07:43:37 +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 4BEC0185C5 for ; Tue, 21 Sep 2021 09:43:37 +0200 (CEST) Received: from localhost ([::1]:34254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSaRE-0001vp-9b for larch@yhetil.org; Tue, 21 Sep 2021 03:43:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSaQA-0001ri-Kb for emacs-orgmode@gnu.org; Tue, 21 Sep 2021 03:42:30 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:44003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSaQ9-0001Vo-1X for emacs-orgmode@gnu.org; Tue, 21 Sep 2021 03:42:30 -0400 Received: by mail-wr1-x435.google.com with SMTP id w17so28276024wrv.10 for ; Tue, 21 Sep 2021 00:42:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version; bh=ajhAd1x55durZwt5jnT1A3ccjOOp+yQGxTLgMBxNg/0=; b=WksxiGN+hPk6OdGgbhXBMlZ5gYpMLuUnV+dFY4wQeGwbP3CzBc3Pvk0IcWsFaerJwY +Ae3YOM4dmTOxtpn0j1IjjXdFgL/4v80vycP8KX/jQ5U0WBScVaIFst7ntwFpebPgHH/ kP3iuQnux4qMbUDQ3ZJyhNACurYFhyRZPO8FewQSJVpZtqnfyErCMPLgDMEhMyvlQ4Oe Nt6q/+Lyaa6trgMBPBIUz+cK/bYYJ0mpIgdZxoUiB1xNdBs4tR+lmDx7+tFTL++V/uEC 9JlWpMIUkSXPY4vx+XJls6xdKLXXMxhh2TgMJad4wt2FrZTWUVWis/Pz66/huy3+ylOO iAqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=ajhAd1x55durZwt5jnT1A3ccjOOp+yQGxTLgMBxNg/0=; b=pNnJnnULhfD6MJ48NHv6C2r/afilgyqYmHHB7VX6BF1mIlGWtguemS90pP5du/pIQl YevFEBcQqmRVzIudkIbpnIeCm2Hbc7cqXJN/AgFGfa5MoLWjeCIf0woPRNzhdG8JzHaO L2IyIvLmSbGm0C/+ZlV3GEteQyw9dpRC5QsHYoYP7GAiI4ZxPgwXyv3cT8pl9KQ6xiyC 7nCd0ZxOzMYuoORksM/A0lVOgzZ3D7gPQf0JXcJOquvkkg9OjuaTmfm81VHgXJUfQOOy zP10v3Z9yqhuuSiEegQ5nic+BBNYDQCgrYtFDbHIRHE03pIeHoehUAT7tJspB/97H67I U/+w== X-Gm-Message-State: AOAM531ISDYuyFbENp+4nXRepyacv+BgMFo6f8RQWSb/CcRCvOv4MAJ+ uvq/3JQoz594RbhL9fbo11OjdXbIHXH3 X-Google-Smtp-Source: ABdhPJydAN2tQcuYoWel9oAFdd0oNEgbso3Pyn747LHtyHgE00G6STasrT0xNWgNyNKMLHc6RL/z8g== X-Received: by 2002:a5d:64e6:: with SMTP id g6mr17426578wri.151.1632210146634; Tue, 21 Sep 2021 00:42:26 -0700 (PDT) Received: from localhost (070-207.dynamic.dsl.fonira.net. [178.251.70.207]) by smtp.gmail.com with ESMTPSA id u5sm3615220wrg.57.2021.09.21.00.42.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Sep 2021 00:42:26 -0700 (PDT) User-agent: mu4e 1.6.6; emacs 27.2 From: Dominik Schrempf To: "Emacs Org Mode Mailing List" Subject: Org lint and named source blocks Date: Tue, 21 Sep 2021 09:39:17 +0200 Message-ID: <87h7ee5q8u.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=dominik.schrempf@gmail.com; helo=mail-wr1-x435.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: , 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=1632210217; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ajhAd1x55durZwt5jnT1A3ccjOOp+yQGxTLgMBxNg/0=; b=KUwTTikq0jfkpVi2+JXFtWLP3ZA1yZCXPhCLL0OSfCO8/qC6iRPdi5pyeUxQfAvEG1X2fu ejw4yv1FWNLgesJxggzXprtW74vEV4KNWGxxD+Fgtxdgyv7PyFh0R629jw2ODrlkVG75s+ /DrcSQ3eYv071yyN2jssy7xq4wDQf07PTITrUFVQFXvVjTeUBgFUBnS4kE1vXBq+aeGO4B eh+LdgnjdhKlRTCMiMUlKDVcDwo4jQw5o6cXOebHN0u/WJv1XhwFp3cHGvQrpWYgXhrmIi WiJj+ZopWbJND6abVCJ8t8mF4K2vjHtbod8paCmcWBO9Z2oa0aDH2Jraw2B03g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632210217; a=rsa-sha256; cv=none; b=fFPGfwmv3IYJ8QVHEgPfKqmpIfMRXnaUNtNVhuYPluCLE0S0UZAc+VnixJqOWWEzSHb71P kL3dD0L6bDvMPCKJSn9kUN3cfxKNKi3EjEo9hM3IllOE4W4pCGi/xmpZPQlnFT7Fsf3DcR XIRxR9ibgbOTWtJVc/L5GBJKcgV3F9NTCwauW/8/L6VR5gOUYiCJQBe3YS345As0u9ewAw nqZBsVJq062yElL3v+9cluW5BrGRjaqttfxefcke0k4rGZD1gB6iSKq8zcKyp+SwF5Qk9u rwnfOg18ZNoB83MEVoHGRk7NiW1BoTfLVcZP40xU8Uwoz7ign8HWZMj5fLWySw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WksxiGN+; 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=WksxiGN+; 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: 4BEC0185C5 X-Spam-Score: -3.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: rLfhr3xVPGgH Thank you for the Haskell fix! I found another issue (not a bug but could be handled better): Running =org-lint= on an Org file containing #+NAME:Hello #+BEGIN_SRC emacs-lisp :exports code #+END_SRC I get the following error: #+begin_quote Debugger entered--Lisp error: (search-failed "^[ \11]*#\\+[A-Za-z]+: +Hello *$") #+end_quote The code is faulty because there should be a space between #+NAME: and Hello, like so: #+NAME: Hello #+BEGIN_SRC emacs-lisp :exports code #+END_SRC However, this should probably be reported by =org-lint= as an Org syntax error, and not lead to an error when executing =org-lint=. What do you think? Thank you, Dominik