From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Boldifing all faces? Date: Fri, 20 Mar 2009 20:52:44 -0700 Message-ID: <000401c9a9d8$7e881f50$0200a8c0@us.oracle.com> References: <8480d7ee-c0e1-4d94-a0eb-e84b93493b8e@j38g2000yqa.googlegroups.com> <56e06322-63de-4a8c-b07d-49d77b469dc0@v38g2000yqb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237607596 23237 80.91.229.12 (21 Mar 2009 03:53:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Mar 2009 03:53:16 +0000 (UTC) To: "'Elena'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 21 04:54:33 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LksI4-0005IZ-2O for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Mar 2009 04:54:32 +0100 Original-Received: from localhost ([127.0.0.1]:41593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LksGh-0007OU-Bs for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Mar 2009 23:53:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LksGP-0007OP-Jq for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 23:52:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LksGL-0007OD-4e for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 23:52:49 -0400 Original-Received: from [199.232.76.173] (port=33287 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LksGL-0007OA-2d for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 23:52:45 -0400 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:24899 helo=rgminet11.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LksGK-00018A-Kn for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 23:52:44 -0400 Original-Received: from acsinet13.oracle.com (acsinet13.oracle.com [141.146.126.235]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n2L3tc2f023663 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 21 Mar 2009 03:55:40 GMT Original-Received: from acsmt706.oracle.com (acsmt706.oracle.com [141.146.40.84]) by acsinet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n2L3quLl017628; Sat, 21 Mar 2009 03:52:58 GMT Original-Received: from dradamslap1 (/24.4.133.20) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 20 Mar 2009 20:52:36 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <56e06322-63de-4a8c-b07d-49d77b469dc0@v38g2000yqb.googlegroups.com> Thread-Index: Acmpxkc0RpWkzXRFQISAukpbCATjlgAD8I+A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt706.oracle.com [141.146.40.84] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090201.49C46486.015A:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63149 Archived-At: > On 21 Mar, 00:06, Peter Dyballa wrote: > > Not sure whether all will inherit this - what's wrong with > > giving GNU Emacs a bold face font as default? > > Already done that: some faces are still regular. I'm having such a > problem at work only, under Windows XP, whilst at home, under Linux, > boldifing the default font works. Some possible reasons that occur to me why a face might not reflect a weight change to `bold' for the `default' face: 1. It somehow doesn't inherit from `default'. (Is this possible?) 2. Its definition specifically overrides the inherited weight value (`bold'). 3. Its font doesn't have bold support. The reason might be something else, which doesn't occur to me. Try to discover what it is by looking at the particular faces that don't seem to work. My guess is the problem is #3. Windows typically has very different fonts. I see this for some font families I use: they just don't support bold. But I expect that someone truly knowledgeable will at some point speak up and let you know the real story. ;-) > I'll try to map a boldifing function over all defined faces. Maybe by > looking at "customize-face" I can find out the enumerating function. The first question is whether it even helps to specifically set the weight attribute for one of the problematic faces to `bold'. I'm guessing it won't help (because I'm guessing it's a font problem). If that's the case, then your iteration approach won't help.