From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: window-buffer-change-functions Date: Thu, 22 Sep 2022 23:19:45 -0400 Message-ID: References: <83o86hyild.fsf@gnu.org> <877d1ycbom.fsf@gnus.org> <835yhivx39.fsf@gnu.org> <83v8piuh5k.fsf@gnu.org> <2f85eda92184de27e10572e6b2320885@webmail.orcon.net.nz> <83pmfpv4fs.fsf@gnu.org> <7110e0330e878c144a6364a8e6ad651c@webmail.orcon.net.nz> <83fsgkszcv.fsf@gnu.org> <1a6028ed-73bd-7d5f-c206-8061bdc9edd0@gmx.at> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5970"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 23 05:20:48 2022 Return-path: Envelope-to: ged-emacs-devel@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 1obZFA-0001Ok-OL for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Sep 2022 05:20:48 +0200 Original-Received: from localhost ([::1]:33002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obZF9-0008E7-P8 for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Sep 2022 23:20:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obZEA-0006mt-D7 for emacs-devel@gnu.org; Thu, 22 Sep 2022 23:19:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obZEA-00070v-0J; Thu, 22 Sep 2022 23:19:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=lHXsupYonmekMy4Jog61ePMPwqMqLa4AF8hAIAX1jbA=; b=fTqP8KQFGTiB ENAMEoMPr0QrrkUQfLy3mCS4zvwPBj0S3J6qU/L5LlRXDltmaTWblRnfDGQMfrfI/+vVcWUDJZx0b CSw8x9uRgl7bppJ7jiX4tUpUDeJUIweSOwlyNZfX71Gj2OP13Hqvn//UkDeCvTjuFSp22fEQ2EOTX eDzrsTo83L6bgRlRb1sNRldTni6yEZFvR9RUi3YynP6jb4Cdgs/3Ri7Lkng4YVzrrbP+Gd/9Yjuik fag0+/QPcU+FFtty5QZwtbZlRy7wHP7/bof9BoeXiqlZsPSafl6qRTbpEe2LhlpjyrWI/OG5pnwpU ZHXXIE8+A/BgRDeXyOhOLQ==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1obZE9-0008Vr-N0; Thu, 22 Sep 2022 23:19:45 -0400 In-Reply-To: <1a6028ed-73bd-7d5f-c206-8061bdc9edd0@gmx.at> (message from martin rudalics on Thu, 22 Sep 2022 11:44:05 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:296018 Archived-At: [[[ 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)