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: Thu, 02 Jan 2025 08:16:57 +0200 Message-ID: <86frm1loyu.fsf@gnu.org> References: <87h68hzqmw.fsf@librehacker.com> <861pziklbo.fsf@gnu.org> <86ldx7ijy3.fsf@gnu.org> <864j3relxq.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23130"; mail-complaints-to="usenet@ciao.gmane.io" Cc: christopher@librehacker.com, rms@gnu.org, drew.adams@oracle.com, 74261@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 07:18:22 2025 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 1tTEXE-0005oL-Dw for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 07:18:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTEWy-0005CP-Bs; Thu, 02 Jan 2025 01:18:04 -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 1tTEWw-0005Bt-Rb for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 01:18:02 -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 1tTEWw-0007qd-Ig for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 01:18: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=XYlYPmYl/DMUxRAMAXh3fuCVawWsLe2d4GplY5cuZI8=; b=SK4sGpQUAQ7Df/lXFEWHnTX8zO4CEpccJZI4l6Lqme7924eMckp0ZfJmuVAcGI/UMYJ44LWNZnr8W3sZevBBgvlPVw+52x2SLRAk3fdo3ULRxiowGu8mSSe+JH/lDF0CIv6wj+nQBJ3e3H3lw3Tqssel0mIyZsiqCXSj2Ut4RoSMjr2W5dpMhYjMj3ndTXCFtUTlYB6iIx3JKIX/N8g4+OWYAkKUMs3FAxj+8APNvM6UJq+uakJMTCDyYygng040uDw3OSDhFe4tcF1Uz3MEHOsRdApVXRnK8PYgvKK0/QmdbWSCAHqkCAI8JuMPEo7WUmxMKuUXHriUNhorCgSMcA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTEWw-0006VC-CI for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 01:18: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: Thu, 02 Jan 2025 06:18: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.173579863524931 (code B ref 74261); Thu, 02 Jan 2025 06:18:02 +0000 Original-Received: (at 74261) by debbugs.gnu.org; 2 Jan 2025 06:17:15 +0000 Original-Received: from localhost ([127.0.0.1]:42441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTEWB-0006U2-CX for submit@debbugs.gnu.org; Thu, 02 Jan 2025 01:17:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44568) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTEW9-0006Tj-26 for 74261@debbugs.gnu.org; Thu, 02 Jan 2025 01:17:13 -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 1tTEW3-0007ll-2A; Thu, 02 Jan 2025 01:17:07 -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=XYlYPmYl/DMUxRAMAXh3fuCVawWsLe2d4GplY5cuZI8=; b=Vyv1zQK9NHlp JYn7+2YlLRKfgYCQ7BFAlJvf92DiBrqRKoLz7nv5jKGE0iLVLJVyEnU94G31N/Db0w4VJe5OZycFk UlTSLCGqZXzWQqmGnS4ddWBuNf7vbO4ven7tFjRW/rLbjdGt4vswyHVotAerK/EM7T7gV0eYMCxik XGJb7jZURphhCKMJcGny744F03t2xSn2UlOnuDTHX02YuSpQrR4qTrw3ihGHeamPjhjVvaGEBLLpm 0ZpCQKHrh7IwLmM1ilPtAGyy8SnH0/a8uUy9FkeSe7dVNlm8X5QzeFA7r01ukTfId9cJsRVDHFgIP FU4U47k96nQg2npEDeSf7g==; In-Reply-To: (message from Stefan Kangas on Wed, 1 Jan 2025 20:05:02 -0600) 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:298128 Archived-At: > From: Stefan Kangas > Date: Wed, 1 Jan 2025 20:05:02 -0600 > Cc: rms@gnu.org, christopher@librehacker.com, drew.adams@oracle.com, > 74261@debbugs.gnu.org > > Eli Zaretskii writes: > > >> From: Richard Stallman > >> Cc: christopher@librehacker.com, drew.adams@oracle.com, > >> 74261@debbugs.gnu.org > >> Date: Wed, 27 Nov 2024 23:54:25 -0500 > >> > >> > > But I think it is useful to show this warning when person A looks at > >> > > person B's file. Person A is likely to assume the file use lexical > >> > > binding, when just about all files do so; therefore, it is useful to > >> > > inform A that this file makes the unusual choice. > >> > >> > That could be the case, yes. > >> > >> > However, another way of looking at such situation is that if the > >> > author (person B) decided the file should use dynamic scoping, that's > >> > "good enough" for person A. > >> > >> I think this sentence may have changed the question unintentionally. > >> "That's good enough for A" means "A should not object to what B > >> decided". In that sense, think B's addition of he file variable often > >> _should_ be good enough for A. > >> > >> But the question we were discussing is not whether A has a right to > >> object to B's decision. It is whether A is aware of B's decision for > >> that file. The warning will help make A aware of it. > > > > What I meant was that "good enough" here means A should not be > > bothered or made aware. > > > >> For example, assume that person B is > >> > Emacs maintainers, and the file is part of Emacs. > >> > >> I think it will be useful to warn A that the file is set up to specify > >> dynamic binding. > > > > I tried to make the point that whether it is useful depends on the > > POV. > > FWIW, I think Richard's argument here is convincing, so I'd personally > lean towards closing this bug as wontfix. I don't mind.