From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jimmy Yuen Ho Wong Newsgroups: gmane.emacs.bugs Subject: bug#63310: 29.0.90; Blacklisting docstrings and docstrings-non-ascii-quotes from byte-compile-warnings do not prevent all docstring warnings Date: Sat, 6 May 2023 17:39:56 +0100 Message-ID: References: <83a5yhhkdo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000bfd82105fb09104e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1975"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63310@debbugs.gnu.org, Stefan Monnier To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 06 18:41:11 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 1pvKy6-0000Pb-8h for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 May 2023 18:41:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvKy0-0000hN-C1; Sat, 06 May 2023 12:41:04 -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 1pvKxy-0000gy-B3 for bug-gnu-emacs@gnu.org; Sat, 06 May 2023 12:41: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 1pvKxy-0004qT-24 for bug-gnu-emacs@gnu.org; Sat, 06 May 2023 12:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pvKxx-0006Ub-Nd for bug-gnu-emacs@gnu.org; Sat, 06 May 2023 12:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jimmy Yuen Ho Wong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 May 2023 16:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63310 X-GNU-PR-Package: emacs Original-Received: via spool by 63310-submit@debbugs.gnu.org id=B63310.168339124724928 (code B ref 63310); Sat, 06 May 2023 16:41:01 +0000 Original-Received: (at 63310) by debbugs.gnu.org; 6 May 2023 16:40:47 +0000 Original-Received: from localhost ([127.0.0.1]:35668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvKxi-0006U0-KW for submit@debbugs.gnu.org; Sat, 06 May 2023 12:40:47 -0400 Original-Received: from mail-qk1-f179.google.com ([209.85.222.179]:62542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvKxf-0006Tl-R2 for 63310@debbugs.gnu.org; Sat, 06 May 2023 12:40:45 -0400 Original-Received: by mail-qk1-f179.google.com with SMTP id af79cd13be357-7515631b965so1345757285a.0 for <63310@debbugs.gnu.org>; Sat, 06 May 2023 09:40:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683391238; x=1685983238; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=f7NnKrxCH1dedHp3gjQmwzfN+vxTacZ9psz7UGxQ3jY=; b=kFZTNKmw1ENeCjfByCXII9YnVrUlqWmbQxARNngmAwvhDr2ybYVKuO9H1k2GpWrD2G RrJPX0a6WYlu5o3fwpdop2sxN4yjP0jdbnb3FOi55OA2ySzLUo1wVWJr5gSfD3Qrptqz 3Np4IbTj5kitHVIIIoAfjOA9upKy+ZMacI2xkCRbHJfzHiYLEtRcgleiIcazJr+I8Gyv 7sKL0VCTzwpBktkOSxfUM1nKpDFeoO4ZHlqIgLUNwB9cOPNVfphcs3rcH56iH1jwO89V vmT8I0zaBbWv+i9yy/GPFHDanDi6BXb6C//i2QDGgOljsOJE6bv2pHUA4nC4vzD4l/Ho Zmvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683391238; x=1685983238; 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=f7NnKrxCH1dedHp3gjQmwzfN+vxTacZ9psz7UGxQ3jY=; b=YQRNodFECzCOkKQpI6x4rOxcimTDE14fnw2M49ZEcYhT0N+5rK4tR6m3sOHQdw9fdl CDl6w8iIYdCuAUkKDrLp30LXbxqjuf2JgrfdmMwwc8Xd8tv0m+4H8uL9sWKoNDP4kwBP jIWgianIxpkT5DNPOvJ7sbZjiwFAgQVBXnSitNH8kLOBBW9L3xbAMG0cDuYWie3Q9VGH gxWdMS2rO+d2NeqwvPiE+aOdG94yUTp7kxDanI36BPHWKFW1tYwYkNZ0EHxoJXPF3ZZ2 2otRkg8wOnTfUhTO4GtrIqlvwrjM1Vren9Mq5ZX1HME86qi/uA+jGEst2Xm7C7xfoidM XOEQ== X-Gm-Message-State: AC+VfDyyUO8hS/dNu/SI6WgKDBjBINLCDXQhf9G8iPNuEFHVc3aNeMK3 ZvKw0HEcaQ6CfaYPDJv0nscIvx7UWIuNZNIB2UQ= X-Google-Smtp-Source: ACHHUZ4o/rZyeyFTsvvzpg82ydhULl8v2uRdUEdcGLuMYiDAwhjVh50ZW4s22CF9zPEhO1R22xMlwG6f6DtQXLn18bI= X-Received: by 2002:a05:6214:5003:b0:56c:2344:a58b with SMTP id jo3-20020a056214500300b0056c2344a58bmr20037637qvb.12.1683391237837; Sat, 06 May 2023 09:40:37 -0700 (PDT) In-Reply-To: <83a5yhhkdo.fsf@gnu.org> 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:261202 Archived-At: --000000000000bfd82105fb09104e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry both message came from monky. I didn't notice the file local variables set at the bottom. There is indeed no bug here, sorry about this, you can close this. Jimmy On Sat, May 6, 2023 at 10:35=E2=80=AFAM Eli Zaretskii wrote: > > From: Jimmy Yuen Ho Wong > > Date: Fri, 05 May 2023 16:07:20 +0100 > > > > > > Reproduction: > > > > 1. `(custom-set-variables '(byte-compile-warnings '(not docstrings > > docstrings-non-ascii-quotes)))` > > 2. M-x package-install RET move-dup > > 3. M-x package-install RET monky > > 4. Observe in the *Compile-Log* buffer the `custom-declare-variable > > ... docstring has wrong usage of unescaped single quotes (use \=3D or > different quoting)` and `docstring wider than ... characters` mesages > > > > Expectation: > > > > Blacklisting docstrings and docstrings-non-ascii-quotes should not resu= lt > > in any docstring warnings being emitted during byte compilation. > > I don't see any warnings when compiling the latest version of > move-dup. > > As for monkey: it explicitly sets the value of byte-compile-warnings > in file-local variables: > > ;; Local Variables: > ;; byte-compile-warnings: (not cl-functions) > ;; End: > > So this overrides your customization when byte-compiling this file. > > I see no bug here. > --000000000000bfd82105fb09104e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry both message came from monky. I didn't notice th= e file local variables set at the bottom. There is indeed no bug here, sorr= y about this, you can close this.
Jimmy


On Sat, May 6, 2023 at 10:35=E2=80=AFAM Eli Z= aretskii <eliz@gnu.org> wrote:
> From: Jimmy Y= uen Ho Wong <wyue= nho@gmail.com>
> Date: Fri, 05 May 2023 16:07:20 +0100
>
>
> Reproduction:
>
> 1. `(custom-set-variables '(byte-compile-warnings '(not docstr= ings
> docstrings-non-ascii-quotes)))`
> 2. M-x package-install RET move-dup
> 3. M-x package-install RET monky
> 4. Observe in the *Compile-Log* buffer the `custom-declare-variable > ... docstring has wrong usage of unescaped single quotes (use \=3D or = different quoting)` and `docstring wider than ... characters` mesages
>
> Expectation:
>
> Blacklisting docstrings and docstrings-non-ascii-quotes should not res= ult
> in any docstring warnings being emitted during byte compilation.

I don't see any warnings when compiling the latest version of
move-dup.

As for monkey: it explicitly sets the value of byte-compile-warnings
in file-local variables:

=C2=A0 ;; Local Variables:
=C2=A0 ;; byte-compile-warnings: (not cl-functions)
=C2=A0 ;; End:

So this overrides your customization when byte-compiling this file.

I see no bug here.
--000000000000bfd82105fb09104e--