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: Setting global variables Date: Wed, 23 Feb 2022 23:50:16 -0500 Message-ID: References: <20220220040515.zum3iodtpscj23j3.ref@Ergus> <20220220040515.zum3iodtpscj23j3@Ergus> <87wnhp4wu3.fsf@posteo.net> <20220220132708.lvuzvg2fyfpp6k76@Ergus> <87y224v767.fsf@posteo.net> 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="19164"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, emacs-devel@gnu.org, spacibba@aol.com, juri@linkov.net To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 24 05:52:00 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 1nN66h-0004kz-PT for ged-emacs-devel@m.gmane-mx.org; Thu, 24 Feb 2022 05:51:59 +0100 Original-Received: from localhost ([::1]:53266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nN66g-00060F-7o for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Feb 2022 23:51:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nN654-0004KY-OW for emacs-devel@gnu.org; Wed, 23 Feb 2022 23:50:18 -0500 Original-Received: from [2001:470:142:3::e] (port=33672 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nN653-0006TY-2k; Wed, 23 Feb 2022 23:50:17 -0500 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=BoEekj0wT4fkdr0ZsFPW/vSricYmyfn61cJ7IpkKOZ8=; b=L7ACkRcZy7cD 7AWc6KA8xa/qUwoOUna4T9X9+YXro8K5tSYXHTfl49mtrA0Krfr1SF+5BJ98lXmzB4FGap8EWjNzu KGjFMUfvZcYSlozZtzC0RQAGHH5P8d1pgKAJbE/KxL1xX1PG5XxXYNpfUCnzJH/Lzi6xa62AfviWK W+hsMoll5OqDcMNr56xmhBvq81PeCKPWMPmcipEQLk4gNwEWmn4unZ7Ql5bV6nz2HjN3Oa+JpLFP+ m6KRlXyD1ihENB45kS9xKFnW3Zc9Rs784xfMGIPoEKzPBgUTpVlQaBIqRCx+aZgndIhQKYPKIKpcN c1FllAJhAK9016XI58R5KQ==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1nN652-0001aS-Iz; Wed, 23 Feb 2022 23:50:16 -0500 In-Reply-To: (message from Stefan Monnier on Tue, 22 Feb 2022 08:04:03 -0500) 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:286641 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. ]]] > The idea is very much like advice-add/remove but for variables instead > of functions. How would it work? Implementing advice is conceptually simple: you want to asvise `foo', build a new definition for `foo'. For variable `bar', is your ides to advise each function that uses `bar'? -- 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)