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: Miles' patch still fixes xfaces.c Date: Wed, 28 May 2003 00:46:17 +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 1054082811 10627 80.91.224.249 (28 May 2003 00:46:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 28 May 2003 00:46:51 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 28 02:46:45 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 19Kp5Z-0002kb-00 for ; Wed, 28 May 2003 02:46:45 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19KpJV-0007n5-00 for ; Wed, 28 May 2003 03:01:09 +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 19Kp5Z-0005vK-J4 for emacs-devel@quimby.gnus.org; Tue, 27 May 2003 20:46:45 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Kp5F-0005pV-FG for emacs-devel@gnu.org; Tue, 27 May 2003 20:46:25 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Kp5E-0005op-4R for emacs-devel@gnu.org; Tue, 27 May 2003 20:46: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 19Kp5C-0005jn-6t; Tue, 27 May 2003 20:46:22 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Wed, 28 May 2003 00:46:17 +0000 (UTC) Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Tue, 27 May 2003 18:40:14 -0400) 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:14355 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14355 I don't remember the issue. What does it mean to "permanently change" this? And why can't you do it? What happens if you try? By "permanently change", I mean, put a change in my .emacs file that works. The problem is that on my screen, some fonts display an unreadable bold face when bold is set in the default manner. A buffer list and the mode line put some text in bold, the the problem is very noticeable. My solution is to change the `bold' weight to `normal' and to indicate `bold' by changing the the color of the text. The problem has been that the method of setting bold has been hardwired at a low level, so it has been impossible to change the font in my .emacs file. In other words, by default `bold' is treated as a hard-wired command to make the lines on a glyph wider. It should be treated as the equivalent of @strong in Texinfo, which indicates an argument that can be displayed in various ways. For example, I want to change mode-line-buffer-identification in my .emacs file by setting it like this: (setq mode-line-buffer-identification (quote (#("%14b" 0 4 (face ;; (:weight bold) (:weight normal) ... but that fails. The buffer name still is unreadable because the lines that make up the characters continue to be wider than usual. The buffer name is not changed to normal weight, unless I apply Miles' fix. The same happens with the buffer names in a buffer list. Can Miles explain what caused the problem? Maybe we can find a better fix based on that info. I hope so. He predicted that his fix would cause Emacs to crash occasionally, and he was right, although crashes are rare. -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com