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, 28 Nov 2024 11:40:01 +0200 Message-ID: <864j3relxq.fsf@gnu.org> References: <87h68hzqmw.fsf@librehacker.com> <861pziklbo.fsf@gnu.org> <86ldx7ijy3.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40202"; 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 Thu Nov 28 10:41:26 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 1tGb1a-000AGU-Cn for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Nov 2024 10:41:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGb1E-0005y6-Ht; Thu, 28 Nov 2024 04:41: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 1tGb1D-0005xf-0i for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2024 04:41:03 -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 1tGb1C-0001Iq-2W for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2024 04:41: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=UCUYVbfMlg2RNljt28XqBIQlA0ohwHHlP8T7XbY2BZU=; b=jvEJrHaDyVIS4MyLMZ0HcEH3qlH0xrpPB+5iLCcIEbPdbrkDao9uRV0ZiIUAr8WFgEvGBi63/MI1Vywm18TnXu4wG/E015iG09ZE3Tr10krAhTB+nzTsVpiRutIlnPPhcxs4BMuETcl2NivSo4r+tEGbvwOAVEHId53L4JT1XjGg2xSGc+WdTLlgZV1+aouFRwib4IjGjw9nFbOKBkC50YEqftC6aF5FthpheEWzlio6nhAv8a2YBW320PmaFR7s7Plh2KyBlOoU4vIfAsmGYWHrUtKfcMMAEY5MkMSrpsCQOz4wlWsEYnwgREkrs53UjM+FCX94E55gV6V1ns+kDA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tGb1B-0006ky-Mu for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2024 04:41:01 -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, 28 Nov 2024 09:41:01 +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.173278682525902 (code B ref 74261); Thu, 28 Nov 2024 09:41:01 +0000 Original-Received: (at 74261) by debbugs.gnu.org; 28 Nov 2024 09:40:25 +0000 Original-Received: from localhost ([127.0.0.1]:36688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGb0b-0006jg-4Q for submit@debbugs.gnu.org; Thu, 28 Nov 2024 04:40:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGb0Y-0006ik-JX for 74261@debbugs.gnu.org; Thu, 28 Nov 2024 04:40:23 -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 1tGb0S-0000jU-67; Thu, 28 Nov 2024 04:40:16 -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=UCUYVbfMlg2RNljt28XqBIQlA0ohwHHlP8T7XbY2BZU=; b=nQDfPydNr+m4 ji3xzOuAGdq0fOIifBQDm3cYrLaG9ax9R3c7zXul/nMxAXXt1C23+io5Alg20bB5RM6s/vhcrGk7l Cv87hGIZM1yzYJLmXS3IVGrpJ97P3VgGUqp+PFP6yzGf5bTIjIOw849kMqL+2FNhPpiboEwuRgE96 2P0kahFcA/h8c54j195FTuwvb/eAmTdWka24sCYJ7hWRnkTIvO4htUe94TSOnjOZBOSoURUhoNS4B nDyRZDNAMGOTQrXdRJVo9XbIv2nJl+8csBkeLc+pzz6a/1WqIF4/zLNl7kToZCMkq2q994hJmGZ95 B0CJSXXu2yzAV/6/ljuYmw==; In-Reply-To: (message from Richard Stallman on Wed, 27 Nov 2024 23:54:25 -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:296049 Archived-At: > 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.