unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 70357@debbugs.gnu.org, monnier@iro.umontreal.ca
Subject: bug#70357: 30.0.50; loadup.el, load nadvice before seq
Date: Sat, 13 Apr 2024 09:39:10 +0200	[thread overview]
Message-ID: <m2bk6dyan5.fsf@Pro.fritz.box> (raw)
In-Reply-To: <86o7adra5r.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 13 Apr 2024 10:31:28 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Gerd Möllmann <gerd.moellmann@gmail.com>
>> Cc: Stefan Monnier <monnier@iro.umontreal.ca>,  70357@debbugs.gnu.org
>> Date: Sat, 13 Apr 2024 09:07:43 +0200
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> >> 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?
>> 
>> loadup.el loads seq.elc in my case, not seq.el, and I think that's the
>> difference.
>
> But loadup always loads seq.elc, except when seq.el is newer, so what
> am I still missing here?

I can't answer that. Maybe it's the --temacs=pbootstrap that is used for
dumping? But that's just a guess, I don't know what that does. At least
that seems to be a difference.

>
>> My mental model is, Stefan please correct me, that cl-generic calls the
>> compiler on method functions, effective method function, and such.
>> 
>> If seq.el, the source file, is loaded from loadup, these functions are
>> not yet compiled. If seq.elc is loaded, the functions are apparently
>> already compiled, and a warning is emitted.
>
> How to create this situation?

I get that regularly when I make changes in some .c file, build in src,
which builds a new temacs, and so on, and all while seq.elc exists.





  reply	other threads:[~2024-04-13  7:39 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
2024-04-13  7:07     ` Gerd Möllmann
2024-04-13  7:31       ` Eli Zaretskii
2024-04-13  7:39         ` Gerd Möllmann [this message]
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=m2bk6dyan5.fsf@Pro.fritz.box \
    --to=gerd.moellmann@gmail.com \
    --cc=70357@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --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).