GNU bug report logs -
#11139
24.0.94; inappropriate `face' property for `apropos*' button types
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Sat, 31 Mar 2012 17:28:01 UTC
Severity: wishlist
Merged with 8962
Found in versions 24.0.50, 24.0.94
Done: Chong Yidong <cyd <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11139 in the body.
You can then email your comments to 11139 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11139
; Package
emacs
.
(Sat, 31 Mar 2012 17:28:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Drew Adams" <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 31 Mar 2012 17:28:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Here's the thing: Users can customize faces.
That seems to get forgotten sometimes.
In the case of an Apropos buffer, Emacs defines multiple button types,
and all but one of them use _hard-coded_ faces. And there are
additional places where particular faces are hard-coded in `apropos.el'.
This hard-coding is a no-no.
Why? Because USERS CAN CUSTOMIZE FACES.
A user might well customize some of the faces that you use here in a
hard-coded way. Those customizations might make sense for typical uses
of those faces (e.g. font-locking for code), but the result in this
buffer might be awful.
You, writing apropos.el, cannot foresee all of the possibilities. But
you can foresee that users will want to customize the appearance of
Apropos buffers. And they deserve to be able to do that easily.
Please, please provide a way for users to customize the display of
Apropos itself. Add apropos-specific deffaces or face-valued defcustoms
for each of the faces that the Apropos display uses.
Set their default values to whatever you like, including perhaps
font-lock faces. But please stop hard-coding faces, depriving users of
the ability to control the appearance (without resorting to redefining
the Emacs source code).
A face should almost never be hard-coded, fixing Emacs's appearance in
concrete. Please think of the users and of Emacs's mission to be
customizable by them. It is hard to believe that this kind of thing is
still going on. This is 2012, not 1980.
In GNU Emacs 24.0.94.1 (i386-mingw-nt5.1.2600)
of 2012-03-19 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
`configure --with-gcc (4.6) --no-opt --enable-checking --cflags
-ID:/devel/emacs/libs/libXpm-3.5.8/include
-ID:/devel/emacs/libs/libXpm-3.5.8/src
-ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
-ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
-ID:/devel/emacs/libs/giflib-4.1.4-1/include
-ID:/devel/emacs/libs/jpeg-6b-4/include
-ID:/devel/emacs/libs/tiff-3.8.2-1/include
-ID:/devel/emacs/libs/gnutls-3.0.9/include'
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11139
; Package
emacs
.
(Sun, 01 Apr 2012 00:52:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 11139 <at> debbugs.gnu.org (full text, mbox):
On Sat, Mar 31 2012, Drew Adams wrote:
> A face should almost never be hard-coded, fixing Emacs's appearance in
> concrete. Please think of the users and of Emacs's mission to be
> customizable by them. It is hard to believe that this kind of thing is
> still going on. This is 2012, not 1980.
May I ask a rhetorical question: What's wrong with
#+begin_src emacs-lisp
(add-hook 'apropos-mode-hook
(lambda ()
(face-remap-set-base 'italic '(:reverse-video t))))
#+end_src
It's rhetorical because you already made it clear that a new load of
defface's or defcustom's would be the proper way to handle the issue.
My question is also rhetorical and hypocritical because I really just
wanted to seize on the opportunity to say that some people don't
actually enjoy wading through an ever growing plethora of options and
faces.
On the other hand, they revel in general mechanisms like face-remap-*.
YMMV ;-)
Wolfgang
Forcibly Merged 8962 11139.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 01 Apr 2012 02:25:02 GMT)
Full text and
rfc822 format available.
Merged 8962 11139.
Request was from
Chong Yidong <cyd <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 01 Apr 2012 06:16:01 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
8962 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com>
Request was from
Chong Yidong <cyd <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 23 Apr 2012 15:42:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 22 May 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 31 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.