[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: window-buffer-change-functions
From: |
Richard Stallman |
Subject: |
Re: window-buffer-change-functions |
Date: |
Thu, 22 Sep 2022 23:19:45 -0400 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
I'm glad to have contributed improved documentation for the current
behavior of window-buffer-change-functions, but that behavior violates
the abstraction of variable bindings.
A variable is supposed to have one value at any given time. It might
be the default binding, or a something-local binding. But regardless
of why that binding is current at any time, its value is _the value_
of the variable at that time. The other bindings shouldn't affect
what the variable stands for when they are not current.
Special exceptions that undermine the meaning of a variable's value,
or any general design principle, cause conceptual confusion that will
get us in trouble.
--
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)