From unknown Tue Jun 24 05:13:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63302: 29.0.90; Native comp does not respect byte-compile-warnings Resent-From: Jimmy Yuen Ho Wong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 May 2023 11:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63302 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 63302@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1683287532522 (code B ref -1); Fri, 05 May 2023 11:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 May 2023 11:52:12 +0000 Received: from localhost ([127.0.0.1]:53312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1putyu-00008M-7q for submit@debbugs.gnu.org; Fri, 05 May 2023 07:52:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:54422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1putyq-00008A-Ee for submit@debbugs.gnu.org; Fri, 05 May 2023 07:52:10 -0400 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 1putyk-0003yO-Rc for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 07:52:07 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1putyg-0007OR-BC for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 07:52:00 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3f315712406so95934575e9.0 for ; Fri, 05 May 2023 04:51:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683287516; x=1685879516; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=hwHbznfQIOI8+q4kpZdkgdvyJjqj5gRY/nM6dVpSARM=; b=U+2h6RoZD/CyaW5dnQod8K7ljGMehZR+3zvfog10u9tFVa+ebyilC6KPfgr4HzvXfg yySffQuvt7OGb9lKLyJCsWicKv78IIphy+D9PgpVMfdL/4dfyiRQOJQ6T7IbbmFwvWSY WOzC4qiLAaNEh4xXAuT2L0QRaJ8Dfscf8Y50oaOXwLJqXm+D5z1EyP9JoddM6+YsGy4v VG9YF3Oa9XFvPFVfR6fBrYgT5vphgg7PETVctGSJ4ewJriKdGWhZ5yvhJFe99CiGuUzM GukzLIlmom3/EfcFgz/ZTCpFp4XwJPs4kVFXT2bSfanWbV1Eu4jnAHQJrbfCIgdIlTSo KUSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683287516; x=1685879516; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hwHbznfQIOI8+q4kpZdkgdvyJjqj5gRY/nM6dVpSARM=; b=aXbyDC+Vd+1bxqpVfvEtAaqKVlRPu+Vo3ACyLDIgEtCA/yqG9wuE3zrIa3h1L1qpjJ pvac8sPviYD72ieBnVAiIcC2ISH91961gCy+54xo3Fe+dVRlMANzVaIpWhbNRVaypYIi Ry5JppjZPp3fW2/VOrhFptNa8sibY4X/xbRgRxhv41pLg+8gq+i49gxSrHzycrEn6uir gc4GWMk2vCmJQiBqNKFn9UURn310Zpo+tCr4UFop+R0hAAz/RQrgyeGbBd6CPtqdDdu7 jxW7hCaVqzqGHKyUEsJo70y6EObiNqrjfsYr5GyfE8F+bjU7GV1OkfXdIoEAnGpmVUfy YLjw== X-Gm-Message-State: AC+VfDxneW3nKSqUVnc8EC3Oo9q6ZA/curjB1jhbOrngLc0H6T8zBdLB ZVlMGjaSEH+Q+E2asNwlNDh2InBeYoE= X-Google-Smtp-Source: ACHHUZ5NFXW5BPc5dzik3UrLSh+tJFCPJYvxVy5rXoz+BhtDqmHhAnyKvTVCdxK0bfbn7LRm9Wr5/Q== X-Received: by 2002:a5d:510a:0:b0:2fb:ea86:36b8 with SMTP id s10-20020a5d510a000000b002fbea8636b8mr1178139wrt.5.1683287516091; Fri, 05 May 2023 04:51:56 -0700 (PDT) Received: from MobileCat.localdomain ([2a01:4b00:89a0:2400:89d5:55bb:3a9b:e187]) by smtp.gmail.com with ESMTPSA id a19-20020a5d4573000000b003063408dd62sm2190282wrc.65.2023.05.05.04.51.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 May 2023 04:51:54 -0700 (PDT) From: Jimmy Yuen Ho Wong Date: Fri, 05 May 2023 12:51:47 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=wyuenho@gmail.com; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) `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. From unknown Tue Jun 24 05:13:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63302: 29.0.90; Native comp does not respect byte-compile-warnings Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 May 2023 13:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63302 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jimmy Yuen Ho Wong , Andrea Corallo Cc: 63302@debbugs.gnu.org Received: via spool by 63302-submit@debbugs.gnu.org id=B63302.168329292920088 (code B ref 63302); Fri, 05 May 2023 13:23:02 +0000 Received: (at 63302) by debbugs.gnu.org; 5 May 2023 13:22:09 +0000 Received: from localhost ([127.0.0.1]:53394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puvNx-0005Dv-A4 for submit@debbugs.gnu.org; Fri, 05 May 2023 09:22:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puvNt-0005DF-HX for 63302@debbugs.gnu.org; Fri, 05 May 2023 09:22:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puvNm-0007Na-8y; Fri, 05 May 2023 09:21:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=c7QQpMnnCOsI+ryHcawCdEvQifk35ynHnZk6quRbJfc=; b=nuwmQK4kH04o 0YcVY50usUtQW7xl+YHGACVBYX+R/epar6XSE5byvcxAroQIxt31yvdmaUbBAWACZ3j1I4OXLYad7 SvnrlHCwOKD+xcgd7FhXfpGpxeSrUNnyUsIMopthwZFbU6wywukEnjqN1eLuORrsDkZ8ttxWPj4FT x5bVWPrgY38Hk5L00B0v6BGEmm//YvdhQMxCDzLUUghO40A/ac+YbmwHdVa7r2vbp3bJ4Te4AwQbx VlornckVtJag0YMd/xetRbjuRKZZjrgOylFYoKlIO/LGb+s7VJM15Vn/WtreYxHNwvpkuHc4a4MoQ hldKeAggeI38DpTfeSDyww==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puvNi-0008B8-Lp; Fri, 05 May 2023 09:21:56 -0400 Date: Fri, 05 May 2023 16:22:46 +0300 Message-Id: <83ild6j4k9.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Jimmy Yuen Ho Wong on Fri, 05 May 2023 12:51:47 +0100) References: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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? From unknown Tue Jun 24 05:13:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63302: 29.0.90; Native comp does not respect byte-compile-warnings Resent-From: Jimmy Yuen Ho Wong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 May 2023 16:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63302 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 63302@debbugs.gnu.org, Andrea Corallo Received: via spool by 63302-submit@debbugs.gnu.org id=B63302.168339200626642 (code B ref 63302); Sat, 06 May 2023 16:54:02 +0000 Received: (at 63302) by debbugs.gnu.org; 6 May 2023 16:53:26 +0000 Received: from localhost ([127.0.0.1]:35676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvL9y-0006ve-5S for submit@debbugs.gnu.org; Sat, 06 May 2023 12:53:26 -0400 Received: from mail-qv1-f44.google.com ([209.85.219.44]:59780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvL9u-0006vP-W6 for 63302@debbugs.gnu.org; Sat, 06 May 2023 12:53:24 -0400 Received: by mail-qv1-f44.google.com with SMTP id 6a1803df08f44-619be7d7211so14097576d6.3 for <63302@debbugs.gnu.org>; Sat, 06 May 2023 09:53:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683391997; x=1685983997; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=swpxnehJF5uvPa9EkFRUcRsLWZr9yUqqrVGM64/e9O0=; b=r3CNemlVu8Gc759eIfyLLOLHAfZqP1WZNVP0rl7AOu4GhoqVoepx7Hp7A4ja2R9o// T2LnvFfaX3F++Zkvo9Qyde+0s+QbuFJ18arAM7wf30XjVOY6l802OYT8/xgUGqWwxsR6 Q1I1wrVoW6EHBeP9x2V2wEAShDCTkSVdoFvynkosGotmN0NTX3ciijibcMOBQ6ccnGEt k69Br9FqcXnsgYScKFDNEBZfWPCAx47YQ4ZHXMQHSHTh1fpQ5LAfyynx3Rs5sg87NvFb eV0UFtfPEqYUuk2T06ui7aJhBVa0zFCHmnsFGGeqIpfdogfXZJf8U0cHyqF/CyXkgu6/ HYWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683391997; x=1685983997; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=swpxnehJF5uvPa9EkFRUcRsLWZr9yUqqrVGM64/e9O0=; b=jK8Rf9268b6SmBrp6l7T5nxrrZ/dz7vUbQfxnUQqkAMQo/u6+18GkG/wl74EaashyC 6JZyDnphGxsLZvt4k+ct6F1FJS2FuYeBRBLAY/ZI0lvBzomUry5EjQJpl+zw10tCLwqY S3a7hdyJk+5Ywo6ZSYkIM1U71EZnM7BxfEqo146XH16841N8MKa5Tr0H91MyDRz8E+aH mZoy0HCJHBW8OjCr8SHv0ngT/NvVa5k9kCMG3ix6qIIr+DxQlkc+pZsepfiFgwJpbc/G taLibSXfqGUlrhax3AmREl8xwt5pCw4TZ0QtIbz4xbpGMLU5c1DlXFZ6wriwxQg7E6WQ UdkA== X-Gm-Message-State: AC+VfDwz3tfT6IrLVjZbp0UOCbHoT0mtUiVN+F9yNstG/XhXTEAadjea h7zqvB4tJ7U0Nc+6JIwpqfnmcODxm147X7NB8us= X-Google-Smtp-Source: ACHHUZ6S6j/+7m1c1VZPi/rb36I24nauICbFZVIRCysiog6NDVl1Tr1lCG3LGuAOkuaMV8VKXQawJVln0F4mE9JmySc= X-Received: by 2002:a05:6214:509b:b0:5ef:4de6:c4f4 with SMTP id kk27-20020a056214509b00b005ef4de6c4f4mr6603549qvb.15.1683391997282; Sat, 06 May 2023 09:53:17 -0700 (PDT) MIME-Version: 1.0 References: <83ild6j4k9.fsf@gnu.org> In-Reply-To: <83ild6j4k9.fsf@gnu.org> From: Jimmy Yuen Ho Wong Date: Sat, 6 May 2023 17:52:35 +0100 Message-ID: Content-Type: multipart/alternative; boundary="000000000000040cad05fb093e99" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000040cad05fb093e99 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes I'm talking about nativecomp. Reproduction: 1. (setq package-native-compile t) 2. (setq byte-compile-warnings '(not docstrings docstrings-non-ascii-quotes)) 3. (setq native-comp-async-report-warnings-errors 'silent) 4. M-x package-install ov 5. Observe the differences between the *Compile-Log* buffer and the *Warnings* buffer. Jimmy On Fri, May 5, 2023 at 2:22=E2=80=AFPM Eli Zaretskii wrote: > > 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 docstrin= g > > 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? > --000000000000040cad05fb093e99 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes I'm talking about nativecomp.

Reproduc= tion:

1. (setq package-native-compile t)
2. (se= tq byte-compile-warnings '(not docstrings docstrings-non-ascii-quotes))=
3. (setq native-comp-async-report-warnings-errors 'silent)4. M-x package-install ov
5. Observe the differences between th= e *Compile-Log* buffer and the *Warnings* buffer.


Jimmy


=
On Fri, Ma= y 5, 2023 at 2:22=E2=80=AFPM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
> 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.=C2=A0 When = it is
> set to such a way, normal byte compilation of a el file with a docstri= ng
> 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 th= e
> very least, or that the linting capabilities is moved out of byte
> compilation into a seperate package ala elisp-lint. A compiler should<= br> > compile any program that is valid without producing any warnings excep= t
> 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.=C2=A0 Seeing a recipe for=
reproducing this will confirm or contradict my guess.

Andrea, any comments?
--000000000000040cad05fb093e99-- From unknown Tue Jun 24 05:13:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63302: 29.0.90; Native comp does not respect byte-compile-warnings 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 X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Jimmy Yuen Ho Wong , 63302@debbugs.gnu.org Received: via spool by 63302-submit@debbugs.gnu.org id=B63302.16837126799145 (code B ref 63302); Wed, 10 May 2023 09:58:01 +0000 Received: (at 63302) by debbugs.gnu.org; 10 May 2023 09:57:59 +0000 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 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 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 From: Andrea Corallo In-Reply-To: <83ild6j4k9.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 05 May 2023 16:22:46 +0300") References: <83ild6j4k9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Wed, 10 May 2023 09:57:53 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) 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 From unknown Tue Jun 24 05:13:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63302: 29.0.90; Native comp does not respect byte-compile-warnings Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 May 2023 11:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63302 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jimmy Yuen Ho Wong Cc: Eli Zaretskii , 63302@debbugs.gnu.org Received: via spool by 63302-submit@debbugs.gnu.org id=B63302.168371959710593 (code B ref 63302); Wed, 10 May 2023 11:54:01 +0000 Received: (at 63302) by debbugs.gnu.org; 10 May 2023 11:53:17 +0000 Received: from localhost ([127.0.0.1]:45420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwiNg-0002kn-Ot for submit@debbugs.gnu.org; Wed, 10 May 2023 07:53:17 -0400 Received: from ma.sdf.org ([205.166.94.33]:54294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwiNe-0002kf-Ti for 63302@debbugs.gnu.org; Wed, 10 May 2023 07:53:15 -0400 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1pwiNc-0003x7-MQ; Wed, 10 May 2023 11:53:12 +0000 From: Andrea Corallo References: <83ild6j4k9.fsf@gnu.org> Date: Wed, 10 May 2023 11:53:12 +0000 In-Reply-To: (Jimmy Yuen Ho Wong's message of "Sat, 6 May 2023 17:52:35 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 4.3 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Jimmy Yuen Ho Wong writes: > Yes I'm talking about nativecomp. > > Reproduction: > > 1. (setq package-native-compile t) > 2. (setq byte-compile-warnings '(not docstrings docstrings-non-ascii-quotes)) > 3. (setq native-comp-asyn [...] Content analysis details: (4.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [205.166.94.33 listed in zen.spamhaus.org] 0.7 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.3 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Jimmy Yuen Ho Wong writes: > Yes I'm talking about nativecomp. > > Reproduction: > > 1. (setq package-native-compile t) > 2. (setq byte-compile-warnings '(not docstrings docstrings-non-ascii-quotes)) > 3. (setq native-comp-asyn [...] Content analysis details: (3.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [205.166.94.33 listed in zen.spamhaus.org] 0.7 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Jimmy Yuen Ho Wong writes: > Yes I'm talking about nativecomp. > > Reproduction: > > 1. (setq package-native-compile t) > 2. (setq byte-compile-warnings '(not docstrings docstrings-non-ascii-quotes)) > 3. (setq native-comp-async-report-warnings-errors 'silent) > 4. M-x package-install ov > 5. Observe the differences between the *Compile-Log* buffer and the *Warnings* buffer. > > Jimmy Hi Jimmy, could you try the attached and report if it solves the reported issue? Best Regards Andrea --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=warning.patch diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 025d21631bb..d7a60b9f007 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -3732,6 +3732,7 @@ comp-final ',native-comp-compiler-options native-comp-driver-options ',native-comp-driver-options + byte-compile-warnings ',byte-compile-warnings load-path ',load-path) ,native-comp-async-env-modifier-form (message "Compiling %s..." ',output) @@ -4004,6 +4005,7 @@ comp-run-async-workers native-comp-driver-options load-path backtrace-line-length + byte-compile-warnings ;; package-load-list ;; package-user-dir ;; package-directory-list --=-=-=-- From unknown Tue Jun 24 05:13:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63302: 29.0.90; Native comp does not respect byte-compile-warnings Resent-From: Jimmy Wong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 May 2023 21:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63302 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andrea Corallo Cc: Eli Zaretskii , 63302@debbugs.gnu.org Received: via spool by 63302-submit@debbugs.gnu.org id=B63302.168410148812350 (code B ref 63302); Sun, 14 May 2023 21:59:01 +0000 Received: (at 63302) by debbugs.gnu.org; 14 May 2023 21:58:08 +0000 Received: from localhost ([127.0.0.1]:41846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pyJjD-0003D8-PG for submit@debbugs.gnu.org; Sun, 14 May 2023 17:58:08 -0400 Received: from mail-wr1-f50.google.com ([209.85.221.50]:56831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pyJjB-0003CX-ET for 63302@debbugs.gnu.org; Sun, 14 May 2023 17:58:05 -0400 Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-3063208beedso11457080f8f.1 for <63302@debbugs.gnu.org>; Sun, 14 May 2023 14:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684101479; x=1686693479; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=3j3sdqPTYuEUftVJ8k426dXZVY3k7+6/b7w7ilfPKY8=; b=UOYm3QxR2xAqDk4AZkuaF81WcHzHK44fBhGlU2RGH935IWSXTyQwmSXudXV9tOegGZ +ohqWm0y8/junR2QIF4CC/yNP1XHVcG37gZhHEmW+q6zpizGDULTY9qvwkCamP0j1HHC 3fmYUbBmCL9502SUOqLOFkXPYKYm0GPuGcsdi8xvxhsCbj9+vkZhAbtzv8M/OQjf4xoE S/2WtPntUoXHIeLvmeAxAB5iyEby0RUacFSjkn7LCo4oxGYQ3oY93b1/jTz1BeJM/goa J+3+HW05vUqLBMzGHVxOM/j6l2LrvKlcGpHULkBGZK1N5pXSuRvnYKWuVXT/2L5+ZzyH P/hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684101479; x=1686693479; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3j3sdqPTYuEUftVJ8k426dXZVY3k7+6/b7w7ilfPKY8=; b=YUk91NGn9ist76aZBjA6KCIxcjkyYupQ8rY2Fe8qjJWDAeBA0Qsmqm4tyhHkQ44yii icyLRgfKNSvM+hOe60t/227FkiHAPuUrozXSYag2362RbgKTDLwJxecFUfUQxfBucMR4 PGhVBFF6EW+9/iQVnMMxg+rON65f32nyvuZDgK0B1mFUng/Bl8lGyVj10IJ9BnUOyqLR GoUwlvwvn6SyncyUJH29NWzWtYTYgeqhzP+lfjZT/5NPxmj8yxJw8teoIWKm7hc0KSEE QhvLtc0yV7zudLXCx1UAq0oh3pXri/o41ryjp89DEdzpynLtPo1+A5OkAVTylcJDiLGB 9wsw== X-Gm-Message-State: AC+VfDy+CLD6nB38of07bqELoqeXa/GSmYYjRVk+Y1yF2R4hmVWEvNU0 TxdTuPnb3GkPN871oPpI/IjKI5j993M= X-Google-Smtp-Source: ACHHUZ6oukgGWYZCKHL5eyb/Ty+IfFFdquJHMoMYpYLibNanVQ7M1N1g7eUaywyWDCBy3lRm9X8CNw== X-Received: by 2002:a05:6000:1191:b0:306:462a:b78d with SMTP id g17-20020a056000119100b00306462ab78dmr20126006wrx.53.1684101479051; Sun, 14 May 2023 14:57:59 -0700 (PDT) Received: from [2a01:4b00:89a0:2400::ffff:ffff] ([2a01:4b00:89a0:2400:58dc:4a32:1bff:7984]) by smtp.gmail.com with ESMTPSA id j18-20020adfff92000000b00307bc4e39e5sm14442703wrr.117.2023.05.14.14.57.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 May 2023 14:57:58 -0700 (PDT) Date: Sun, 14 May 2023 22:57:52 +0100 From: Jimmy Wong Message-ID: <04aa1c13-8a5a-4a8a-884f-24a7f70f5607@Spark> In-Reply-To: References: <83ild6j4k9.fsf@gnu.org> X-Readdle-Message-ID: 04aa1c13-8a5a-4a8a-884f-24a7f70f5607@Spark MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="64615965_760f6847_b973" X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This works, thank you! On 10 May 2023 at 12:53 PM +0100, Andrea Corallo , wrote: > Jimmy Yuen Ho Wong writes: > > > Yes I'm talking about nativecomp. > > > > Reproduction: > > > > 1. (setq package- [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (wyuenho[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_IMAGE_ONLY_16 BODY: HTML: images with 1200-1600 bytes of words 0.0 HTML_MESSAGE BODY: HTML included in message -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.50 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.50 listed in wl.mailspike.net] 0.0 T_REMOTE_IMAGE Message contains an external image X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --64615965_760f6847_b973 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline This works, thank you! On 10 May 2023 at 12:53 PM +0100, Andrea Corallo , wrote: > Jimmy Yuen Ho Wong writes: > > > Yes I'm talking about nativecomp. > > > > Reproduction: > > > > 1. (setq package-native-compile t) > > 2. (setq byte-compile-warnings '(not docstrings docstrings-non-ascii-quotes)) > > 3. (setq native-comp-async-report-warnings-errors 'silent) > > 4. M-x package-install ov > > 5. Observe the differences between the *Compile-Log* buffer and the *Warnings* buffer. > > > > Jimmy > > Hi Jimmy, > > could you try the attached and report if it solves the reported issue? > > Best Regards > > Andrea > --64615965_760f6847_b973 Content-Type: multipart/related; boundary="64615965_69bdea2f_b973" --64615965_69bdea2f_b973 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
This works, thank you=21
On 10 May 2023 at 12:53 PM +0100, A= ndrea Corallo <akrl=40sdf.org>, wrote:
Jimmy Yuen Ho Wong <wyuenho=40gmail.com> writes:

Yes I'm talking about nativecomp.

Reproduction:

1. (setq package-native-compile t)
2. (setq byte-compile-warnings '(not docstrings docstrings-non-ascii-quot= es))
3. (setq native-comp-async-report-warnings-errors 'silent)
4. M-x package-install ov
5. Observe the differences between the *Compile-Log* buffer and the *Warn= ings* buffer.

Jimmy

Hi Jimmy,

could you try the attached and report if it solves the reported issue=3F<= br />
Best Regards

Andrea

--64615965_69bdea2f_b973 Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="warning.patch" ZGlmZiAtLWdpdCBhL2xpc3AvZW1hY3MtbGlzcC9jb21wLmVsIGIvbGlzcC9lbWFjcy1saXNwL2Nv bXAuZWwNCmluZGV4IDAyNWQyMTYzMWJiLi5kN2E2MGI5ZjAwNyAxMDA2NDQNCi0tLSBhL2xpc3Av ZW1hY3MtbGlzcC9jb21wLmVsDQorKysgYi9saXNwL2VtYWNzLWxpc3AvY29tcC5lbA0KQEAgLTM3 MzIsNiArMzczMiw3IEBAIGNvbXAtZmluYWwNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAn LG5hdGl2ZS1jb21wLWNvbXBpbGVyLW9wdGlvbnMNCiAgICAgICAgICAgICAgICAgICAgICAgICAg ICBuYXRpdmUtY29tcC1kcml2ZXItb3B0aW9ucw0KICAgICAgICAgICAgICAgICAgICAgICAgICAg ICcsbmF0aXZlLWNvbXAtZHJpdmVyLW9wdGlvbnMNCisgICAgICAgICAgICAgICAgICAgICAgICAg ICBieXRlLWNvbXBpbGUtd2FybmluZ3MgJyxieXRlLWNvbXBpbGUtd2FybmluZ3MNCiAgICAgICAg ICAgICAgICAgICAgICAgICAgICBsb2FkLXBhdGggJyxsb2FkLXBhdGgpDQogICAgICAgICAgICAg ICAgICAgICAgLG5hdGl2ZS1jb21wLWFzeW5jLWVudi1tb2RpZmllci1mb3JtDQogICAgICAgICAg ICAgICAgICAgICAgKG1lc3NhZ2UgIkNvbXBpbGluZyAlcy4uLiIgJyxvdXRwdXQpDQpAQCAtNDAw NCw2ICs0MDA1LDcgQEAgY29tcC1ydW4tYXN5bmMtd29ya2Vycw0KICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5hdGl2ZS1jb21wLWRyaXZlci1vcHRpb25zDQog ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbG9hZC1wYXRoDQog ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYmFja3RyYWNlLWxp bmUtbGVuZ3RoDQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg Ynl0ZS1jb21waWxlLXdhcm5pbmdzDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgOzsgcGFja2FnZS1sb2FkLWxpc3QNCiAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICA7OyBwYWNrYWdlLXVzZXItZGlyDQogICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgOzsgcGFja2FnZS1kaXJlY3RvcnktbGlz dA0K --64615965_69bdea2f_b973-- --64615965_760f6847_b973-- From unknown Tue Jun 24 05:13:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63302: 29.0.90; Native comp does not respect byte-compile-warnings Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 May 2023 07:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63302 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 63302@debbugs.gnu.org, Jimmy Wong Received: via spool by 63302-submit@debbugs.gnu.org id=B63302.16843097638083 (code B ref 63302); Wed, 17 May 2023 07:50:01 +0000 Received: (at 63302) by debbugs.gnu.org; 17 May 2023 07:49:23 +0000 Received: from localhost ([127.0.0.1]:48768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzBuU-00026J-SO for submit@debbugs.gnu.org; Wed, 17 May 2023 03:49:23 -0400 Received: from ma.sdf.org ([205.166.94.33]:34384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzBuT-000269-3x for 63302@debbugs.gnu.org; Wed, 17 May 2023 03:49:21 -0400 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1pzBuR-0000nE-DC; Wed, 17 May 2023 07:49:19 +0000 From: Andrea Corallo In-Reply-To: <04aa1c13-8a5a-4a8a-884f-24a7f70f5607@Spark> (Jimmy Wong's message of "Sun, 14 May 2023 22:57:52 +0100") References: <83ild6j4k9.fsf@gnu.org> <04aa1c13-8a5a-4a8a-884f-24a7f70f5607@Spark> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Wed, 17 May 2023 07:49:19 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Jimmy Wong writes: > This works, thank you! Cool! Eli do we want to have this into master or 29? Best Regards Andrea From unknown Tue Jun 24 05:13:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63302: 29.0.90; Native comp does not respect byte-compile-warnings Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 May 2023 11:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63302 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andrea Corallo Cc: 63302@debbugs.gnu.org, wyuenho@gmail.com Received: via spool by 63302-submit@debbugs.gnu.org id=B63302.168432155132112 (code B ref 63302); Wed, 17 May 2023 11:06:02 +0000 Received: (at 63302) by debbugs.gnu.org; 17 May 2023 11:05:51 +0000 Received: from localhost ([127.0.0.1]:49096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzEyd-0008Ls-D8 for submit@debbugs.gnu.org; Wed, 17 May 2023 07:05:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzEyb-0008Lc-Vv for 63302@debbugs.gnu.org; Wed, 17 May 2023 07:05:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzEyV-0005dO-Gc; Wed, 17 May 2023 07:05:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=duoSSFgb1rRoSLrn0GkvRQ7uOZpjftKgyTrmbEwP9Kk=; b=roid9uV9HiAh IZHGYaSZVf8VuwjRRS9NyZvrB1UKNMxaPvCaqiTJwFkSd8twHSvVZgUApdFNmEhVT7GOr48tOdI6G TL/oBgncWbXhraAL3hMjte7MLjOQtY77fSz9nrUxKbek1kyoZrG+11VLwjiOsv/fXbSnqdRHDqR3L LnOo07vCreLHHdke5wStg3KVgYrWMSMkYDNRT/ven9SHFmQ5pfxlRgsKRTuk4a1ita/HClyNDureT T7jd7EvDcjal5cF84JIFVMROYmIPxMzHItLDzR/mqKhBjTdU5/5MYZQFRHtbFMx+b4HFSuvxShCi9 yqjcPG7UfenFto86S3vRzQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzEyC-0002vn-S6; Wed, 17 May 2023 07:05:27 -0400 Date: Wed, 17 May 2023 14:05:34 +0300 Message-Id: <83wn17xloh.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Andrea Corallo on Wed, 17 May 2023 07:49:19 +0000) References: <83ild6j4k9.fsf@gnu.org> <04aa1c13-8a5a-4a8a-884f-24a7f70f5607@Spark> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andrea Corallo > Cc: 63302@debbugs.gnu.org, Jimmy Wong > Date: Wed, 17 May 2023 07:49:19 +0000 > > Jimmy Wong writes: > > > This works, thank you! > > Cool! > > Eli do we want to have this into master or 29? Please install on emacs-29, and thanks. From unknown Tue Jun 24 05:13:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jimmy Yuen Ho Wong Subject: bug#63302: closed (Re: bug#63302: 29.0.90; Native comp does not respect byte-compile-warnings) Message-ID: References: X-Gnu-PR-Message: they-closed 63302 X-Gnu-PR-Package: emacs Reply-To: 63302@debbugs.gnu.org Date: Wed, 17 May 2023 13:15:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1684329304-23897-1" This is a multi-part message in MIME format... ------------=_1684329304-23897-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #63302: 29.0.90; Native comp does not respect byte-compile-warnings which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 63302@debbugs.gnu.org. --=20 63302: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D63302 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1684329304-23897-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 63302-done) by debbugs.gnu.org; 17 May 2023 13:14:45 +0000 Received: from localhost ([127.0.0.1]:49269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzGzM-0006CA-Rm for submit@debbugs.gnu.org; Wed, 17 May 2023 09:14:45 -0400 Received: from ma.sdf.org ([205.166.94.33]:39014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzGzL-0006C0-Mt for 63302-done@debbugs.gnu.org; Wed, 17 May 2023 09:14:44 -0400 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1pzGzK-0006j3-F5; Wed, 17 May 2023 13:14:42 +0000 From: Andrea Corallo To: Eli Zaretskii Subject: Re: bug#63302: 29.0.90; Native comp does not respect byte-compile-warnings References: <83ild6j4k9.fsf@gnu.org> <04aa1c13-8a5a-4a8a-884f-24a7f70f5607@Spark> <83wn17xloh.fsf@gnu.org> Date: Wed, 17 May 2023 13:14:42 +0000 In-Reply-To: <83wn17xloh.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 17 May 2023 14:05:34 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 63302-done Cc: wyuenho@gmail.com, 63302-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Eli Zaretskii writes: >> From: Andrea Corallo >> Cc: 63302@debbugs.gnu.org, Jimmy Wong >> Date: Wed, 17 May 2023 07:49:19 +0000 >> >> Jimmy Wong 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 ------------=_1684329304-23897-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 May 2023 11:52:12 +0000 Received: from localhost ([127.0.0.1]:53312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1putyu-00008M-7q for submit@debbugs.gnu.org; Fri, 05 May 2023 07:52:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:54422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1putyq-00008A-Ee for submit@debbugs.gnu.org; Fri, 05 May 2023 07:52:10 -0400 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 1putyk-0003yO-Rc for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 07:52:07 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1putyg-0007OR-BC for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 07:52:00 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3f315712406so95934575e9.0 for ; Fri, 05 May 2023 04:51:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683287516; x=1685879516; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=hwHbznfQIOI8+q4kpZdkgdvyJjqj5gRY/nM6dVpSARM=; b=U+2h6RoZD/CyaW5dnQod8K7ljGMehZR+3zvfog10u9tFVa+ebyilC6KPfgr4HzvXfg yySffQuvt7OGb9lKLyJCsWicKv78IIphy+D9PgpVMfdL/4dfyiRQOJQ6T7IbbmFwvWSY WOzC4qiLAaNEh4xXAuT2L0QRaJ8Dfscf8Y50oaOXwLJqXm+D5z1EyP9JoddM6+YsGy4v VG9YF3Oa9XFvPFVfR6fBrYgT5vphgg7PETVctGSJ4ewJriKdGWhZ5yvhJFe99CiGuUzM GukzLIlmom3/EfcFgz/ZTCpFp4XwJPs4kVFXT2bSfanWbV1Eu4jnAHQJrbfCIgdIlTSo KUSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683287516; x=1685879516; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hwHbznfQIOI8+q4kpZdkgdvyJjqj5gRY/nM6dVpSARM=; b=aXbyDC+Vd+1bxqpVfvEtAaqKVlRPu+Vo3ACyLDIgEtCA/yqG9wuE3zrIa3h1L1qpjJ pvac8sPviYD72ieBnVAiIcC2ISH91961gCy+54xo3Fe+dVRlMANzVaIpWhbNRVaypYIi Ry5JppjZPp3fW2/VOrhFptNa8sibY4X/xbRgRxhv41pLg+8gq+i49gxSrHzycrEn6uir gc4GWMk2vCmJQiBqNKFn9UURn310Zpo+tCr4UFop+R0hAAz/RQrgyeGbBd6CPtqdDdu7 jxW7hCaVqzqGHKyUEsJo70y6EObiNqrjfsYr5GyfE8F+bjU7GV1OkfXdIoEAnGpmVUfy YLjw== X-Gm-Message-State: AC+VfDxneW3nKSqUVnc8EC3Oo9q6ZA/curjB1jhbOrngLc0H6T8zBdLB ZVlMGjaSEH+Q+E2asNwlNDh2InBeYoE= X-Google-Smtp-Source: ACHHUZ5NFXW5BPc5dzik3UrLSh+tJFCPJYvxVy5rXoz+BhtDqmHhAnyKvTVCdxK0bfbn7LRm9Wr5/Q== X-Received: by 2002:a5d:510a:0:b0:2fb:ea86:36b8 with SMTP id s10-20020a5d510a000000b002fbea8636b8mr1178139wrt.5.1683287516091; Fri, 05 May 2023 04:51:56 -0700 (PDT) Received: from MobileCat.localdomain ([2a01:4b00:89a0:2400:89d5:55bb:3a9b:e187]) by smtp.gmail.com with ESMTPSA id a19-20020a5d4573000000b003063408dd62sm2190282wrc.65.2023.05.05.04.51.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 May 2023 04:51:54 -0700 (PDT) From: Jimmy Yuen Ho Wong To: bug-gnu-emacs@gnu.org Subject: 29.0.90; Native comp does not respect byte-compile-warnings Date: Fri, 05 May 2023 12:51:47 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=wyuenho@gmail.com; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) `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. ------------=_1684329304-23897-1--