From: "Drew Adams" <drew.adams@oracle.com>
To: "'Xue Fuqiao'" <xfq.free@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: RE: About definition finding
Date: Wed, 6 Mar 2013 14:31:07 -0800 [thread overview]
Message-ID: <BDCFC285AD764D97A694DFF426BAA77B@us.oracle.com> (raw)
In-Reply-To: <5137C0BE.1060601@gmail.com>
> > 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.
next prev parent reply other threads:[~2013-03-06 22:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-06 13:28 About definition finding Xue Fuqiao
2013-03-06 16:11 ` Drew Adams
2013-03-06 22:18 ` Xue Fuqiao
2013-03-06 22:31 ` Drew Adams [this message]
2013-03-06 22:41 ` Xue Fuqiao
[not found] <mailman.21544.1362576522.855.help-gnu-emacs@gnu.org>
2013-03-06 18:05 ` Michael Heerdegen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BDCFC285AD764D97A694DFF426BAA77B@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=xfq.free@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).