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#74261: 30.0.92; Remove modeline warning for explicit uses of dynamic binding Date: Mon, 11 Nov 2024 14:26:51 +0200 Message-ID: <861pziklbo.fsf@gnu.org> References: <87h68hzqmw.fsf@librehacker.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19935"; mail-complaints-to="usenet@ciao.gmane.io" Cc: christopher@librehacker.com, drew.adams@oracle.com, 74261@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 11 13:28:17 2024 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 1tATWi-0004x1-V4 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Nov 2024 13:28:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tATWZ-0007Nw-J6; Mon, 11 Nov 2024 07:28:07 -0500 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 1tATWV-0007Nd-4o for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2024 07:28:04 -0500 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 1tATWU-0002Hj-D2 for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2024 07:28:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=ga8U94pc0Mx4hX2X/F+R9Roc491hEgS+85hus5x3ZQY=; b=g+Q4BT36YOMNnnld9LD6SPrAMpmQmwSN5NOHROY5SLjPXcJBCST5QfEuFUBL8BhWiMrwx2jV9wYrSCB5ZzrWdkpJZpYLaYusqBCWuvqqerdJrTcFal2JCLAJnleGvof5kxHUSY4hmXqQLdBUgrgx30iwccPihqspiFYknUfmFSuzcGwpbLrvE0g/oVKqGwjek2QP2JFK/vYG1ECleXZAIDa8h2aZsbCoxfx5JaPAmbdrUvGlf+oFE4nVXCiu2r/W7pcyFE19wJviU8uZF8S3aDKEzA8vIqoyK8nBqtV6Zp/NuUQ6N2VX/Q1a87uOLeIHzOz1EDKlG+1ZmKTvnFR4Mg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tATWU-0005jb-1y for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2024 07:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Nov 2024 12:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74261 X-GNU-PR-Package: emacs Original-Received: via spool by 74261-submit@debbugs.gnu.org id=B74261.173132804821988 (code B ref 74261); Mon, 11 Nov 2024 12:28:02 +0000 Original-Received: (at 74261) by debbugs.gnu.org; 11 Nov 2024 12:27:28 +0000 Original-Received: from localhost ([127.0.0.1]:58556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tATVv-0005iZ-8b for submit@debbugs.gnu.org; Mon, 11 Nov 2024 07:27:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tATVs-0005iH-KJ for 74261@debbugs.gnu.org; Mon, 11 Nov 2024 07:27:25 -0500 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 1tATVm-00020A-HV; Mon, 11 Nov 2024 07:27:18 -0500 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=ga8U94pc0Mx4hX2X/F+R9Roc491hEgS+85hus5x3ZQY=; b=r22VutZXlSrK jzq6sZka1PnXWtfytHqCquSz6qbDQ5w7Cc+oItnJp0RsD8L/xFyWlOegpse41idkvF3wmLz6gLT5N WzVcw6kYMaOtcidKdlbYSC5O9SmfbPIHQnd/0fEfiS2AqlvrFrWQcocmekswHczkMBNmxp2rfzk3e RDzvyIOvlwDKivY+u4ju1ZVHCU8WdpfrJxYNwP7ol8PKgu43c6Baf+aF6U+9TEv34Zmx/UUnCQyQ3 F617No6JnZub23VxcK5UeSUSkuBFZGloY4KC+CBrs4c2On3niCYKp612D6IMiUu0kUUYrvVA2AaLz NYkAGgh6Xr+1/tHG/1uzQw==; In-Reply-To: (message from Richard Stallman on Mon, 11 Nov 2024 00:13:43 -0500) 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:295223 Archived-At: > From: Richard Stallman > Cc: christopher@librehacker.com, 74261@debbugs.gnu.org, eliz@gnu.org > Date: Mon, 11 Nov 2024 00:13:43 -0500 > > > The indication in the mode line should be > > (1) optional and (2) unobtrusive. > > > #2: it should just matter-of-factly tell you > > what mode the current buffer is in. > > I contend it should be "intrusive" enough to serve as an effective > reminder. > > Once dynamic binding becomes unusual, programmers will tend to > assume without conscious doubt that every file uses lexical binding. > > So I think that the indicator that this file uses dynamic binding > ought to be somewhat loud, so that users won't overlook it. I tend to agree, but only if the file does not already have a lexical-binding cookie which makes the file use dynamical binding. Compare this with files that have an unusual encoding or an EOL format that is not the native one on the current platform: we provide an indication on the mode line, but don't insist on having it stand out too much, just a little.