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: Sun, 22 Oct 2023 08:16:04 +0300 Message-ID: <83y1fvp78r.fsf@gnu.org> References: <48764CD1-C80F-4613-9848-BD8CA9203A40@gmail.com> <87ttql4yfq.fsf@yahoo.com> <83lebxrt5n.fsf@gnu.org> <831qdorzqe.fsf@gnu.org> <87edhn342d.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23908"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, mattias.engdegard@gmail.com, stefankangas@gmail.com, 66636@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 22 07:16:52 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 1quQpX-0005yi-Kg for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Oct 2023 07:16:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quQpM-0006cq-6w; Sun, 22 Oct 2023 01:16:41 -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 1quQpG-0006cf-R0 for bug-gnu-emacs@gnu.org; Sun, 22 Oct 2023 01:16:35 -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 1quQpG-0008Ve-Em for bug-gnu-emacs@gnu.org; Sun, 22 Oct 2023 01:16:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1quQpi-0000Sc-JE for bug-gnu-emacs@gnu.org; Sun, 22 Oct 2023 01:17: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: Sun, 22 Oct 2023 05:17: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.16979518021743 (code B ref 66636); Sun, 22 Oct 2023 05:17:02 +0000 Original-Received: (at 66636) by debbugs.gnu.org; 22 Oct 2023 05:16:42 +0000 Original-Received: from localhost ([127.0.0.1]:45377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quQpN-0000S2-Ow for submit@debbugs.gnu.org; Sun, 22 Oct 2023 01:16:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quQpL-0000Rn-N4 for 66636@debbugs.gnu.org; Sun, 22 Oct 2023 01:16:40 -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 1quQoo-0008Ql-66; Sun, 22 Oct 2023 01:16:06 -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=oIL8Rs1p6+VeFJiijiVY19EQ9vtNqrHQ74trdBL9S8Y=; b=aBq13df07NqYbLPfjl2n 4gpGGs87PgaRTp5VqpbyTy2sjsikkkpuU3wuyAgd5re2Ojek07VWiXAjRyD/j3fU6zUAnEGMlWrK6 ytyhHn3Q7g5EAU8UKdliW3Kkhvm+3SJrUAhgNEIXpgP3+/EZm36wIdr9ZMjhqHj/J7oSdD9GJlDkQ 8w2BE7oVuc3m9FarvrSzjWj26C+VjvHflhkVw5kGxwyHtD0D9enkky/tIA69aEqzu6aB06l6y8KS2 BtYSEVHwlExH4WubkZmXLblu0GYTugv8chiaXBLPXwp9qsu3y0JiJ+Tj/7FXyPRNSPV0Lu/2Dbw/X 0h7/R7Kwgtc76A==; In-Reply-To: (message from Stefan Monnier on Sun, 22 Oct 2023 00:12:51 -0400) 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:272956 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii , Mattias Engdegård > , 66636@debbugs.gnu.org, > stefankangas@gmail.com > Date: Sun, 22 Oct 2023 00:12:51 -0400 > > >> FWIW, I think this would be a disservice to them (and to ourselves). > >> In 99% of the cases it's just as easy to make the code work with > >> `lexical-binding:t`. > > I think we want to encourage whatever relieves users of the most work, > > not what comports best with some abstract conception of desirability. > > For users it should make no difference, they don't need to do anything > (other than avert their eyes from the warning, maybe). You interpret "users" in what I wrote too narrowly, I think.