From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#63302: 29.0.90; Native comp does not respect byte-compile-warnings Date: Wed, 10 May 2023 09:57:53 +0000 Message-ID: References: <83ild6j4k9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34610"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Jimmy Yuen Ho Wong , 63302@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 10 11:58:18 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pwgaP-0008mW-U9 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 May 2023 11:58:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwgaC-0000LH-Rk; Wed, 10 May 2023 05:58:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwgaA-0000L7-QG for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 05:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwgaA-0001Ss-IK for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 05:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwgaA-0002Ni-0u for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 05:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 May 2023 09:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63302 X-GNU-PR-Package: emacs Original-Received: via spool by 63302-submit@debbugs.gnu.org id=B63302.16837126799145 (code B ref 63302); Wed, 10 May 2023 09:58:01 +0000 Original-Received: (at 63302) by debbugs.gnu.org; 10 May 2023 09:57:59 +0000 Original-Received: from localhost ([127.0.0.1]:45260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwga6-0002NQ-JL for submit@debbugs.gnu.org; Wed, 10 May 2023 05:57:58 -0400 Original-Received: from ma.sdf.org ([205.166.94.33]:57186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwga3-0002NH-6P for 63302@debbugs.gnu.org; Wed, 10 May 2023 05:57:57 -0400 Original-Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1pwga1-0003Jy-TS; Wed, 10 May 2023 09:57:53 +0000 In-Reply-To: <83ild6j4k9.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 05 May 2023 16:22:46 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261476 Archived-At: Eli Zaretskii writes: >> From: Jimmy Yuen Ho Wong >> 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. > > Please show a recipe for reproducing this warning from native > compilation. > > I suspect that you are talking about JIT native-compilation, which > happens in a separate Emacs process, in which case we need a way of > injecting settings into that separate process to suppress warnings > selectively, or for doing any other similar jobs. Seeing a recipe for > reproducing this will confirm or contradict my guess. > > Andrea, any comments? Hi Eli, yep, I guess we probably have to just forward the variable to the spawned processes. Will look at that and report. Andrea