From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#55414: 29.0.50; Byte compilation error for the modus-themes Date: Fri, 27 May 2022 12:25:37 +0200 Message-ID: <87czfz9sri.fsf@gnus.org> References: <83ilpx7l8c.fsf@gnu.org> <87tu9gyki9.fsf@protesilaos.com> <83czg47bz7.fsf@gnu.org> <87v8tv7dht.fsf@protesilaos.com> <83mtf75grb.fsf@gnu.org> <87h75el2f5.fsf@protesilaos.com> <83r14h4uyi.fsf@gnu.org> <87tu9crg7f.fsf@protesilaos.com> <838rqopm0q.fsf@gnu.org> <875ylscxre.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6550"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Zaretskii , Protesilaos Stavrou , 55414@debbugs.gnu.org, Stefan Monnier To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 27 12:27:42 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nuXC1-0001UU-If for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 May 2022 12:27:41 +0200 Original-Received: from localhost ([::1]:38466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuXC0-0008Oh-7E for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 May 2022 06:27:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuXAQ-0008Mm-RI for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 06:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuXAQ-0005Z2-EX for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 06:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nuXAQ-0005rs-9n for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 06:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2022 10:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55414 X-GNU-PR-Package: emacs Original-Received: via spool by 55414-submit@debbugs.gnu.org id=B55414.165364715422542 (code B ref 55414); Fri, 27 May 2022 10:26:02 +0000 Original-Received: (at 55414) by debbugs.gnu.org; 27 May 2022 10:25:54 +0000 Original-Received: from localhost ([127.0.0.1]:32805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuXAI-0005rW-0S for submit@debbugs.gnu.org; Fri, 27 May 2022 06:25:54 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:38890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuXAC-0005rD-H4 for 55414@debbugs.gnu.org; Fri, 27 May 2022 06:25:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=L5EwOsgnaQVdAOQRyKMP1NOJ4NkMc5umgHqxMbWumBU=; b=fxw9jc03tGQurs4j0X+AURDY2n chtlIkAHNXTM1L2Sm49UOdV8pi5dyYnhFFhkp5eEjS7zVclVfwWISQN/xieCJeNBiWakYmxcU7bX0 3qKHSggvmPa9GtQVxRVpuaXWKUOG+gp3RcIYkiz8TXNHhzcqyJgTVh9ySI22HL8K4t+w=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nuXA1-0006oa-LA; Fri, 27 May 2022 12:25:40 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEWvra3DurvTz86V kZOEe4BmX2c5NT/////DykhKAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+YFGwoON2iYAIYAAAGbSURB VDjLddNLcoMwDABQEZeuDblA8QkcZLruNLBnasQFOuj+R6j8wUPSoJls/KyPsQPQmFfxAdC0JwBV pK79ByJ7PEEUyJYSmwQpmmPouKQmWokIJW6hXQGNxMybGP0ECEupip62VYhp7TPkUOQdRWqfYO0B nVRazBEsvJExGnJvs4+q0DqCsFPD5ZihEIZF2SquPWbowYNDC43sbZ8AFS2IVnI6Y3f4uk4ecUjH 69p63uE7Ag7MfdNUV7+XeusT4LBaUEAtZqh7lQCVlJv6YT7CGAVX/q1nXeA6LWMWmi3YAlpKjIkA 1b4O9fdHGHXEcB+EFgv8dOHD0peT69oQdSk1GxU3W3R3Gbovzb0JTdKlOxzm/YD1dulS/dTJl4zt ZlRKoWUkupfmPLedvKAciy0Z7CujMYvHqvTgzV5Ewsx3lJsMoOT3zuxtmx6DlRvs0nVH2O5hodHh SXcgjBmYMD2G/IqwAEt1qMI4cnR/BKb83V0Y7AgcjrBP/ADpb3CET36MAgpfBTzEP1AnGWelXq27 s97DyboAnsAfc5uzr9+2q1YAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDUtMjdUMTA6MTQ6NTUr MDA6MDB6MfV1AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA1LTI3VDEwOjE0OjU1KzAwOjAwC2xN yQAAAABJRU5ErkJggg== X-Now-Playing: A. G. Cook's _7G (2): Guitar_: "Drink Blood" In-Reply-To: (Alan Mackenzie's message of "Fri, 27 May 2022 09:52:30 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:233175 Archived-At: Alan Mackenzie writes: > No, no, no, no. byte-compile--first-symbol-with-pos is NOT the cause of > the stack overflow - it's part of the handling of that stack overflow, > and unfortunately causes a second stack overflow. Prot said that fixing that function made the stack overflow go away, though. > You're saying byte-compile--first-symbol-with-pos could be reformulated > to be non-recursive, I think. I don't understand that. It is a > function working on an arbitrary tree structure. Such functions are > always coded using recursion, aren't they? What am I missing here? Any recursive algorithm can be reformulated as a non-recursive algorithm -- either through tail call optimisation (if you're lucky) or by using a list/stack to stash the data. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no