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: Fri, 20 Oct 2023 12:15:18 +0200 Message-ID: References: <48764CD1-C80F-4613-9848-BD8CA9203A40@gmail.com> 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="3071"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66636@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 20 12:16:05 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 1qtmY1-0000dz-BP for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Oct 2023 12:16:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtmXs-0001v4-En; Fri, 20 Oct 2023 06:15:56 -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 1qtmXm-0001Xi-57 for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 06:15:52 -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 1qtmXX-0001uW-DC for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 06:15:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtmXy-0001ig-Fn for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 06:16: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: Fri, 20 Oct 2023 10:16: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.16977969586598 (code B ref 66636); Fri, 20 Oct 2023 10:16:02 +0000 Original-Received: (at 66636) by debbugs.gnu.org; 20 Oct 2023 10:15:58 +0000 Original-Received: from localhost ([127.0.0.1]:38748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtmXt-0001iM-Rq for submit@debbugs.gnu.org; Fri, 20 Oct 2023 06:15:58 -0400 Original-Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:44527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtmXp-0001i5-PI for 66636@debbugs.gnu.org; Fri, 20 Oct 2023 06:15:56 -0400 Original-Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2c503dbe50dso10103991fa.1 for <66636@debbugs.gnu.org>; Fri, 20 Oct 2023 03:15:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697796920; x=1698401720; 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=vlnIoxhRV+y1WwSQdfLX1QQI6+tzxHDT/usgEh6/gQY=; b=OjLnVtYseEPROzTG2cX1AEI+jIBCQ1ITM6a0SE1LQTbgjiDx9VWHA2qeNAuOUbmh7N 6gTVfkWrAzVppuJfWtd0ceR581WwXzHuKX4lof4wAx6AIvf01ALgIfcPtUJqoKiewqla hKcr8y5RacrcBcRZLgZbK0VyDs90XPUissK1g5E8BSEWVD3gxLYy6zBAOcM76W154uQh 1AUXYbV2nyMflrnDuBhSS6lear2ram8IXKytsErGQRcmaPsPAsTWjutdrBr19iSVXPC6 JWWh7vLZOx7l9g4JxnKAQH8nLqyTHgUotwp58OKEXxNSXy19tz9MiQd1RD3dT9wTt39Z bKGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697796920; x=1698401720; 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=vlnIoxhRV+y1WwSQdfLX1QQI6+tzxHDT/usgEh6/gQY=; b=qedzQ//2RkTuMXx+x8fe8C/C0amQ+eRb8Ucyw8+LCuNrwbSniUtG87cKJDH5Rf0Epv ppDdwRFuQfO5AFbdCFXngN8Z1oc/v+0QMszA2vDjorf7ROTygcFnBOjMkpokRl/JjyuM UEvnNU0OqMc/RIjlUZIcJzXcbdy3jhae3oW63kFznoejDDxuuh3U/4TeQCdbCuUwN/NZ yIehTBeBvv3PbuTLGYFxsETmqJtTCVljC6rcogWA8UjYFmWj2AgcrW116pMvzO5aPEah 4o0F8hqnDXojdr6WDNKX0nA+UWwf5+3SmT7mAiM0Bn5HnXTRL24YHrX/YvKIjxqCLPND 1HZA== X-Gm-Message-State: AOJu0YyTAh1WTSyBaNwuwZ02ysDjNC1vA/UoqW/ZOY3gSEpuKxHUJstx oVqIgIGL2KPkQ8QzKBWH8Ck= X-Google-Smtp-Source: AGHT+IEvaVncTxH170BRaZmXE7h6w1OgbGJElk2rh99U14T/GtEtrFEFcFZ3JHPuwx5R9tHdrJTokA== X-Received: by 2002:a2e:7208:0:b0:2c5:2445:36af with SMTP id n8-20020a2e7208000000b002c5244536afmr997807ljc.50.1697796920344; Fri, 20 Oct 2023 03:15:20 -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 bx17-20020a05651c199100b002c509ecf7efsm301939ljb.133.2023.10.20.03.15.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Oct 2023 03:15:19 -0700 (PDT) In-Reply-To: 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:272784 Archived-At: 19 okt. 2023 kl. 19.40 skrev Stefan Kangas : >> + ;;; My little pony mode -*- lexical-binding: t -*- >=20 > If we want this to conform with the format required by package.el, = this > should be: >=20 > ;;; pony.el --- My little pony mode -*- lexical-binding: t -*- >=20 > Or would that distract from the main point? Indeed the example was chosen to avoid anything irrelevant. If anything = should go it would be the pony, but I put it there to remind the user = that it's fine to include something else that obviously isn't parsed. Something too formal-looking might give the impression of compulsory = and/or machine-readable structure. (I always found this traditional first line to be somewhat of an uneasy = composite: too often it forces unnatural brevity on the description, or = becomes so long that it wraps. I'd favour dedicating the first line to = the -*- cookie alone.) > On a side note, it would be good to also highlight this in the = relevant > sections of the manual. Yes, the manual needs updating in some respects. I'll do this separately = to keep the text as coherent as possible. Thank you for the kind review!