From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: `font-face-attributes' sometimes returns bogus :height value Date: Fri, 20 Jun 2008 19:23:10 -0400 Message-ID: <87ej6relnl.fsf@stupidchicken.com> References: <87wskoxgi2.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214004508 11158 80.91.229.12 (20 Jun 2008 23:28:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Jun 2008 23:28:28 +0000 (UTC) Cc: Miles Bader , emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 21 01:29:12 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K9q2Z-00033M-RB for ged-emacs-devel@m.gmane.org; Sat, 21 Jun 2008 01:29:12 +0200 Original-Received: from localhost ([127.0.0.1]:55529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9q1k-00006b-V2 for ged-emacs-devel@m.gmane.org; Fri, 20 Jun 2008 19:28:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9q1M-0008Ni-WE for emacs-devel@gnu.org; Fri, 20 Jun 2008 19:27:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9q1M-0008NJ-9t for emacs-devel@gnu.org; Fri, 20 Jun 2008 19:27:56 -0400 Original-Received: from [199.232.76.173] (port=42761 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9q1L-0008NF-Vn for emacs-devel@gnu.org; Fri, 20 Jun 2008 19:27:56 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:59718) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K9q1H-0004JK-9d; Fri, 20 Jun 2008 19:27:51 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 0FB164E47D; Fri, 20 Jun 2008 19:23:10 -0400 (EDT) In-Reply-To: <87wskoxgi2.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 17 Jun 2008 10:50:29 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99563 Archived-At: >>> If `font-face-attributes' is called without a specified height, it >>> returns an attribute list containing `:height nil', which is invalid. >> >>> Since it is quite useful to work with no specified, I think this case >>> should be supported properly. >> >>> To make this work means either omitting the :height attribute entirely >>> from the returned attribute-list, or alternatively, keeping it, but >>> using `:height unspecified' for the height. >> >> I think :weight thru :width should also be omitted or >> `unspecified' in the above case. Done.