From: "Drew Adams" <drew.adams@oracle.com>
To: 8396@debbugs.gnu.org
Subject: bug#8396: 24.0.50; why use options (vars) instead of faces for apropos?
Date: Thu, 31 Mar 2011 10:16:14 -0700 [thread overview]
Message-ID: <2F4E512F2C714C4EA5E50E94777DC22A@us.oracle.com> (raw)
Throughout apropos.el, we use `defcustom's instead of `defface's for
customizing the faces used. Why? Apropos should have its own faces,
not variables that can be assigned to only existing faces (that have
nothing to do with apropos).
Try, for instance, C-u C-x = on the bold text in *Apropos*. You'll see
this:
There are text properties here:
button (t)
category apropos-symbol-button
face bold <====== WHAT'S THAT ABOUT?
skip t
That doesn't help a user understand how to change the face used here.
S?he shouldn't think that s?he can only customize face `bold' to take
care of this. And there is nothing to indicate to the user that there
is a customizable variable (`apropos-symbol-face') that is relevant
for this. The user should have a real apropos face to customize.
There is no reason to avoid creating faces for the needs of apropos (or
anything else, for that matter.) Faces are customizable by design -
there is no reason to resort to adding customizable variables when what
is wanted is customizing the appearance (faces).
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2011-03-21 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags
-Ic:/imagesupport/include'
next reply other threads:[~2011-03-31 17:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-31 17:16 Drew Adams [this message]
2011-04-24 19:45 ` bug#8396: 24.0.50; why use options (vars) instead of faces for apropos? Chong Yidong
2011-04-24 20:07 ` Drew Adams
2012-04-23 15:39 ` Chong Yidong
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=2F4E512F2C714C4EA5E50E94777DC22A@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=8396@debbugs.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.