From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: Bold by moving pixels problem Date: Tue, 17 Dec 2002 16:38:57 +0000 (UTC) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20021120220834.GC29543@gnu.org> <200211210133.gAL1XiP23941@rum.cs.yale.edu> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1040143776 17700 80.91.224.249 (17 Dec 2002 16:49:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Dec 2002 16:49:36 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18OKuS-0004aw-00 for ; Tue, 17 Dec 2002 17:49:32 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18OL8V-0000BH-00 for ; Tue, 17 Dec 2002 18:04:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18OKsO-0003XU-0D for emacs-devel@quimby.gnus.org; Tue, 17 Dec 2002 11:47:24 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18OKlT-0001nn-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 11:40:15 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18OKlO-0001m8-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 11:40:13 -0500 Original-Received: from megalith.rattlesnake.com ([140.186.114.245] helo=localhost) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18OKl8-0001bu-00; Tue, 17 Dec 2002 11:40:08 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Tue, 17 Dec 2002 16:38:57 +0000 (UTC) Original-To: miles@gnu.org In-reply-to: (message from Miles Bader on 17 Dec 2002 14:00:09 +0900) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10221 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10221 Many thanks! The second version of the patch that implements the `final face realization filtering' function works fine. I can finally read the `m' in my *mail* buffer mode line! I put the following in my .emacs file (defun unboldify-lface (lface) (aset lface 4 'normal)) (setq realize-face-filter 'unboldify-lface) (clear-face-cache) and all is well, as far as I have tested it. My only issue is semantic: I continue to have `bold' faces, but I set `bold' to be a color, not a weight. What it seems you are doing is not so much `unboldifying' the face as removing a :weight bold attribute. Should we not call the defun `face-normal-weight'? (defun face-normal-weight (lface) (aset lface 4 'normal)) (setq realize-face-filter 'face-normal-weight) (clear-face-cache) -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com