help-gnu-emacs
[Top][All Lists]
Advanced

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

RE: About definition finding


From: Drew Adams
Subject: RE: About definition finding
Date: Wed, 6 Mar 2013 14:31:07 -0800

> > Note that this doc section's guideline conflicts a bit with 
> > that of adding a package/library prefix to such macros.  E.g., 
> > `icicle-define-command' vs `define-icicle-command'.  I put
> > the library prefix first, but others might do otherwise.
> 
> Does alias make sense?  E.g., `package-list-packages' is an alias of 
> `list-packages'.

First, note also that `list-packages' is a command, not a macro.  The aliasing
in that case is presumably for user convenience interactively.

Beyond that, someone from Emacs Dev can perhaps speak to the relation between
such a guideline and aliasing in general.

I would guess that if you bother to follow the guideline for a macro then there
is little sense in following that up by then defining an alias and using that
instead.

In principle, the guidelines are there to help you and those who use your code.
But remember that they are just guidelines, not rules to be followed blindly
without using your judgment.  Do what makes the most sense to you, after reading
the guidelines.




reply via email to

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