From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#1127: Can't set default face to get the font I want Date: Tue, 14 Oct 2008 10:45:19 -0400 Message-ID: <87bpxnkzgg.fsf@cyd.mit.edu> References: <87iqryl9jc.fsf@cyd.mit.edu> Reply-To: Chong Yidong , 1127@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223997406 20135 80.91.229.12 (14 Oct 2008 15:16:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2008 15:16:46 +0000 (UTC) Cc: 1127@emacsbugs.donarmstrong.com To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 14 17:17:38 2008 Return-path: Envelope-to: geb-bug-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 1KplYK-00071F-6n for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 17:11:16 +0200 Original-Received: from localhost ([127.0.0.1]:47682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KplXF-0005ry-Jh for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 11:10:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KplXA-0005rN-MR for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 11:10:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KplX8-0005r7-4D for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 11:10:03 -0400 Original-Received: from [199.232.76.173] (port=52304 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KplX7-0005r4-UK for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 11:10:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39024) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KplX7-0005mr-Ev for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 11:10:01 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9EF9xkW026056; Tue, 14 Oct 2008 08:09:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9EEo3M0020661; Tue, 14 Oct 2008 07:50:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 14 Oct 2008 14:50:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1127 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1127-submit@emacsbugs.donarmstrong.com id=B1127.122399538919388 (code B ref 1127); Tue, 14 Oct 2008 14:50:03 +0000 Original-Received: (at 1127) by emacsbugs.donarmstrong.com; 14 Oct 2008 14:43:09 +0000 Original-Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9EEh6Lf019382 for <1127@emacsbugs.donarmstrong.com>; Tue, 14 Oct 2008 07:43:07 -0700 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 4564D57E0BB; Tue, 14 Oct 2008 10:45:19 -0400 (EDT) In-Reply-To: (Kenichi Handa's message of "Tue, 14 Oct 2008 17:18:37 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 14 Oct 2008 11:10:03 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21474 Archived-At: Kenichi Handa writes: > It's reasonable to clear FONT_AVGWIDTH_INDEX of a font if > :width is changed, but your change clears that > unconditionally. I think we should install the attached > change instead. Yes, that looks like a better change. I checked it in. Thanks. > When multiple font-related attributes of a face are > customized, internal-set-lisp-face-attribute is called > multiple times. > > As "dejavu sans mono" doesn't have semi-condensed variation, > the 4th call doesn't change the width, and then the 5th call > changes the family to "fixed". Indeed, we may have to look at the logic in cus-face.