From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YN9EMHGuvWGe0QAAgWs5BA (envelope-from ) for ; Sat, 18 Dec 2021 10:48:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +E/XK3GuvWFCbwAAbx9fmQ (envelope-from ) for ; Sat, 18 Dec 2021 09:48:33 +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 8849036BC9 for ; Sat, 18 Dec 2021 10:48:33 +0100 (CET) Received: from localhost ([::1]:50206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myWKO-0006k0-8v for larch@yhetil.org; Sat, 18 Dec 2021 04:48:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myWJt-0006hI-US for emacs-orgmode@gnu.org; Sat, 18 Dec 2021 04:48:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57961) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myWJt-00087a-LW for emacs-orgmode@gnu.org; Sat, 18 Dec 2021 04:48:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myWJt-0003WU-IL for emacs-orgmode@gnu.org; Sat, 18 Dec 2021 04:48:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Sat, 18 Dec 2021 09:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52545 X-GNU-PR-Package: org-mode X-GNU-PR-Keywords: To: "Berry, Charles" Received: via spool by 52545-submit@debbugs.gnu.org id=B52545.163982087013480 (code B ref 52545); Sat, 18 Dec 2021 09:48:01 +0000 Received: (at 52545) by debbugs.gnu.org; 18 Dec 2021 09:47:50 +0000 Received: from localhost ([127.0.0.1]:41274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myWJi-0003VL-Ch for submit@debbugs.gnu.org; Sat, 18 Dec 2021 04:47:50 -0500 Received: from mail-lj1-f171.google.com ([209.85.208.171]:44555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myWJg-0003Ua-HE for 52545@debbugs.gnu.org; Sat, 18 Dec 2021 04:47:49 -0500 Received: by mail-lj1-f171.google.com with SMTP id 13so7100617ljj.11 for <52545@debbugs.gnu.org>; Sat, 18 Dec 2021 01:47:48 -0800 (PST) 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=UWL85eWGkkaWBCtWiFLbZfsuc2pSDErdZzg9cfhlr8Y=; b=mHSvaRLI/i4mkSOVEDi3wHa5hVJD9w1ZQkYLT/UZjvK/6ZwEvGMS2zll0XV/Xo+V+t 0SOAcpIFgfegGeS9cgclRpATbKgsaesv02EOVioS2SPPFeEO1+SO18rg3nDhMsVMQX7e JSl/drIwRJ6w+vZSms4LRRkkBVRyVgInTu08MoWWOqLULT9niqZS6yvkIqmK6Qbk9OTN 9XRrf2QUMKtKsQvIJ7zjvpwbOOwI9JHfrs7UX/oKzM7jrEIJ3aALXpLzFkz1EtIXwAT7 P5vofoNocohk/9rV3m++BQJuaKTnl5foAtXYJFOCJi1F0123pG+yIKuM40zrsRwmSqpX KHeQ== 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=UWL85eWGkkaWBCtWiFLbZfsuc2pSDErdZzg9cfhlr8Y=; b=RzCUt+1CZeyqUIVaAvqvFbk55tKVoimZ9d5DPu6t8K1Ym0UgYX9ViRsrLzGHT1TAM9 jgTrGG6h6adK2tC9HmR91N3HpcgvEooTwCAaO0mwbva8Y6qJjAWv78ZyRZ0kdPsLeWbE Q8VprRUFbnqx6OCByELdOh+bNWI2N93Pt5s3lFwnTWYQ7pG64BJIiDMdpqRhBLjB1I3A i08acZVxml7UO4HlNALkTNRtvAKBgDYvHwyi+7keQJB8oi7E32KhXGPeYkaiyImXUrfV G7sg9pbZ9pOsvOeP31Mj0GO4Hyfs8r6TSWHKU1bB46IYug6pMmKYvJ+mYCpPJUSNqLVZ HnyA== X-Gm-Message-State: AOAM533lp1a99bkLq5mzCPMJJMpr559SSmp90MjsiT0baFdZxX7y/c+2 bM9rd4zuRo1E0VPkqJPfwIQ= X-Google-Smtp-Source: ABdhPJzxSWLyjCzrHN2XdEgje7UeXVLj/Mz6Q3oxacd30m9CY21ymfdm0DQroLvf9d+HVK0caq6sgA== X-Received: by 2002:a2e:b88d:: with SMTP id r13mr6244087ljp.362.1639820862346; Sat, 18 Dec 2021 01:47:42 -0800 (PST) Received: from localhost ([158.255.2.9]) by smtp.gmail.com with ESMTPSA id l8sm207432lfg.2.2021.12.18.01.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Dec 2021 01:47:42 -0800 (PST) From: Ihor Radchenko In-Reply-To: References: <87ilvnx29d.fsf@kyleam.com> Date: Sat, 18 Dec 2021 17:49:06 +0800 Message-ID: <87y24ib5v1.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: emacs-orgmode@gnu.org List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= , Kyle Meyer , "52545@debbugs.gnu.org" <52545@debbugs.gnu.org> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639820913; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=UWL85eWGkkaWBCtWiFLbZfsuc2pSDErdZzg9cfhlr8Y=; b=sW9uoGSRIxlZL/k1uaJDOiJLeqs6A3f63E3otwR4OAmQRkGLMqO13IOdeRFBvdtMUWBwRP rMc9KMdUpyjlQ92SMCk5W5AaDVFknvO7sXa8hNJpa1yOGCnmC7NZz57Qi+ls0vaSrcutax 1NAh+ES3DJeWKg8p8gE460VqIX4rSuKCwlbIN53OnuaUkQYVmHtAszrRhZwh+5E2EYv5ic uknqP21G0NtZTRtqCGdGix4OEvY0fIBqGSUi2dYpnWD1oPxi70t6S9Cd3q7Qi+Xny2ez9M JcRRsDx/JshNs8MEjvYSKIDjB9xTDek2XgPGPYA0xBo7WNjK08bbh3nJ4TNv3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639820913; a=rsa-sha256; cv=none; b=fNqMdb6EKiUMRorA2SiaG8BNkOzRXiGdEsMOuBfMZD6LZYZl3OA/Gk6wmzVPvB3BoHFkFp ElIaEdkPtztOoKnIVPQ9mjenjdmqW9f6UjgZWznhp3GbEoEk9rpphxiBIOcfOu2GuNuu8A oyUfrGaLiS0g9M5AtQOkhdue55VqcuLqz4naKh28nQY8rcy/ZdwRw7TQm5xjjYBkV0G68Y Aw1pRfpgza3tkg47nxhnX2RQAMQ9PHV35FMV59pEm+pT+irLLEauXUFE34KGoSxJ/NF4Zy fIpzVvH1ikxQQeLnDt1CnCHVlWW2YCv4Q+bxBzW+8d5m206TCTN9IMfUz2utyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mHSvaRLI; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: -2.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mHSvaRLI; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: 8849036BC9 X-Spam-Score: -2.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: nLjqxSjeqU8I "Berry, Charles" writes: > If I have a typo in the name of a language, the error message you quote tells me what my mistake was. > > I'd say that is a feature, not a bug. Agree. However, some languages simply do not define babel execute function. The error is same regardless whether a language backend is not available/not loaded or the backend is loaded, but does not provide babel execute function. Maybe we can provide a custom list of languages where we do not throw the error? If a language is in the list and there is no babel execute function, we can simply ignore the source block. If a language is in the list, but there is babel execute function, we throw another error. Though I am not a big fan of introducing yet another customisation. Maybe someone has better ideas? Best, Ihor