From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#66636: Move lexical-binding warning from checkdoc to byte-compiler Date: Sat, 21 Oct 2023 11:53:58 +0200 Message-ID: References: <48764CD1-C80F-4613-9848-BD8CA9203A40@gmail.com> <87ttql4yfq.fsf@yahoo.com> <83lebxrt5n.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3506"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, monnier@iro.umontreal.ca, 66636@debbugs.gnu.org, stefankangas@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 21 11:54:44 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 1qu8gu-0000hy-MZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Oct 2023 11:54:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qu8gn-00081q-6c; Sat, 21 Oct 2023 05:54:37 -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 1qu8gl-00081U-Ro for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 05:54: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 1qu8gk-0000W9-Mh for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 05:54:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qu8hC-0007vZ-CU for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 05:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Oct 2023 09:55: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.169788207830430 (code B ref 66636); Sat, 21 Oct 2023 09:55:02 +0000 Original-Received: (at 66636) by debbugs.gnu.org; 21 Oct 2023 09:54:38 +0000 Original-Received: from localhost ([127.0.0.1]:42243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu8gn-0007uk-Is for submit@debbugs.gnu.org; Sat, 21 Oct 2023 05:54:37 -0400 Original-Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:44347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu8gj-0007uV-OF for 66636@debbugs.gnu.org; Sat, 21 Oct 2023 05:54:36 -0400 Original-Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-5046bf37ec1so2130686e87.1 for <66636@debbugs.gnu.org>; Sat, 21 Oct 2023 02:54:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697882040; x=1698486840; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=N0HxKEINUQxLFJB/QnoSAoURB/xxTbvaWURpxogokUU=; b=ZC8wZUW0uXAHWageS+RUZnP4kckhEW9oSA9YQ1yg+dkKQ2AfQ+nrlrvEtMoiSKvrpp y/7w0WMzE8rpXv1dcbDOxEiKDlOR8tC9ZhkYPiXeLnTmIBrZHSkp9Yt5FtvfYw+zAoS+ I+YLJGY4jwVn0G+TmEV33z+GK8cXtDy6dDX1iqHwXgjjYDFgfQllkmIMvVZzv0bzALQv PJ9lzgZN2mZNEDADBTHh8yS+vcdFNyU97cFnQi5VhCXjxeyn0+wqQeoHTceS9uJMv9iD 8Pi/OvTNVbLvZ4a3jDdj6hbZSHbFQOy71DdQHX4r9b67mcXSWCGjTOPfBxZ7Rwnml8pb KhGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697882040; x=1698486840; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=N0HxKEINUQxLFJB/QnoSAoURB/xxTbvaWURpxogokUU=; b=xSYic+3VwRIy1C962kQF4qKock32Yrh8/XYfl5Cmha3mDy6iDTMm+0ZiWUj1rOWUVQ W+Fhk1OqY3RTz5qWmHeksZcBFKukcOfuDnWItXctt6f7mjwdOHFarLZnu2+qmfE4ihhr GCMtayPoqDbWTdt6Fr8gPx1vZ4fHOBIgFF+LMhdbb8GgMl+kVtV121dllZyvxTQ5ipyt ohqvDgCJtLvGkvUYI2+7dcjLQvnoj8pLp2LdBGS9vbYHFyMglUFHesMR8i+5tfVtxefr 1V894jl0nPog5/Y+mATt+slwdSWLJiHThyMzOEhVzUlVwrkVUVEbhHP2o1WMGBysnUjo vX7Q== X-Gm-Message-State: AOJu0YxwrWv+0UBiq7cKPg4FpP/bwBO9msZ1bKVVXRk5UdKAYdhqecv1 z27xyQ506aRaekSJLq9zTmY= X-Google-Smtp-Source: AGHT+IHlKMEfljkYDZW8WGopoMLEPmaVeHOxX0xgeDJ8CrxLMkixR8sYqQ1M9lTas4/RlFP77mjkdw== X-Received: by 2002:a19:434d:0:b0:503:655:12e7 with SMTP id m13-20020a19434d000000b00503065512e7mr2920287lfj.62.1697882039852; Sat, 21 Oct 2023 02:53:59 -0700 (PDT) Original-Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se. [188.150.165.235]) by smtp.gmail.com with ESMTPSA id v21-20020ac258f5000000b004f86d3e52c0sm794208lfo.4.2023.10.21.02.53.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Oct 2023 02:53:58 -0700 (PDT) In-Reply-To: <83lebxrt5n.fsf@gnu.org> X-Mailer: Apple Mail (2.3654.120.0.1.15) 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:272844 Archived-At: 20 okt. 2023 kl. 21.27 skrev Eli Zaretskii : > Did you see what Po Lu and I said? Not sure what he was trying to say, but it looks like a = misunderstanding. I'll try to clarify matters here. Please tell me if you still have = concerns. We certainly care about users of legacy code. The warning is intended as = a soft nudge to encourage users to convert their code to lexical = binding, which is quite straightforward most of the time. When it's not, or when the user simply doesn't have the time or = expertise to perform the conversion, it's just a matter of inserting = `-*- lexical-binding: nil -*-`. Doing so will both silence the warning = and buy the user some reprieve. A lot of reprieve, in fact. This should probably be pointed out in the NEWS entry as well.