From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2CsSIVacWmFU3AAAgWs5BA (envelope-from ) for ; Mon, 04 Oct 2021 08:16:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6JqhHFacWmGiEAAAbx9fmQ (envelope-from ) for ; Mon, 04 Oct 2021 06:16:54 +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 34B92D2A6 for ; Mon, 4 Oct 2021 08:16:53 +0200 (CEST) Received: from localhost ([::1]:41618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXHHQ-0004Cx-KD for larch@yhetil.org; Mon, 04 Oct 2021 02:16:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXHFn-0004Ak-BT for emacs-orgmode@gnu.org; Mon, 04 Oct 2021 02:15:12 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:39448) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXHFm-0000tF-1a for emacs-orgmode@gnu.org; Mon, 04 Oct 2021 02:15:11 -0400 Received: by mail-lf1-x12f.google.com with SMTP id n8so11549120lfk.6 for ; Sun, 03 Oct 2021 23:15:08 -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=UZgPxcDGZ+zFXf8mqkq9DmQWlW3a7eC2NQawfnCFqpI=; b=QvaNffGjd2tRpWNEJjNl+vO7bpRYYwBjUuKF8+ez2o0JOUJycbUSGKG2CURdq1mnDl aDgTQRNJpu4NAm/XJhRM8NwoF2Okf4bETauokYJOUvQ2ZQlimhHDfIBarFM1jIwPTJ6I kA/dYHLqq20UAQCf3GjONoZofLF4ZCBifW7ur8vpD/X2tm8o25RiheX4LkaAoAKhpHjS PDP0kgd7HDWxzYyJbILlQOPzUjiEpMGoOUS8aH7+X9JOv6W846tmfvo9ua7uqLN/dSHt tZVUOUkP1tZupi6gWCjBkE0seK7OcoytC1CepkvJmD04ag2OJP/aTKf67fBwTezASSWh mQ9Q== 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=UZgPxcDGZ+zFXf8mqkq9DmQWlW3a7eC2NQawfnCFqpI=; b=mBpy06u/jNmnFXMMQ7PE8kGGWTajGJ1ZWBO6oaYvY7+4lLGB3i+0sgM5BreuHK3rdO mo8C0CghJsAPjhcbZBanlRbMZdTJLrCMb2iQBaeuInJXFyZ8ZNRF6biDIyplMIz8cvO/ wAzbOAGO9oiASz6m2HmN+9Ma5/k+GNnvbKcsTCii5VM7D8D9pugpk0zTtO1ss/NXQ2bP E+BwHO/BznhJ2cMQeZg6vCt4Z7v+gKuRtLOJXW/nph4XBn870b01DQOu51x7LXQ8g6ND ajSu+EkYd8oPFXLtC+8fNJlwiRuNUsjDxpRwq8AXnjPk+MbdJ70UcQaQlQ+jAtIpQ6zE kodA== X-Gm-Message-State: AOAM5317V+/1HR/O7YwDCbP1lmY6QH6LKsUdyrl3TDlrRZ8wERgwGm/Y DD/eo19JCVYoIB6Y0YD1Ux0= X-Google-Smtp-Source: ABdhPJyg3wZs8POx17dMDgmM7pgwQMRc27B1+1k7nkhKpSaiDQF5tNIbpo/x6HeFPCK6WaXzDGr+UA== X-Received: by 2002:a05:6512:2611:: with SMTP id bt17mr12402111lfb.189.1633328106562; Sun, 03 Oct 2021 23:15:06 -0700 (PDT) Received: from localhost ([158.255.2.9]) by smtp.gmail.com with ESMTPSA id m14sm804949ljp.12.2021.10.03.23.15.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Oct 2021 23:15:06 -0700 (PDT) From: Ihor Radchenko To: Dominik Schrempf Subject: Re: Org lint and named source blocks In-Reply-To: <87o88mqd6o.fsf@localhost> References: <87h7ee5q8u.fsf@gmail.com> <87o88mqd6o.fsf@localhost> Date: Mon, 04 Oct 2021 14:16:21 +0800 Message-ID: <87czolco22.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=yantar92@gmail.com; helo=mail-lf1-x12f.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=1633328214; 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=UZgPxcDGZ+zFXf8mqkq9DmQWlW3a7eC2NQawfnCFqpI=; b=XoUD4TOyQThX3rhNIYr33OFTn0Bscb2N/uRmVCTp4WWvbWBHchaj1fXOmVfMttn6XSzwv2 aphBtTb7lvo4/b3K1YKHuf6WzCXH0m9gt6gOUvUL0KuNQQv8UALL5RZ3HE8Q3r14y7Zhym jaRXAO8+le2vWmJXj5OWB4Y7m6bZGkQm8pDpymzHLORaMwTLualxXM8/o/vKAVpoPpDrE8 aRHQbKGmb2Gdw1hKYsdTapaZYn9le9SirpsElg8cfEVzOqvUhf+pETau1gAQTeJ0T5Gg/k jCVNFW4VC0s2ZvWeQW0dwLIZW5VUcdNZJn+GhRgExZbBePX62KEufxtgGWelYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633328214; a=rsa-sha256; cv=none; b=Qu6ORbu/zTq0caJephBBp0fcwj43Xeg/1drYWm8OyM8gnbCUDsx7zqEhUKgqW/80a/HH2A WvHgJM2ONaOXqTsfnrLAZRUSDMYsfh7XQOtl6X9te4arsBKYPmD9kbbNzOItRDQcrGHhq9 oxh99xNfyIn+sL8pQ1MDFcGDQHqaRgGWdCHUaWiof9KWwGSFkOZs64UknYDKQv4S4UXnLg 12tpfqQHtTTPmYASGkJ4S1OKIIMi8VgjVBjsQAHCjTG4Ihy6I1osDcmVs6A51urChscO1w RYTQxe5jzLr30PAf0QNv4tYhjp6FxOf8a34DdNiVJ9AEmPp6pfsnIU1DBzgmtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=QvaNffGj; 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: -2.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=QvaNffGj; 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: 34B92D2A6 X-Spam-Score: -2.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: EnI49SYQBHRT Ihor Radchenko writes: > This one is tricky. The linter (org-lint-duplicate-name) expects that > NAME keyword must have space before value. However, the actual Org > parser (org-element--collect-affiliated-keywords) does not care about > space. My intuition says that the parser behaviour is > unintentional. However, not requiring a whitespace may also be a valid > syntax. For the time being, let's prefer what org-element does over the linter. I have pushed the fix to bugfix as bd0493eda. Best, Ihor