emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] timer-list -> list-timers?


From: Richard Stallman
Subject: Re: [PATCH] timer-list -> list-timers?
Date: Thu, 21 Sep 2017 14:28:54 -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. ]]]

  > >> That kind of bugs me about `M-x list-packages' etc. (there's a whole
  > >> bunch of them, like `list-holidays' and so on). Is there any rule
  > >> about when to make an exception to the `<package>-function' naming
  > >> convention?  If not, should there be one? 

The convention is that functions in a package (and variables) should
have names which show their relationship to that package.  Usually we
do that by using the package name as a prefix, but that is not the
only way to do it.  It is ok to use the package name (or some form of
it) later on in the name.

So if there is a package called frob that works with things called frobs,
it is natural and ok for it to contain a command 'list-frobs'.

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