From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id CIj1KWaAYGY6nQAAA41jLg (envelope-from ) for ; Wed, 05 Jun 2024 17:12:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id GNkSJGaAYGa4cgAA62LTzQ (envelope-from ) for ; Wed, 05 Jun 2024 17:12:38 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=fU+hnMOf; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717600358; 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=5yCAvNr9Pr/WaGLfltEEGCQNVgkKZCBicH3ZRyMIPMg=; b=mhkr71KFCNUfdoeFKNeQOXht4t1CqA9eWVR3ut4vsxd1mviSQw2f88GEu3TcAlu1FtYAVp Pv3bWZhfy+fujwau4HORerRniTCYQt3+6n2zeQ8KZA/mhPC5DObLZl+1uQPpJBQODMBxfn CtSPW7KdnvTl7Ry+qYnl/c1NhRnjmWVxVhWVC11Jj85609WFh0wHN/Q4ToTm2PvYHIp+hx RXI2WHuV4aSVR6bBPJJFe901TlDoXvBSJE8QaenWIPmr16hrVgHSf1CmpFlvRbwR9Ebbbr rU10ucSom7uBmuqgGqC8JbZFIhorv0dy52hOxZrCmAt0wFW7/NsXmADQDaXrCQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717600358; a=rsa-sha256; cv=none; b=V8k/bkb5p5FWO50/QOnTcdiEDSqV3EuC0bIbjIicHGv98LxYvx9PGcntzJN7KUy1C4sYvh mHXYzi5Ae3T9yPZ9YY+2cy5V/8e283fxwfcOv+Kp/UXi8i0petqP+UGtwdf5ofrWFblPsz H+906yFSucjg5qduG9vmchxjdHTzs6OKbJLDgjRzbDlAOjwILdsIflH+ebVfpQcCFr0jkd u9Zhae1QYNVyxFgOolywclihodBXf5U2A9e/LhYWTAkBsKsvQZPmu1Izwq90TWGdQ5bItJ 5R8nxI1XoBgfPMDGIO/j3SOmskZKy53q3p6YpOwI+FMMAlJC1t4aN4+RbIV9UA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=fU+hnMOf; dmarc=pass (policy=none) header.from=posteo.net; 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" 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 5BC3C758FD for ; Wed, 05 Jun 2024 17:12:38 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sEsIF-0008Ms-Mq; Wed, 05 Jun 2024 11:11:15 -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 1sEsID-0008J4-Na for emacs-orgmode@gnu.org; Wed, 05 Jun 2024 11:11:13 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sEsI9-00033o-DE for emacs-orgmode@gnu.org; Wed, 05 Jun 2024 11:11:13 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5B064240103 for ; Wed, 5 Jun 2024 17:11:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1717600267; bh=vlADJOeEsgillanI2bD9MeTT4++NtW6543OGet1mi2w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=fU+hnMOfRxaElb6KQdhJ/8ilZuTKviI/GcHJyUYRBnH6sLW3LfDxRvT324akgnma0 iYy18Zql4NY5HR2UbKqnmzrEpdgIorvqGVfUSyxOp7nvg29qwV9vra9209mxOWVY4d p3zJGZz+b2efGm3zHnxBZ3Y4CFulTZctWlspKEWVylgLgUYmxaRAn/iiif9rxeFfC8 nt3HM1qugK/YnPmoZRTPQn6WU6Av+Fpyjt0QCZ5qyuFECvG6hpQl+L4bXtTFQP8ZVd wA+VcO6qUeMRkrzqII4EdQWnkDIi0dKTF+yG09m4vc/oxd2XJfekCukXf+s0NbAGAg nW0h7EOTrUpjg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VvWBL6RwQz9rxB; Wed, 5 Jun 2024 17:11:06 +0200 (CEST) From: Ihor Radchenko To: Suhail Singh Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-lint: Spurious warning by 'suspicious-language-in-src-block [9.7.2 (release_N/A-N/A-88dd2c @ /home/user/.emacs.d/elpa/org-9.7.2/)] In-Reply-To: <874ja7ik7h.fsf@gmail.com> References: <87mso035kq.fsf@gmail.com> <87cyov7d2c.fsf@localhost> <874ja7ik7h.fsf@gmail.com> Date: Wed, 05 Jun 2024 15:12:50 +0000 Message-ID: <87msnz5sp9.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.56 X-Spam-Score: -6.56 X-Migadu-Queue-Id: 5BC3C758FD X-Migadu-Scanner: mx11.migadu.com X-TUID: 2mpO87aMM/1A Suhail Singh writes: >> You can always ignore this warning. > > I presently update (via setq) org-lint--checker after filtering out this > checker. Is there a better way (i.e., one that doesn't rely on an > internal variable) for non-interactive use? Perhaps an > #'org-lint-remove-checker could be added to org-lint.el. For context, I > have code that non-interactively invokes org-lint and reports the > warnings. As such, ignoring by pressing "i" in the *Org Lint* buffer > isn't an option. There is currently no such way. Although, it would be nice to have such a feature. Patches welcome! >> (If you have better ideas about how to approach the problem of >> misspelled language names, feel free to share them) > > I don't have a recommendation specific to the languages that only > support code execution, however, for languages in general wouldn't it be > better to consult something like the output of #'org-src-get-lang-mode > and see if that mode is either defined or can be loaded (depending on > whether or not we require the user to ensure whether the feature > representing the mode is already loaded or simply that it be possible to > be loaded)? Thanks! It is indeed a good idea. I added this check on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=51aea4946 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at