GNU bug report logs - #70357
30.0.50; loadup.el, load nadvice before seq

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Fri, 12 Apr 2024 18:21:03 UTC

Severity: normal

Found in version 30.0.50

Full log


Message #26 received at 70357 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: 70357 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#70357: 30.0.50; loadup.el, load nadvice before seq
Date: Sat, 13 Apr 2024 10:31:28 +0300
> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
> Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>,  70357 <at> debbugs.gnu.org
> Date: Sat, 13 Apr 2024 09:07:43 +0200
> 
> Eli Zaretskii <eliz <at> 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?

> 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?




This bug report was last modified 1 year and 64 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.