From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mats Lidell via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72811: 28.2; global-display-line-numbers-mode with debbugs package cause Lisp nesting exceeds =?UTF-8?Q?=E2=80=98max-lisp-eval-depth=E2=80=99?= Date: Thu, 29 Aug 2024 22:12:16 +0200 Message-ID: <87v7zj84wv.fsf@lidells.se> References: <8734msb5zv.fsf@lidells.se> <86h6b3fsj5.fsf@gnu.org> Reply-To: Mats Lidell Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30987"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: rswgnu@gmail.com, 72811@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 29 22:13:33 2024 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 1sjlWM-0007tc-P6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Aug 2024 22:13:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sjlW1-0003ia-8u; Thu, 29 Aug 2024 16:13:09 -0400 Original-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 1sjlVy-0003iK-Kw for bug-gnu-emacs@gnu.org; Thu, 29 Aug 2024 16:13:07 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sjlVy-0005d0-Ap for bug-gnu-emacs@gnu.org; Thu, 29 Aug 2024 16:13:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=fVkrq+DJrwfQxJu/Fha2UYyR9EkWkgrv02Otnk4dq+o=; b=NtdunBg+AZVx1L77EMf6qvIhHhzbVOG8B6iBwNXG+MhhkbdaDun+F7qZgcZ7+kbXReqcBH2OA5uLXdQWS7JL1T/N0HVf5+SoSXgCIcz1s8EYZqFLfMM/3imbNhB7T+SfxfnJ3gSPYkf/5zcgoFQwqbgIG/KV7GXWemx8bCbX20URJkS9vZTda97dOQavtrCgMqLcVOF7c1HbJQZq4m0mKBTvD80ruirqOXKaqlq2Y6jyJK3US6mm9Jot311SyXfbczgQs+mP8PjVgYbzrr4m5Qs3IlKxWie1YiomRI/MAk0Vtj97onhHLi2Acpl99gpPuqrYxXEjUJxE41bukflEyA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sjlWr-0003Fd-Sq for bug-gnu-emacs@gnu.org; Thu, 29 Aug 2024 16:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mats Lidell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Aug 2024 20:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72811 X-GNU-PR-Package: emacs Original-Received: via spool by 72811-submit@debbugs.gnu.org id=B72811.172496240312429 (code B ref 72811); Thu, 29 Aug 2024 20:14:01 +0000 Original-Received: (at 72811) by debbugs.gnu.org; 29 Aug 2024 20:13:23 +0000 Original-Received: from localhost ([127.0.0.1]:52181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjlWF-0003EO-2h for submit@debbugs.gnu.org; Thu, 29 Aug 2024 16:13:23 -0400 Original-Received: from smtp.egensajt.se ([194.68.80.251]:56364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjlWC-0003E6-Il for 72811@debbugs.gnu.org; Thu, 29 Aug 2024 16:13:22 -0400 Original-Received: from ethel (m90-129-216-238.cust.tele2.se [90.129.216.238]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mats.lidell@lidells.se) by smtp.egensajt.se (Postfix) with ESMTPSA id 8A514405DD; Thu, 29 Aug 2024 22:12:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lidells.se; s=dkim; t=1724962338; bh=fVkrq+DJrwfQxJu/Fha2UYyR9EkWkgrv02Otnk4dq+o=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=VEq2lefHP3Ypd47YhXNqT3w/5eAoUKvyGe19lmu8ebnsY0v+DVPNsl3y1i5tMsFa2 Qqp5gzApBr0R3DJt3xbJN44GG0W1d+XQP0/7XO5JwUb5grnX3WGmLsq2iAfNjG44N/ wNo+SaWUX223kDFfpTb+5OitsqgHNJx2A9vjjiDA= In-Reply-To: <86h6b3fsj5.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 29 Aug 2024 15:00:14 +0300") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290945 Archived-At: > Eli Zaretskii writes: > I guess we already fixed this, so we could close this bug. Still... Yes. But I was curious since I could not find any commit in Emacs that looked related to fixing this. > ...can you figure out which Lisp caused display-line-numbers-mode or > display-line-numbers-mode-on-hook to run tabulated-list-revert? I > couldn't find that anywhere in Emacs, and also not in debbugs. I do > see that debbugs-gnu adds to tabulated-list-revert-hook the function > debbugs-gnu-rescan, which then changes the major mode, which causes > display-line-numbers-mode to be turned on again, so what happens after > that is clear: infinite recursion. But I cannot understand why was > tabulated-list-revert called in the first place. I could not either so I filed the bug report. ;-) And hoped someone could figure it out. \o/ %% Mats