GNU bug report logs - #63302
29.0.90; Native comp does not respect byte-compile-warnings

Previous Next

Package: emacs;

Reported by: Jimmy Yuen Ho Wong <wyuenho <at> gmail.com>

Date: Fri, 5 May 2023 11:53:02 UTC

Severity: normal

Found in version 29.0.90

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andrea Corallo <akrl <at> sdf.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#63302: closed (29.0.90; Native comp does not respect
 byte-compile-warnings)
Date: Wed, 17 May 2023 13:15:04 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 17 May 2023 13:14:42 +0000
with message-id <xjfsfbvxfp9.fsf <at> ma.sdf.org>
and subject line Re: bug#63302: 29.0.90; Native comp does not respect byte-compile-warnings
has caused the debbugs.gnu.org bug report #63302,
regarding 29.0.90; Native comp does not respect byte-compile-warnings
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
63302: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63302
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jimmy Yuen Ho Wong <wyuenho <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.90; Native comp does not respect byte-compile-warnings
Date: Fri, 05 May 2023 12:51:47 +0100
`byte-compile-warnings` is commonly set to to remove `docstring` so
spurious `docstring wider than 80 characters` are removed.  When it is
set to such a way, normal byte compilation of a el file with a docstring
longer than 80 characters will not result in the above warning, but
natively compiling the same file will.

The expectation should be that nativecomp respects this variable at the
very least, or that the linting capabilities is moved out of byte
compilation into a seperate package ala elisp-lint. A compiler should
compile any program that is valid without producing any warnings except
obsolete/deprecations.


[Message part 3 (message/rfc822, inline)]
From: Andrea Corallo <akrl <at> sdf.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: wyuenho <at> gmail.com, 63302-done <at> debbugs.gnu.org
Subject: Re: bug#63302: 29.0.90; Native comp does not respect
 byte-compile-warnings
Date: Wed, 17 May 2023 13:14:42 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Andrea Corallo <akrl <at> sdf.org>
>> Cc: 63302 <at> debbugs.gnu.org, Jimmy Wong <wyuenho <at> gmail.com>
>> Date: Wed, 17 May 2023 07:49:19 +0000
>> 
>> Jimmy Wong <wyuenho <at> gmail.com> writes:
>> 
>> > This works, thank you!
>> 
>> Cool!
>> 
>> Eli do we want to have this into master or 29?
>
> Please install on emacs-29, and thanks.

Done as 1e57b2b4c79, closing then.

Thanks

  Andrea


This bug report was last modified 2 years and 9 days ago.

Previous Next


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