unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: gerd.moellmann@gmail.com, 70357@debbugs.gnu.org
Subject: bug#70357: 30.0.50; loadup.el, load nadvice before seq
Date: Sat, 13 Apr 2024 09:19:07 +0300	[thread overview]
Message-ID: <861q79ss2s.fsf@gnu.org> (raw)
In-Reply-To: <jwva5ly5nc7.fsf-monnier+emacs@gnu.org> (bug-gnu-emacs@gnu.org)

> 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" <bug-gnu-emacs@gnu.org>
> 
> > 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?





  parent reply	other threads:[~2024-04-13  6:19 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-12 18:19 bug#70357: 30.0.50; loadup.el, load nadvice before seq Gerd Möllmann
2024-04-12 19:03 ` Eli Zaretskii
2024-04-12 20:43 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-13  4:01   ` Gerd Möllmann
2024-04-13  5:22   ` Gerd Möllmann
2024-04-13  6:19   ` Eli Zaretskii [this message]
2024-04-13  7:07     ` Gerd Möllmann
2024-04-13  7:31       ` Eli Zaretskii
2024-04-13  7:39         ` Gerd Möllmann
2024-04-13  9:29           ` Eli Zaretskii
2024-04-13 12:44       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-14  2:30         ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-14  6:26           ` Gerd Möllmann
2024-04-14  7:30             ` Eli Zaretskii
2024-04-14 12:48               ` Gerd Möllmann
2024-04-14 14:14         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-15  3:11           ` Gerd Möllmann
2024-04-15  6:16             ` Gerd Möllmann
2024-04-15  7:01               ` Gerd Möllmann
2024-04-15  7:55                 ` Gerd Möllmann
2024-04-15  8:01                   ` Gerd Möllmann
2024-04-15 12:11                     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-15 12:47                       ` Gerd Möllmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=861q79ss2s.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=70357@debbugs.gnu.org \
    --cc=gerd.moellmann@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).