From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#74261: 30.0.92; Remove modeline warning for explicit uses of dynamic binding Date: Wed, 1 Jan 2025 20:05:02 -0600 Message-ID: References: <87h68hzqmw.fsf@librehacker.com> <861pziklbo.fsf@gnu.org> <86ldx7ijy3.fsf@gnu.org> <864j3relxq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31317"; mail-complaints-to="usenet@ciao.gmane.io" Cc: christopher@librehacker.com, rms@gnu.org, drew.adams@oracle.com, 74261@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 03:06: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 1tTAbO-00081B-5J for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 03:06:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTAb7-0003oZ-A2; Wed, 01 Jan 2025 21:06:05 -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 1tTAb5-0003oQ-Lw for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 21:06: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 1tTAb5-0003yD-Cg for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 21:06:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-Reply-To:From:To:Subject; bh=E+yAMK0Kc+s6xZ5lgPzxYLmVf6L5TBXWd3j82kqoEUg=; b=JuWAQzcdnfpp0edBDq2EGNq309eLozvpShjIYZoCCh031KNVVG+km43AbWnXGzpB8/uCajhalhp+QoJ7GDPQe3r43UyIIrMbxmvJ1IlEBpoYq2f3zDqYRHoIq5pZhfqsHC2c4Gt8txxY6dSNAWtzSiLmwB1Zb9gVdJRpqxj3khlN1QrbwGtRFjhR7KZxpJtpFkdN6ARqDIB+i9BqwPA0GZOb+RFbZ7nc+21Au+lO4Klmi40Wg8NqU9/Yqi4pku0XWZ3JyG1DBm9EoEDE5GnB1Ro1S//RsmAdZnMOltYUpT0GoB8zdLLyXeB3OxXaYkw4PHzsywul5C59BVOLi/j/Qg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTAb4-0002gN-Se for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 21:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jan 2025 02:06: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.17357835089976 (code B ref 74261); Thu, 02 Jan 2025 02:06:02 +0000 Original-Received: (at 74261) by debbugs.gnu.org; 2 Jan 2025 02:05:08 +0000 Original-Received: from localhost ([127.0.0.1]:41414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTAaB-0002aD-Jz for submit@debbugs.gnu.org; Wed, 01 Jan 2025 21:05:08 -0500 Original-Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]:55531) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tTAa8-0002Yj-Cy for 74261@debbugs.gnu.org; Wed, 01 Jan 2025 21:05:05 -0500 Original-Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-5d437235769so3101243a12.2 for <74261@debbugs.gnu.org>; Wed, 01 Jan 2025 18:05:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735783503; x=1736388303; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=E+yAMK0Kc+s6xZ5lgPzxYLmVf6L5TBXWd3j82kqoEUg=; b=lBmqwQyONg4qENn+c4ARdtpW1AKanSuHHfkGI+B7djDFJbS4ydehxgz+FwXXQ/vw6Q Uw7HabJJkcUiJ8tlgjp+R6yOqGPvPLzFkI4HgRquCwP4TfsUzlQJxU189b5F/OyOtgIT plOXgQ5PufMnZxrq9HTSINXGvsSNa98p5N2tbdmucQ7CzXJS0heDrpXvtPRSr9eI+MQl sw0dPcPlBWfXKpFfHjY5Xnf02K6w/F2d5YPR9u9LRi6OEuvslTiRmMKGiZTK44ge/rIw /cgNf40yqbDqOw9hOQK02W4c3gYj4jp4I+vJUFXC3Alq5zdCvdEiR7NtTzMcYx5sIxu5 R4dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735783503; x=1736388303; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=E+yAMK0Kc+s6xZ5lgPzxYLmVf6L5TBXWd3j82kqoEUg=; b=vUXxWb0pu8h/6E9e7XqbzY3T6NXN7+GU6ryUKRm7bjGaowBpE0b69tI04YuQTAxgY5 tjvHbOPjEr0DD+4BmI2/dkjArJh9r1hYil/+cgiIxOxLn23mtjaBt025Spf0qm9+6xek kU60WtFvKCKaTw/y5mKjvZUMkqc0oTGMU45/2xbh8a1XijyuArKGcrpVUzboLQi/89KR Ttj4mnKp/ECR2BhLxoF4phOePw88+JMMKVrof/kuJV7chpRY+YRZkow9WNUcXcw5MBkk yJrLWI3XgpShlzDXVPX7M8juc+3A/3hgY3pMj3shWgzzuzOvVx0+LJsJQm3zinCrGhUY +qHA== X-Forwarded-Encrypted: i=1; AJvYcCUBj49YPAi4DhTuGzlIhZrI6kl9Z7m8NpDN807ItrNrC8RVdb8s9Kp4DP0jDVow1/LTzLf1Bg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwQCaTbqdeUfbbCUAdld/x5UdMzqtao1P19JLl9UltMoD5qgl3T cOCRydYLsYOmJIHrqnd9ATiiSK5UGzQqrFJiwU9s4KzXc2ge6+xV+QTO3t+40sUHn89REWTjT35 Kv6vg/msCydPapuB1h97LvOcynBBo+eakGbM= X-Gm-Gg: ASbGnctV2pnzHRt5v9k9eG7ysyGLoGrwZA0SEDdJlic1BpNwR9n4D2LwqLgMkrNVvdF YFhGpjqRQ5485DW3dDuOwSFEA9AGmN2hPJWJ9EJkv X-Google-Smtp-Source: AGHT+IEFECwWNjIAq3mW454UdgVrBC0zLnxLJr3dmXOO5lXSW/f1VGYP8S6DL9xJTJDvgoLZsxIQG//d5ewRHzOYKoM= X-Received: by 2002:a05:6402:270d:b0:5d1:2652:42ba with SMTP id 4fb4d7f45d1cf-5d81dd9a22amr41855854a12.16.1735783502803; Wed, 01 Jan 2025 18:05:02 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 1 Jan 2025 20:05:02 -0600 In-Reply-To: <864j3relxq.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 28 Nov 2024 11:40:01 +0200") 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:298101 Archived-At: 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.