From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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, 06 May 2023 12:36:19 +0300 Message-ID: <83a5yhhkdo.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5257"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63310@debbugs.gnu.org, Stefan Monnier To: Jimmy Yuen Ho Wong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 06 11:36:22 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 1pvEKz-00015e-Tt for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 May 2023 11:36:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvEKi-0000Gy-Cj; Sat, 06 May 2023 05:36: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 1pvEKg-0000Gp-QH for bug-gnu-emacs@gnu.org; Sat, 06 May 2023 05:36: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 1pvEKg-0005my-I8 for bug-gnu-emacs@gnu.org; Sat, 06 May 2023 05:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pvEKg-0007Vv-Db for bug-gnu-emacs@gnu.org; Sat, 06 May 2023 05:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 May 2023 09:36:02 +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.168336573528846 (code B ref 63310); Sat, 06 May 2023 09:36:02 +0000 Original-Received: (at 63310) by debbugs.gnu.org; 6 May 2023 09:35:35 +0000 Original-Received: from localhost ([127.0.0.1]:59432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvEKE-0007VB-MA for submit@debbugs.gnu.org; Sat, 06 May 2023 05:35:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvEKA-0007Uw-9A for 63310@debbugs.gnu.org; Sat, 06 May 2023 05:35:33 -0400 Original-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 1pvEK4-0005bf-BS; Sat, 06 May 2023 05:35:24 -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=8EZNOJClSqNrxRacySvIkQvZ9VlpiBRz552x5ptBDFQ=; b=iHfXVfvnJwf7 avOdEcwqz8t91M8ixKvIg1wRhSdA8mDeZINQ1MJhbJN6frdxPEivQ9kJyS/c0DhEykHh61skvUQVi zfE5aVrSPRA6fLOlvcTUZ3Vfuz6vmdZzhrZeWp219aBUIlTKZBnMiTdW3or0Xg3RQ1pCq0Ucyy853 29szyq/OlpHIxXjSX0L+bMjfvD+CAuZtHUkZGx7KwFQSxXVjQMeSQArXRWBq8+3IHzYgAtW22R0AE wNkMdqtl2hNUIqpOLmPA7LFEv47F+rW+GPed3KezjYfncID/OITVitV8/ddXoa/jIgIHjkMpKr9Js psm3lALHyOk4CzdC415CXQ==; Original-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 1pvEK3-0003f0-Rv; Sat, 06 May 2023 05:35:24 -0400 In-Reply-To: (message from Jimmy Yuen Ho Wong on Fri, 05 May 2023 16:07:20 +0100) 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:261171 Archived-At: > 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 \= or different quoting)` and `docstring wider than ... characters` mesages > > Expectation: > > Blacklisting docstrings and docstrings-non-ascii-quotes should not result > 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.