From unknown Fri Jun 20 07:24:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#11139 <11139@debbugs.gnu.org> To: bug#11139 <11139@debbugs.gnu.org> Subject: Status: 24.0.94; inappropriate `face' property for `apropos*' button types Reply-To: bug#11139 <11139@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:24:28 +0000 retitle 11139 24.0.94; inappropriate `face' property for `apropos*' button = types reassign 11139 emacs submitter 11139 "Drew Adams" severity 11139 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 31 13:27:25 2012 Received: (at submit) by debbugs.gnu.org; 31 Mar 2012 17:27:25 +0000 Received: from localhost ([127.0.0.1]:33117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SE25F-00017n-7c for submit@debbugs.gnu.org; Sat, 31 Mar 2012 13:27:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41617) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SE25C-00017f-Uf for submit@debbugs.gnu.org; Sat, 31 Mar 2012 13:27:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SE255-000201-Mf for submit@debbugs.gnu.org; Sat, 31 Mar 2012 13:27:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:46749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE255-0001zv-Jj for submit@debbugs.gnu.org; Sat, 31 Mar 2012 13:27:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE253-0003pi-QX for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 13:27:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SE251-0001zN-Ss for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 13:27:13 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:20101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE251-0001yz-M0 for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 13:27:11 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q2VHR8Ka030430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 31 Mar 2012 17:27:09 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q2VHR7l9002871 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 31 Mar 2012 17:27:08 GMT Received: from abhmt105.oracle.com (abhmt105.oracle.com [141.146.116.57]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q2VHR7Yr026469 for ; Sat, 31 Mar 2012 12:27:07 -0500 Received: from dradamslap1 (/10.159.47.251) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 31 Mar 2012 10:27:07 -0700 From: "Drew Adams" To: Subject: 24.0.94; inappropriate `face' property for `apropos*' button types Date: Sat, 31 Mar 2012 10:27:00 -0700 Message-ID: <0A1B281D1742437983A7AE45AABFFDA7@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac0PY3syQEVb6TQ3S3avtNcksqM6Vg== X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-CT-RefId: str=0001.0A090206.4F773E6D.0024,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) 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' From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 31 20:51:07 2012 Received: (at 11139) by debbugs.gnu.org; 1 Apr 2012 00:51:07 +0000 Received: from localhost ([127.0.0.1]:33428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SE90b-0003NB-SZ for submit@debbugs.gnu.org; Sat, 31 Mar 2012 20:51:06 -0400 Received: from mx20.lb01.inode.at ([62.99.145.22]:46343 helo=mx.inode.at) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SE90Y-0003Mg-A1 for 11139@debbugs.gnu.org; Sat, 31 Mar 2012 20:51:03 -0400 Received: from [91.119.234.238] (port=7270 helo=iznogoud.viz) by smartmx-20.inode.at with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SE90Q-0003qE-2I; Sun, 01 Apr 2012 02:50:54 +0200 Received: from wolfgang by iznogoud.viz with local (Exim 4.77 (FreeBSD)) (envelope-from ) id 1SE90O-0000id-88; Sun, 01 Apr 2012 02:50:52 +0200 From: Wolfgang Jenkner To: "Drew Adams" Subject: Re: bug#11139: 24.0.94; inappropriate `face' property for `apropos*' button types References: <0A1B281D1742437983A7AE45AABFFDA7@us.oracle.com> Date: Sun, 01 Apr 2012 02:50:51 +0200 Message-ID: <857gy0e0lw.fsf@iznogoud.viz> User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.94 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11139 Cc: 11139@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 31 22:24:46 2012 Received: (at control) by debbugs.gnu.org; 1 Apr 2012 02:24:47 +0000 Received: from localhost ([127.0.0.1]:33446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SEATG-0005U5-5V for submit@debbugs.gnu.org; Sat, 31 Mar 2012 22:24:46 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:36046) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SEATE-0005Ty-9M for control@debbugs.gnu.org; Sat, 31 Mar 2012 22:24:44 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SEAT6-000456-45 for control@debbugs.gnu.org; Sat, 31 Mar 2012 22:24:36 -0400 Date: Sat, 31 Mar 2012 22:24:36 -0400 Message-Id: Subject: control message for bug 11139 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) forcemerge 8962 11139 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 01 02:15:34 2012 Received: (at control) by debbugs.gnu.org; 1 Apr 2012 06:15:34 +0000 Received: from localhost ([127.0.0.1]:33494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SEE4b-0003J2-Uh for submit@debbugs.gnu.org; Sun, 01 Apr 2012 02:15:34 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:38368) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SEE4Y-0003It-W9 for control@debbugs.gnu.org; Sun, 01 Apr 2012 02:15:31 -0400 Received: from bb121-6-72-34.singnet.com.sg ([121.6.72.34]:33441 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SEE4O-0003G6-VJ for control@debbugs.gnu.org; Sun, 01 Apr 2012 02:15:21 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: merge 8962 11139 Date: Sun, 01 Apr 2012 14:15:14 +0800 Message-ID: <871uo8m0zx.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) merge 8962 11139 thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 23 11:41:29 2012 Received: (at control) by debbugs.gnu.org; 23 Apr 2012 15:41:29 +0000 Received: from localhost ([127.0.0.1]:49164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMLOK-0002ND-Fn for submit@debbugs.gnu.org; Mon, 23 Apr 2012 11:41:29 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:34745 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMLOI-0002N4-5P for control@debbugs.gnu.org; Mon, 23 Apr 2012 11:41:26 -0400 Received: from bb116-14-12-6.singnet.com.sg ([116.14.12.6]:45384 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SMLNb-0003My-0j for control@debbugs.gnu.org; Mon, 23 Apr 2012 11:40:43 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 8962 Date: Mon, 23 Apr 2012 23:40:35 +0800 Message-ID: <87mx62cv7w.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) close 8962 thanks From unknown Fri Jun 20 07:24:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 22 May 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator