From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id II9KH8YLKGUqGQAAauVa8A:P1 (envelope-from ) for ; Thu, 12 Oct 2023 17:07:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id II9KH8YLKGUqGQAAauVa8A (envelope-from ) for ; Thu, 12 Oct 2023 17:07:50 +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 3313131073 for ; Thu, 12 Oct 2023 17:07:50 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=hotmail.com header.s=selector1 header.b=Puu0sm3c; 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=hotmail.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697123270; 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=ejFZ6vvV9iF6GErAn0Bb5O80o6yPMk+FRrMRqFKLLdA=; b=p1wg9V11qVVmGhN3wvwdCjg+XDrxajHGQ9eFuZZkaPXc0CJT2LQpxD1XXUiFSJteagvxGH Y0pm/j25Wsp0rIgFyE8p86rAl7JHS3aqgadvSfAV8S/94qx0H+YUpKLaJurkJsNDqpHT4e LgdQVm6Dacl6KjzeEwB6O4oWlHYV7cM1mk5NcIZcY5B0ONvudHYDa5zmGMU/wUBOk6LXxX kg7iurIgL5zaHCqCbFASURzhgtKpGAiO6v+TTf/Qrokgoprnwou2GsUoy9/VlOBPnj1OsZ vrabMvusyx7zBTviw4xynx12k8FRzDUB9n/98gII/DihIWOXKYr7odJHaIQXGQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=hotmail.com header.s=selector1 header.b=Puu0sm3c; 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=hotmail.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1697123270; a=rsa-sha256; cv=pass; b=IALLtJXdOhSj7y+a49aOFGYFv46iJePRaFfKvhO2UBGxZS/bqPJLFZ2+5x6EYH/yBLH/Yq TL6tmdrTp3crVGvyH2q+aARs2rxM9r6BpGzktd9GfA+R7bmX31t2nKYOR8WjMA75zZP9H2 RlkUlRSAybGh+C4tLWMSpLAG9VFxyTcTtmgFHERCp7YRD7IllsIj65S4VHz3kxPyKEJa1b 6tx9t78cM++wjS6OsLvVTHQyiTmcaMP9Cv1cGQT7AbSwKo+VUycI3r9Cnn/5951CFDMT48 Ktcec1BMRvFXRf9vQXEMMcrjt2ZLux2898YQtV/gqx8+vL1R6qm9dAHrbMVmog== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqxHE-0005IB-92; Thu, 12 Oct 2023 11:07:04 -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 1qqxHC-0005Hm-Jf for emacs-orgmode@gnu.org; Thu, 12 Oct 2023 11:07:02 -0400 Received: from mail-db3eur04olkn2065.outbound.protection.outlook.com ([40.92.74.65] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqxH8-0002cV-VK for emacs-orgmode@gnu.org; Thu, 12 Oct 2023 11:07:02 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l0OUiWQHvroSpKK0DNC6+fI7IPqlfr168GLNKf5QCL9Gk5CGkFzhCLkxjmMLgyCrh9OHhCMdxidHQsr/S6SMnZ7MwrRzWsIRWcAjGwTh6A+TuYsBQ3ywyDjB2tWI7q9BhrBCPZGMwcLafQBFzbObrcYreJ6dDIhMAZ7hNl9w4lqZnUdwNfa0ItzAhzKQKEHIW0nvdsYH4RkeuCQyfvbOnIgFSI472Lufyg+9FgrpQbx2MOmRLDtCJkrS7JGAqx++ISBwNgQfdd8JA9WN8F7TcwHHCEzJRswubchEQQK0xJcaPDAILCtig6IRvIjnOim8ig6gNBhZ3FUUjlIYizvZIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ejFZ6vvV9iF6GErAn0Bb5O80o6yPMk+FRrMRqFKLLdA=; b=dCK+sAyH9SF09q1xUXdrnfUMQCpL5l3OXySewfchEAe7nNuqKX+DTbkFbo6msCrucP+Glzmpuis27HCfb7vxnxmx1yy2A5NPabwvCa2gB7B4rgf2wUmzyAVb0mvDvTNpwhmZHNpAb/ybky6cEJUUyaVuB8uu2O9rfJw015bRWMBr+CndPPm73FYMa4smxGdTVqnz1Uz2C4R/3xKFiem7IqMjHc0EsVAw1YiGH6Ni7J9nMHt+fi52iCNX5Zd5E6xLQfXcZf9yAmtgnep8pkMlIvDiBZ+2Bdve/z61C9+MUXbTg6kB0VWbBrLRNUfOXPreBKw/MTlOyDFE5kIQMdBTMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ejFZ6vvV9iF6GErAn0Bb5O80o6yPMk+FRrMRqFKLLdA=; b=Puu0sm3ciPxjeWtK19i9BtcKY5E6Z5SEGFfSM+Ep2ARC2i9M9rObP7VmxA5CTP5l338eQ/wWF4Tl0zYFW3fFzeZZh20+QEOgtXWT8LWA0cbIrykhwkX6omRMnkYGqVKqPm5kl1INi5Uc3IsD4Nx6Oq7Q3VVGlLbjqfCB0vVWZ58eKyqFsw9cs+o25gqLcEpAUPZw/WAZBOccOGKioh8PwcKLpUp8F6sxuVAILwY0hi5lKYcxWRQMOKOEAkzWiU/1mz3OuD+dvK4okIO+rYrX3KcDsL6RtqRjEZgAv71wjqDO7fUa66n9wbpXhExxDeoFiuXEFvDsnpVpOwXlXGpPhA== Received: from AS8P193MB2413.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:448::6) by DB8P193MB0648.EURP193.PROD.OUTLOOK.COM (2603:10a6:10:159::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.45; Thu, 12 Oct 2023 15:06:53 +0000 Received: from AS8P193MB2413.EURP193.PROD.OUTLOOK.COM ([fe80::28dc:2b00:340b:f5f0]) by AS8P193MB2413.EURP193.PROD.OUTLOOK.COM ([fe80::28dc:2b00:340b:f5f0%7]) with mapi id 15.20.6838.033; Thu, 12 Oct 2023 15:06:53 +0000 References: <87edi0c7qo.fsf@localhost> <87bkd3dhvg.fsf@localhost> User-agent: mu4e 1.6.10; emacs 28.1 From: Andrea To: Ihor Radchenko Cc: Andrea , 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/)] Date: Thu, 12 Oct 2023 15:50:01 +0100 In-reply-to: <87bkd3dhvg.fsf@localhost> Message-ID: Content-Type: text/plain X-TMN: [Y6XiOxFPfOgvFdYSB4cZ9hrOorV1vDlLec9uI+HqB8FgIEM/8JMYiDkcRYOs08Jn] X-ClientProxiedBy: LO4P123CA0165.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18a::8) To AS8P193MB2413.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:448::6) X-Microsoft-Original-Message-ID: <87wmvrev7b.fsf@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P193MB2413:EE_|DB8P193MB0648:EE_ X-MS-Office365-Filtering-Correlation-Id: a15bce40-2eee-4bbb-56a6-08dbcb34dd69 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8dJx1DBVpr5cTrtr/Eumed6e3zu8RZWFsYjOEgjScGiRMTbuDIqM+LPLAQMMUVbvF3VeKev8dL3kzYlvGW5WeXGcxl5cFwY89fJ+7a/2AwY1n/3Wef9+PNL7d9+QLAxHR0DO62qGVgSs3wB0xgXhfsB4n6j9kHvUJQEK7iHQEy2ioEu/Fpx8vYzoHr99PSol0J6FndpyUVldbpbT3PuSOqUAIwiEwtbl42IQLkq2X3PBpTSwVvMCVfiOYo0uoZksXqPRyNZ2mDJZCjpQefuJEh6/sPnf7aSGGc7+jf2EEwMv7TDiR3bRVwWOKDUwjOKzyVGQY9B5ZTg7YefJuZIEqpssBzodmcW1l6GnE7EnOzZT9aEGxsthAcHzXkFh8SgqWC5a5p7csXwEzdy7SbNhK9dxaTDF0zOW/d4+AKkbXxjgFz6FVpgEzps6fRsX2pwFthXbVFUyxGmWXCDhlXpQs3Wgx72FM4yH50U1+y3+cNXcYfpa+zJYSS2WsBHrLZuCt0qQql7KLoubEnjMtSFac0C1N/8yosfDpQxXjfHQ+h63TY+S02aQpux5UWdtjME8ipHt00txk/0DOzc2uCsZEqRHDr3/G/IFzCU0Ayi2jgk= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?liEp6EWXQhDetM9mIHLXI7gjQjgBDOnUP0lKdccRl3sjjLgsILzgPhCOCcZ8?= =?us-ascii?Q?sbTQjDlTGUByTu8+uMNuu0wfi0Lp/tnQGOW7ZnNdfwH66wnF1oMg99gtbf8A?= =?us-ascii?Q?KU1V93/uTqt487c93awzqTOlL0rmXlunAS+4+ydXnfnC96/6AKAr9xURYEJr?= =?us-ascii?Q?YoYjyn0fSP+cjrHQpTp3F7QyXl4qNSHNdrMTLVkkOFR38S9AFt9Mb88kjrrG?= =?us-ascii?Q?fPr8I7zkIejE9HKauHvY728druL+5jBDzGbIYqZBNkua1eAeB2AGT38ZukdA?= =?us-ascii?Q?T3YN8AZ45GEICx/UgChZNpGslHsQWapoXkY/QIMh38pBxr3Hab0GaS2gq/CN?= =?us-ascii?Q?OIfp6F8+y0BHKFuREEvi/YEfXXSCyLIW4ki6RYEyYe6MajVoxCVuQudKXoO/?= =?us-ascii?Q?Ex41BaxI5XX2hQuXr+kg/ZWVl13xvmlDNRCjfBWKlEbqnpVCkrFmAnLW/Cr4?= =?us-ascii?Q?T2LbxF91IScGd4ZPAqjZAverMxtioJPsSuc6G7XEdxYjBuQSl2BygyyCf4dq?= =?us-ascii?Q?vIhnMeDY22hDggugzysMUMKd9bThlWtT4eevYGbtU0cREBUUjV5CQOCGUUg3?= =?us-ascii?Q?hW+b8HTrDlYQuV6cmRxf2FDiZuIaUSuw78BxwgWhmaPY7Y8jLSc950ZNUUfW?= =?us-ascii?Q?TOlsvj7DWq+Q7Nw+TQMpUQ1pASPnGRkeyI+BYDdewq1x3rkeT7PuH7Qx3uf+?= =?us-ascii?Q?NabpRsk0gqllfhRUoTJwMHD0cN6WItt1UwlnkyBlaL4B3zIEZh6d8MLR5phJ?= =?us-ascii?Q?phozkL5XxcPwbAlpyBpLicC24cAh/xssb/0TCAskWeRa4YSqMclh5iBG/yGs?= =?us-ascii?Q?Fq5gceKbw1iH/aL7BIpQ7i7VUz5WoIaSrmRX/HVBmIqLydSQnOVi2YE3Ci/l?= =?us-ascii?Q?0Bv7ADSw1uuH6+Ungni8BfzZpbVexRHeD3YXPXvoY1vRdozLNwQMh7syiNh3?= =?us-ascii?Q?OWoQviGVx3e8OHTIk/7ulubrgOokN20Fzj3O3HzLzXE920XegbLnFyWdbuMm?= =?us-ascii?Q?BY7K1sQB3wWEaAjOAeQz10gBrdCu696br26MArqbK4l20lWlIrjoo6Fg6B0x?= =?us-ascii?Q?2YXnvxfXcPsD37Ys0BjxcJnYETWmTdv2/3xDqSJNdELyBeuMZGE+lzulMQfG?= =?us-ascii?Q?n+I+DrHtOxstuy/N5x/HPwlI7YM06FxB2aFsX3/OxduHDxfptV5g0BFZNVjh?= =?us-ascii?Q?FN2Qp32WVQoxVBeKMC8ZnALiLKmurPDc3XVqxw1jr6+Y96yAlwbp4IeGTesK?= =?us-ascii?Q?ksqAJKjOef+tSYqLUarscDQ0DTJYXw3G5n2kvi2KZtNJc9/wdNugSa7MvFWG?= =?us-ascii?Q?5B4=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-80ceb.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: a15bce40-2eee-4bbb-56a6-08dbcb34dd69 X-MS-Exchange-CrossTenant-AuthSource: AS8P193MB2413.EURP193.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2023 15:06:53.1257 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8P193MB0648 Received-SPF: pass client-ip=40.92.74.65; envelope-from=andrea-dev@hotmail.com; helo=EUR04-DB3-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -9.10 X-Spam-Score: -9.10 X-Migadu-Queue-Id: 3313131073 X-Migadu-Scanner: mx2.migadu.com X-TUID: 5e7eEZlI82Oy On Thu 12 Oct 2023 at 14:40, Ihor Radchenko wrote: > 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 > Mmm... I run org-lint (and fix unrelated issues, thanks!) and the problem remains. It is strange though, this is the block on which the function stops working (it is the first actually) #+begin_src emacs-lisp :tangle yes (defun my/init-audit-message (string) "Print out STRING and calculate length of init." (message string) (if (not (string= "end" (substring string -3))) (setq my/init-audit-message-begin (current-time)) (message "It took %s seconds in total." (time-to-seconds (time-subtract (current-time) my/init-audit-message-begin)))) nil) #+end_src Must be something wrong with my configuration then. I will update this issue if I find that out.