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#66636: Move lexical-binding warning from checkdoc to byte-compiler Date: Thu, 19 Oct 2023 14:55:02 +0300 Message-ID: <83sf66u8rt.fsf@gnu.org> References: <48764CD1-C80F-4613-9848-BD8CA9203A40@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33477"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66636@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 19 13:56:46 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 1qtRdt-0008V7-B3 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Oct 2023 13:56:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtRdm-0006Pd-DR; Thu, 19 Oct 2023 07:56:38 -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 1qtRdk-0006P3-EZ for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2023 07:56:36 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtRdk-0006Fu-2H for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2023 07:56:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtReA-0004fN-JP for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2023 07:57: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: Thu, 19 Oct 2023 11:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66636 X-GNU-PR-Package: emacs Original-Received: via spool by 66636-submit@debbugs.gnu.org id=B66636.169771657017866 (code B ref 66636); Thu, 19 Oct 2023 11:57:02 +0000 Original-Received: (at 66636) by debbugs.gnu.org; 19 Oct 2023 11:56:10 +0000 Original-Received: from localhost ([127.0.0.1]:35984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtRdK-0004e5-9C for submit@debbugs.gnu.org; Thu, 19 Oct 2023 07:56:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtRdH-0004dg-NC for 66636@debbugs.gnu.org; Thu, 19 Oct 2023 07:56:08 -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 1qtRck-00066a-FU; Thu, 19 Oct 2023 07:55:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=IdgUxT1Rhzu4kIAnuFjZU3zy4zurJqYvJ7zolng3jLA=; b=Q3IsGGA472U6JLBAqNvG 6vHdLIbGBhsL2sAohxxjVGQ1b+c1KB+ulCjUrC4TVp6bzYaDlguZH9X1P7FmBtIQFpYwHEuk+Fm0Q nB6aLVKiKnRUvm9h+u27L+FVKLsEbOt057I6DtPuwr6QznzFv2rqOLzPwYxWnjJWgBqzwEbv0xDq6 4fuucL+kaVjjFIxhYZQ4x7BAbwWgadk6bLMi5JozDYoImUlPKwiONDc6IGo6zZRKSQcCbGI9opHXD 93hvNQhYd4KH2mDrNFDlRCDwzxbQJ7ggd7dsSfFVKIzzNmFGJN0OBvmtlyO7iwfaTasxNk2JpMV2R apofAyihunwqzw==; In-Reply-To: <48764CD1-C80F-4613-9848-BD8CA9203A40@gmail.com> (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Thu, 19 Oct 2023 13:48:21 +0200) 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:272726 Archived-At: > From: Mattias EngdegÄrd > Date: Thu, 19 Oct 2023 13:48:21 +0200 > > The warning about a missing lexical-binding cookie rather belongs in the compiler than checkdoc, because it's not about documentation or style but code generation and ability to detect errors, both which are hindered by a missing cookie. > > Moving the warning to the compiler also makes it more widely seen. Adding Stefan, in case he has an opinion and/or comments.