emacs-devel
[Top][All Lists]
Advanced

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

Re: Should mode commands be idempotent?


From: Richard Stallman
Subject: Re: Should mode commands be idempotent?
Date: Fri, 22 Sep 2017 20:39:59 -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. ]]]

  > And any 3rd-party library (if there were any) that might have
  > such a mode function would be well advised to make clear to its
  > users that the function is not idempotent, and explain why:
  > what to expect and why.

I think that approach isn't strong enough to give users predictable
behavior.  We should say that all major modes and minor modes are
idempotent; then, if any fails to be, it will clearly be a bug.

-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.




reply via email to

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