From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: silly face function names
Date: 20 Dec 2002 11:53:25 +0100 [thread overview]
Message-ID: <5xd6nx0xne.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <buovg1pgmot.fsf@mcspd15.ucom.lsi.nec.co.jp>
Miles Bader <miles@lsi.nec.co.jp> writes:
> There are a number of face manipulation functions in faces.el of the
> form `set-face-FOO-p'. I think such names are misleading, since they use
> the -p prefix on functions which aren't predicates.
The names are badly chosen (having both 'set-' and '-p' is confusing),
but if you read the names like this, it does make sense:
set-face - FOO-p
I would argue that 'set-' takes precedence over '-p' here...
>
> Any objections to me renaming them to just `set-face-FOO', and adding
> aliases (and make-obolete) for the old names?
IMHO, there is an abundance of silly functions and commands in
faces.el; I don't see any reason to rename a few of them (which are
rarely used anyway - I found only 5 places total).
So I object.
next prev parent reply other threads:[~2002-12-20 10:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-20 7:43 silly face function names Miles Bader
2002-12-20 10:53 ` Kim F. Storm [this message]
2002-12-20 10:08 ` Miles Bader
2002-12-20 11:28 ` Kim F. Storm
2002-12-20 13:22 ` Robert J. Chassell
2002-12-20 14:46 ` Kim F. Storm
2003-01-10 23:21 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5xd6nx0xne.fsf@kfs2.cua.dk \
--to=storm@cua.dk \
--cc=emacs-devel@gnu.org \
/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.
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.