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: Miles' patch still fixes xfaces.c Date: Tue, 27 May 2003 00:02:09 +0000 (UTC) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200305262027.h4QKRtlO001787@rum.cs.yale.edu> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1053993679 12170 80.91.224.249 (27 May 2003 00:01:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 27 May 2003 00:01:19 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 27 02:01:18 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19KRu1-0003A8-00 for ; Tue, 27 May 2003 02:01:17 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19KS7S-0001TT-00 for ; Tue, 27 May 2003 02:15:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19KRvw-0007of-RO for emacs-devel@quimby.gnus.org; Mon, 26 May 2003 20:03:16 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19KRvH-0007Mi-8H for emacs-devel@gnu.org; Mon, 26 May 2003 20:02:35 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19KRv4-0006fH-A5 for emacs-devel@gnu.org; Mon, 26 May 2003 20:02:24 -0400 Original-Received: from megalith.rattlesnake.com ([140.186.114.245] helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19KRuv-0006L7-3T for emacs-devel@gnu.org; Mon, 26 May 2003 20:02:13 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Tue, 27 May 2003 00:02:09 +0000 (UTC) Original-To: emacs-devel@gnu.org 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:14298 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14298 The recent change to xfaces.c has not fixed the problem that no one can permanently change :weight bold to :weight normal in the variable `mode-line-buffer-identification', which is buffer-local and in other places. As far as I know, this problem resulted from a change on 19 Nov 2002 in mode-line-buffer-identification (Several other bugs also appeared at the same time.) Although the bug does not look too bad with a plain vanilla instance of Emacs, with an `10x20' font, -Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO8859-1 the new bold creation technique fills in letters such as `m' so that they become unreadable rectangles. The word `Emacs' becomes unreadable. Fortunately, Miles Bader posted a semi-fix on 18 Dec 2002. This was a `semi-fix' because his code sometimes led to a race condition and a crash in Emacs. But not very often. Mile's patch is diff -u -r1.266 xfaces.c --- src/xfaces.c 17 Nov 2002 23:51:19 -0000 1.266 +++ src/xfaces.c 18 Dec 2002 05:26:34 -0000 and works with the new version of xfaces.c, version 1.277 (CVS from 2003 May 26 23:00 UTC) However, it would be nice to see a clean fix to this problem, which is to be able to specify any characteristic for `bold', including a color, and including being able to set the weight of something that is `bold' to `normal'. The old messages are: Bold by moving pixels problem starting on 20 Nov 2002 signal handling bogosities starting on 19 Dec 2002 The patch is from From: Miles Bader Subject: Re: Bold by moving pixels problem Date: 18 Dec 2002 19:01:01 +0900 Thanks! -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com