all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Naming conventions for defining macros
@ 2015-02-24  6:45 Philipp Stephani
  0 siblings, 0 replies; 3+ messages in thread
From: Philipp Stephani @ 2015-02-24  6:45 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

Hi,

the manual page about coding conventions says: "Constructs that define a
function or variable should be macros, not functions, and their names
should start with `define-'." This recommendation is at odds with the usual
recommendation to prefix all non-local names with the package name and
doesn't seem to be widely followed by either Emacs (e.g. ert-deftest,
cl-defstruct) or popular third-party packages (e.g. magit-define-command).
Should we get rid of this recommendation? It amounts to special-casing a
certain class of names without much benefit.

Thanks,
Philipp


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-21 19:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.727.1424760332.31049.help-gnu-emacs@gnu.org>
2015-02-24 15:38 ` Naming conventions for defining macros Barry Margolin
2015-06-21 19:47   ` Philipp Stephani
2015-02-24  6:45 Philipp Stephani

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.