From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cCd0CARevmHgFAEAgWs5BA (envelope-from ) for ; Sat, 18 Dec 2021 23:17:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ULM+BARevmERUgAA1q6Kng (envelope-from ) for ; Sat, 18 Dec 2021 22:17:40 +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 D31912C683 for ; Sat, 18 Dec 2021 23:17:39 +0100 (CET) Received: from localhost ([::1]:53158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myi1K-0005oo-C0 for larch@yhetil.org; Sat, 18 Dec 2021 17:17:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myi0k-0005of-6n for emacs-orgmode@gnu.org; Sat, 18 Dec 2021 17:17:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:32797) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myi0j-0005ia-TS for emacs-orgmode@gnu.org; Sat, 18 Dec 2021 17:17:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myi0j-0006z2-OL for emacs-orgmode@gnu.org; Sat, 18 Dec 2021 17:17:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#50218: 28.0.50; org-babel-tangle-file tangles code blocks starting with #+begin_src :tangle no Resent-From: Kyle Meyer Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Sat, 18 Dec 2021 22:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50218 X-GNU-PR-Package: org-mode X-GNU-PR-Keywords: To: Tassilo Neubauer Received: via spool by 50218-submit@debbugs.gnu.org id=B50218.163986581726831 (code B ref 50218); Sat, 18 Dec 2021 22:17:01 +0000 Received: (at 50218) by debbugs.gnu.org; 18 Dec 2021 22:16:57 +0000 Received: from localhost ([127.0.0.1]:44343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myi0e-0006yg-TT for submit@debbugs.gnu.org; Sat, 18 Dec 2021 17:16:57 -0500 Received: from out2.migadu.com ([188.165.223.204]:22277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myi0b-0006yX-Qb for 50218@debbugs.gnu.org; Sat, 18 Dec 2021 17:16:55 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1639865812; h=from:from: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; bh=+1NmAsn6Rfs8pCXg652HLkarhBb7eHdGvbYudouVaEg=; b=yKHZZunFAKEKiEVPaxwn/Q7l+lI/8ThwWxQWmtCsyOFFttAbFdYZ/aikwPiNGbzJZkAXD5 Dc7lrAKWXK1AYNQnUAR58W+Z93sksr53dX2dzIE2s1xDwrOG1o7641ycOH1wDJKYK2y9XZ l69pCDBCWdorLXX58OREndva048QFYOaam1tfc9YurSVQNIN+vdMP3V16UvxHN3s43jUXw TuXsjMInzsRDJlq+7di/EPrvw5dNJYJNbSJeqQ62uW/V5DfQOA6pUSS/HS7dNIgOcTtc1r luRbEbT+xY6omljPqg58+fOD7jFaFl01auQrgb3e724kOt0Sr/j6+sCldLvUgw== From: Kyle Meyer In-Reply-To: <9d143449-d2db-179b-24da-b4e4d6a33319@gmail.com> References: <9d143449-d2db-179b-24da-b4e4d6a33319@gmail.com> Date: Sat, 18 Dec 2021 17:16:50 -0500 Message-ID: <875yrla78t.fsf@kyleam.com> 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: 50218@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=1639865859; 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=+1NmAsn6Rfs8pCXg652HLkarhBb7eHdGvbYudouVaEg=; b=gu6qwfuMeNE8sELMtnRDuxGTfHL1MyMFVP/WXDasQqXbERUHG1SMM4AD4tPlYotMxFpXiY v1WlTfGpZn4BPy+83m44HN3tYXOCW+5mWQ+P21ukDxwzsT4hrpL+ckB1nCR+FmDzoOEsrp XkXH4sSPigzJZsK1k+HFhJnuIAzKe/lyHsN5Pk3KzgRAxRfL9Fxvp5weSc6dTTFY3JC6KP zBhgtVndyWhLKNzvbYEXcIQ3jw7/IRvwAeN45cwOb+qcXFEKx+zhOID3ywCTSqqrQD794e mQ7F1nISwXPXghU8ssq4UsKaLLaA15XlJ0828aJOA42hlUl4zeRrLPpTKDnAVg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639865859; a=rsa-sha256; cv=none; b=C+3DlzrEa1u7ya1T11fvdrkl4TrDKQu3MIockO2sER+4SZ1MnnNJHhAvgvcVyaBdLeTjBY rgpdZXaZCMZ7CPcjKqb4omlMoQnF8Gjd2uPL0hrrFwBs7UOnMTuyjZKTV1c18ipaXoNPny cX5DYyxltTLOlIZ9QMdrbkb8CIoypmEuV8JPp+3lo44YPVyShdUJwwA2kr0R9p0Ah6a0eO C5DUk2Jg1guDqnkX9jiQ4EvMGnxkU4Ou9p21luA95uCM5BDJsZUz428QpbfBZ5P380t1E2 PrxYu1gg0S2JgSY6sh9IgxPsotLFabwhw8ULoqsNWECij6GDKRnHkCJ1fXIJGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kyleam.com header.s=key1 header.b=yKHZZunF; dmarc=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.51 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kyleam.com header.s=key1 header.b=yKHZZunF; dmarc=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: D31912C683 X-Spam-Score: -2.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0qGN9tn36mDl Tassilo Neubauer writes: > Hello, > > Here are the steps that led to code blocks being tangled I did not > expect to: > > emacs -Q > C-x C-h: ~/org-roam/example.org > content of example.org (excluding "): > " > #+begin_src emacs-lisp > (setq some-emacs-lisp-variable t) > #+end_src > > #+begin_src :tangle no > ;;This line should not be in the elisp code > #+end_src > " (Sorry for the delayed reply. This message, unlike the initial post, will be redirected to the Org list, where you're more likely to get a response.) Org sees the last block above as a source block of language ":tangle". Here's what org-element-at-point reports: (src-block (:language ":tangle" :switches nil :parameters "yes"...) org-lint will complain about this block: 2 nil Missing colon in header argument "yes" And, were you to use a bare source block (i.e. drop ":tangle no"), it would complain about a missing language: 2 nil Missing language in source block So, I think the source block is mis-specified, and I'm not sure there's much that Org should do here, but perhaps others will chime in with their thoughts.