From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#60346: VC refresh error "Recursive load" Date: Tue, 27 Dec 2022 16:05:29 +0200 Message-ID: <83lemt0wnq.fsf@gnu.org> References: <87ilhxalsm.fsf@breatheoutbreathe.in> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38671"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60346@debbugs.gnu.org To: Joseph Turner , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 27 15:06:19 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 1pAAax-0009uD-4H for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Dec 2022 15:06:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAAaj-0005Yq-NQ; Tue, 27 Dec 2022 09:06:05 -0500 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 1pAAah-0005YY-RU for bug-gnu-emacs@gnu.org; Tue, 27 Dec 2022 09:06:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAAag-0002hL-4k for bug-gnu-emacs@gnu.org; Tue, 27 Dec 2022 09:06:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pAAaf-0008Dj-WF for bug-gnu-emacs@gnu.org; Tue, 27 Dec 2022 09:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Dec 2022 14:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60346 X-GNU-PR-Package: emacs Original-Received: via spool by 60346-submit@debbugs.gnu.org id=B60346.167214993031555 (code B ref 60346); Tue, 27 Dec 2022 14:06:01 +0000 Original-Received: (at 60346) by debbugs.gnu.org; 27 Dec 2022 14:05:30 +0000 Original-Received: from localhost ([127.0.0.1]:54916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAAa9-0008Cs-Tt for submit@debbugs.gnu.org; Tue, 27 Dec 2022 09:05:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAAa8-0008Cg-Nb for 60346@debbugs.gnu.org; Tue, 27 Dec 2022 09:05:29 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAAa2-0002ZM-NN; Tue, 27 Dec 2022 09:05:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=CbAo/H/z95w5tUiBWtV8gONk+tPSDWmOTUVWF/vZaaQ=; b=CvF48hexaVAa SmCR8t+4yAHFQvvB3Sum3cbkBH0OjtBKzL2o+/ONku7eVd/7upgrnvAT6n3qUiVGdat+lKyq0GbLU CR3xtQOAk5nSoS5ciryf7nIHjQSCpoCIdpRS/cvK6X4WlnIvLc1d2TyEp14pBqHTbdXsuAtgcF0I7 y8AuQUGHbryRVbyk7/NWyN9nGSTkcmSO9cM0KTRQ+P8jzcLLezV8H8Hh7gsuoM4MAvSgHzcrgTq0c wQ9mVcmTyl1Mh3624vrNq6C7ZX2Y/S0ypmwRbNgRRVq+6VKkT8WtnWxn4BA56Q28Ti1zaVGaE+lfl lPWS89BwGWIsL3rj3QXcMQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAAa2-0006X3-6r; Tue, 27 Dec 2022 09:05:22 -0500 In-Reply-To: <87ilhxalsm.fsf@breatheoutbreathe.in> (bug-gnu-emacs@gnu.org) 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:251953 Archived-At: > Date: Mon, 26 Dec 2022 13:26:17 -0800 > From: Joseph Turner via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > I wanted to ignore byte-compiled files because edebug was refusing to > step into byte-compiled functions. > > I ran the following: > > emacs -Q --eval="(setq load-suffixes '(\".el\"))" > > This broke basic functionality, throwing a "Recursive load" error. For > example, `M-x find-file ~/.emacs.d/init.el` gives: > > VC refresh error: (error "Recursive load" "/gnu/store/x8nykb09aqmp2j6k74dpgc4jvbk8c2bl-emacs-next-29.0.50-3.22e8a77/share/emacs/29.0.50/lisp/jka-compr.el.gz" "/gnu/store/x8nykb09aqmp2j6k74dpgc4jvbk8c2bl-emacs-next-29.0.50-3.22e8a77/share/emacs/29.0.50/lisp/jka-compr.el.gz" "/gnu/store/x8nykb09aqmp2j6k74dpgc4jvbk8c2bl-emacs-next-29.0.50-3.22e8a77/share/emacs/29.0.50/lisp/jka-compr.el.gz" "/gnu/store/x8nykb09aqmp2j6k74dpgc4jvbk8c2bl-emacs-next-29.0.50-3.22e8a77/share/emacs/29.0.50/lisp/jka-compr.el.gz" "/gnu/store/x8nykb09aqmp2j6k74dpgc4jvbk8c2bl-emacs-next-29.0.50-3.22e8a77/share/emacs/29.0.50/lisp/jka-compr.el.gz" "/gnu/store/x8nykb09aqmp2j6k74dpgc4jvbk8c2bl-emacs-next-29.0.50-3.22e8a77/share/emacs/29.0.50/lisp/vc/vc-git.el.gz") > load-with-code-conversion: Recursive load: "/gnu/store/x8nykb09aqmp2j6k74dpgc4jvbk8c2bl-emacs-next-29.0.50-3.22e8a77/share/emacs/29.0.50/lisp/jka-compr.el.gz", "/gnu/store/x8nykb09aqmp2j6k74dpgc4jvbk8c2bl-emacs-next-29.0.50-3.22e8a77/share/emacs/29.0.50/lisp/jka-compr.el.gz", "/gnu/store/x8nykb09aqmp2j6k74dpgc4jvbk8c2bl-emacs-next-29.0.50-3.22e8a77/share/emacs/29.0.50/lisp/jka-compr.el.gz", "/gnu/store/x8nykb09aqmp2j6k74dpgc4jvbk8c2bl-emacs-next-29.0.50-3.22e8a77/share/emacs/29.0.50/lisp/jka-compr.el.gz", "/gnu/store/x8nykb09aqmp2j6k74dpgc4jvbk8c2bl-emacs-next-29.0.50-3.22e8a77/share/emacs/29.0.50/lisp/jka-compr.el.gz", "/gnu/store/x8nykb09aqmp2j6k74dpgc4jvbk8c2bl-emacs-next-29.0.50-3.22e8a77/share/emacs/29.0.50/lisp/vc/vc-git.el.gz" > > Emacs also breaks when load-suffixes are reordered: > > emacs -Q --eval="(setq load-suffixes '(\".el\" \".so\" \".elc\"))" > > I am running Guix on a foreign distro Debian Bullseye. Shall I send this > issue to the Guix mailing list instead? I'm not sure we want to support this kind of changes in the order or contents of load-suffixes. It sounds to me like the order is there for as reason, and no part of Emacs expects these lists to be reordered, let alone have some extensions removed from them. I think the only valid changes are adding extensions to the end. Stefan, WDYT?