From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GFCEO58FKGU7QwAAG6o9tA:P1 (envelope-from ) for ; Thu, 12 Oct 2023 16:41:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GFCEO58FKGU7QwAAG6o9tA (envelope-from ) for ; Thu, 12 Oct 2023 16:41:36 +0200 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 8DFB073EAA for ; Thu, 12 Oct 2023 16:41:35 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VJDchaFO; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697121695; 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=KPuqNzK9txamBVxlyE2AE3edEXbYO2GO/8GPrTVvUdQ=; b=itNouOY1RJnfckq8SI+8PvWes0/+byWHLeKeyKke9YlCKSSWAAnnYttqA3thSE7JeX8oVZ HCDq/M1trKhB9xGTkISS13qqCCTUmcGWhxw2W1exM227th/ODEvjRdI6Qx1EkErCkxgWkp 8LHgNc2rUkgX78ShHzp/MIQJtVJFBLwJr2PgMVl96uE13QhMCwKdDnlY26t+Qvp60Huu6k jzwLpXAGgMWfwDraEDVJyHZXw97zoihx9gTjmCsr9ALm5YCxOzy3OslbOQNt9YsvfWCWg1 5M9xkbtwUdw9TPHQLMXW+D9Sj/KKzySCbEH9M5YtiGqFiuIgndDrbIFD3Yx0Kg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697121695; a=rsa-sha256; cv=none; b=YxZJwZakGhq7pfHxIHg8bgo0FqeG871uIDaoZ380I0+3nASEv06UV+0HhxLCFoUWb9sovj 54Bs69x5F2LILWwipCLwuexc+UuOc4vnxwTWeIbQ/Ho91j9qSSfOq+GZC8Sze3PPJIj128 KPzUKIpBZvpXi+5GS4FZ66CehaxoIp9KJgDR6y4EWDwePGAbKPs5VdetbQNgDbCHxzrcF0 b43jpk0LZ3vhtwasZjkPzrSEvjTwgI/9NAVnXWycLu67ViKMYusorOpcSKZJFwvdOeqBy6 T5X+rK1MVd2wNXSVcjbma7SmcL0lti2bbefHL7YovqQZIWBoVbrC4dQHh4PpAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VJDchaFO; 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"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqwpj-0007No-19; Thu, 12 Oct 2023 10:38:39 -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 1qqwpg-00077c-8y for emacs-orgmode@gnu.org; Thu, 12 Oct 2023 10:38:36 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqwpd-0005t6-Jk for emacs-orgmode@gnu.org; Thu, 12 Oct 2023 10:38:35 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A770E24002B for ; Thu, 12 Oct 2023 16:38:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1697121509; bh=zalhY2zBQ1ra3DSF3vnIYti5nYneSqVre3dojHr04EM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=VJDchaFOr7h8JRXWjDbXbQadC+WrFG/DbV7Y4o/bLDwZ3VBdWc7kPt0fARD3ztYw8 XGa1JDVCN5CwzQyvdWytI5SOgemkxr+NHy8lErMx4Vza+Gu1gqcv6ePfz80jZXwnso 6kFl+OyY9ASc2VcSUB464KKMAJjGFFLs2V82sEpUBfenJ6ziBt/NGJzsUwe/RAn0uu STw2rCA1TB3ef1VGoRckkWIVYXj1PB+aXwiGdbARzMP/KwXgtELcaLSYx1nM7O8ocP IR3eHysx0gmuTn2pmdmtR6myMxCUmg4v+EEbBrGIm+D86yIGap5bSyAtobYq81wiZf 4rvKCuvrytlLQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S5sh475ZTz6twf; Thu, 12 Oct 2023 16:38:28 +0200 (CEST) From: Ihor Radchenko To: Andrea Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-babel-tangle may fail due to (org-babel-tangle-collect-blocks lang-re tangle-file) [9.6.9 ( @ /home/andrea/.emacs.d/elpa/org-9.6.9/)] In-Reply-To: References: <87edi0c7qo.fsf@localhost> Date: Thu, 12 Oct 2023 14:40:03 +0000 Message-ID: <87bkd3dhvg.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.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-Spam-Score: -8.79 X-Migadu-Queue-Id: 8DFB073EAA X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -8.79 X-TUID: zba4qPla5hFg Andrea writes: > This is the full trace I get running "emacs --debug-init" (sorry I should have added it in my bug report): > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > string-match("\\`\\(?:e\\(?:\\(?:macs-\\)?lisp\\)\\)\\'" nil nil) > string-match-p("\\`\\(?:e\\(?:\\(?:macs-\\)?lisp\\)\\)\\'" nil) > (not (string-match-p lang-re src-lang)) That looks like a malformed src block with missing lang. I recommend running M-x org-lint I now made Org skip source blocks without defined language when tangling. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f3de4c3e0 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at