Subject: bug#74261: 30.0.92; Remove modeline warning for explicit uses of dynamic binding

From: Drew Adams <[email-masked]>
Date: Fri, 8 Nov 2024 18:05:02 +0000

+1.
____

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.

This consideration is appropriate regardless
of whether the default in Emacs is (like now)
dynamic binding or (in the future) lexical
binding.

Just let users know what mode the buffer is
in.  And make it easy for users to not show
any such indication, if they like.  Provide
a new mode-line variable for the indication:

https://www.gnu.org/software/emacs/manual/html_node/elisp/Mode-Line-Variables.html

(Such a variable should have been introduced
when the indication was first added...)