GNU bug report logs -
#42010
28.0.50; "You should byte-compile Gnus" message for natively compiled gnus.el
Previous Next
Reported by: Doug Davis <ddavis <at> ddavis.io>
Date: Mon, 22 Jun 2020 21:29:02 UTC
Severity: normal
Found in version 28.0.50
Done: Andrea Corallo <akrl <at> sdf.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#42010: 28.0.50; "You should byte-compile Gnus" message for natively compiled gnus.el
which was filed against the emacs,gnus package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 42010 <at> debbugs.gnu.org.
--
42010: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42010
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Arthur Miller <arthur.miller <at> live.com> writes:
> Andrea Corallo <akrl <at> sdf.org> writes:
>
>> Doug Davis <ddavis <at> ddavis.io> writes:
>>
>>> When running `gnus' with a native compiled Emacs build a message is
>>> reported in the minibuffer "You should byte-compile Gnus" and `sit-for'
>>> is called. I'm not sure what check is possible to see if a function is
>>> natively compiled, but perhaps it should be added to this logic in
>>> gnus.el:
>>>
>>> (unless (byte-code-function-p (symbol-function 'gnus))
>>> (message "You should byte-compile Gnus")
>>> (sit-for 2))
>>
>> I'll admint that added to my undenaiable laziness I probably skiped this
>> for so long cause was giving me a tiny satisfaction :)
>>
>> Should be fixed by:
>>
>> 801e19d0ba * lisp/gnus/gnus.el (gnus): Fix a check to handle native
>> compilation.
>>
>> Thanks for the feedback
>>
>> Andrea
> Just rebuild my Emacs and can confirm it if fixed.
>
> Build time seems to be even faster (on my 67k i7 cpu with -j8 switch).
>
> Awesome, thanks Andrea!
Great, thank you for the testing :)
closing
Andrea
--
akrl <at> sdf.org
[Message part 3 (message/rfc822, inline)]
When running `gnus' with a native compiled Emacs build a message is
reported in the minibuffer "You should byte-compile Gnus" and `sit-for'
is called. I'm not sure what check is possible to see if a function is
natively compiled, but perhaps it should be added to this logic in
gnus.el:
(unless (byte-code-function-p (symbol-function 'gnus))
(message "You should byte-compile Gnus")
(sit-for 2))
This bug report was last modified 4 years and 330 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.