GNU bug report logs - #74261
30.0.92; Remove modeline warning for explicit uses of dynamic binding

Previous Next

Package: emacs;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Fri, 8 Nov 2024 15:35:01 UTC

Severity: normal

Tags: wontfix

Found in version 30.0.92

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: rms <at> gnu.org
Cc: christopher <at> librehacker.com, drew.adams <at> oracle.com, 74261 <at> debbugs.gnu.org
Subject: bug#74261: 30.0.92; Remove modeline warning for explicit uses of dynamic binding
Date: Mon, 11 Nov 2024 14:26:51 +0200
> From: Richard Stallman <rms <at> gnu.org>
> Cc: christopher <at> librehacker.com, 74261 <at> debbugs.gnu.org, eliz <at> 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.




This bug report was last modified 220 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.