emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting global variables (was: About zcomplete)


From: Richard Stallman
Subject: Re: Setting global variables (was: About zcomplete)
Date: Tue, 22 Feb 2022 00:14:29 -0500

[[[ 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. ]]]

  > FWIW, I've been toying with the idea of adding a kind of "advice"
  > mechanism for variables.

  > Basically associate with every variable a base value and a list of
  > functions that modify it.  Then minor modes can add a function to the
  > list (which would implicitly update the var's effective value) when
  > enabled and then remove it afterwards.

I'm not sure what that last sentence means.  Are you proposing a
low-level mechanism that would take specified actions whenever the
variable gets set?  Or a Lisp-level facility that would achieve
similar results?

-- 
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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]