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#70357: 30.0.50; loadup.el, load nadvice before seq Date: Sat, 13 Apr 2024 09:19:07 +0300 Message-ID: <861q79ss2s.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14390"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 70357@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 13 08:20:21 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 1rvWkO-0003bB-Rp for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Apr 2024 08:20:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rvWk3-00068k-2w; Sat, 13 Apr 2024 02:19:59 -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 1rvWjw-00064k-SQ for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2024 02:19:52 -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 1rvWjw-0003X0-BD for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2024 02:19:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rvWk6-0000NV-9z for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2024 02:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Apr 2024 06:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70357 X-GNU-PR-Package: emacs Original-Received: via spool by 70357-submit@debbugs.gnu.org id=B70357.17129891721217 (code B ref 70357); Sat, 13 Apr 2024 06:20:02 +0000 Original-Received: (at 70357) by debbugs.gnu.org; 13 Apr 2024 06:19:32 +0000 Original-Received: from localhost ([127.0.0.1]:59842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvWjb-0000JM-1x for submit@debbugs.gnu.org; Sat, 13 Apr 2024 02:19:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvWjX-0000Hn-8b for 70357@debbugs.gnu.org; Sat, 13 Apr 2024 02:19:28 -0400 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 1rvWjG-0003S6-VF; Sat, 13 Apr 2024 02:19:10 -0400 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=6pEULt4cB+Vniq449LBQNOZYiT8jN+SpyaqH2bKsyGE=; b=n8/fFrbO2/B4 0TyXVMrLFI5xb7ptTIHcEkHY/5edNZ+7Mjn9ZjSW+zV3aYUie2Z8s3FQf/lAG0X4uIacCDFvugE8Y DVlcpI/rB9tW67ayg5nq5kOaFNitKq6XNnbyrUYsz1Fqkl2dpfrgDXUGLz11aLZTpdqy0cmyiKUZj /x04am4oin1891Z+dutEpAMhMVTk+2eiuL/bupDphcByJidToeWKAqAVsKFJyANeaLbmOpjK3lvCh 8HImM+b/nmXeBuDJT4rFOnYOLd/0OKAdA+d3HvRaOwGl5RK1rdkBlT8b/YzeSUxygwrA5Mt83FB+6 cnk/jdXfmaQPZfXGl8YXhg==; In-Reply-To: (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:283162 Archived-At: > Cc: 70357@debbugs.gnu.org > Date: Fri, 12 Apr 2024 16:43:56 -0400 > From: Stefan Monnier via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > If a seq.elc exists, and we dump bootstrap-emacs.pdmp, and seq.el gets > > loaded, then the cl-generic machinery will want to warn about the fact > > that certain method stuff in seq.elc is already compiled. This warning > > wants to use somethign from nadvice, and ultimately a recursive load > > (warnings.el requires icons.el, which uses seq, which leads to a > > warning, etc). > > As a general rule, it's better (long term) to try and fix those circular > dependencies by breaking the cycle. > > Maybe we could tweak `cl-generic` so it calls the byte-compiler in a way > that silences all the warnings? > Also, I'm not sure loading `icons` is necessary batch mode, so maybe we > could make that conditional. Me, I don't think I understand the situation well enough. How come this doesn't happen each time Emacs is built, for example? IOW, there's something in the situation that triggers this that doesn't happen "usually", and I don't understand from the description what that its. This first sentence: > If a seq.elc exists, and we dump bootstrap-emacs.pdmp, and seq.el gets > loaded, then the cl-generic machinery will want to warn about the fact > that certain method stuff in seq.elc is already compiled. lost me: why is that warning being emitted, if all we need is to load seq.el during loadup?