From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: set-face-attribute and floating point :height values Date: Mon, 31 Jan 2011 19:09:25 -0800 Message-ID: References: <4zd3ncg5zm.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1296530806 5446 80.91.229.12 (1 Feb 2011 03:26:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2011 03:26:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 01 04:26:41 2011 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.69) (envelope-from ) id 1Pk6t6-0007Ab-NV for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2011 04:26:41 +0100 Original-Received: from localhost ([127.0.0.1]:60122 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pk6su-0008C2-ES for ged-emacs-devel@m.gmane.org; Mon, 31 Jan 2011 22:26:28 -0500 Original-Received: from [140.186.70.92] (port=50990 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pk6si-0008Bb-6k for emacs-devel@gnu.org; Mon, 31 Jan 2011 22:26:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pk6sY-0005nV-Vl for emacs-devel@gnu.org; Mon, 31 Jan 2011 22:26:07 -0500 Original-Received: from igloo.linux.gr ([62.1.205.36]:51116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pk6sX-0005mU-4z; Mon, 31 Jan 2011 22:26:05 -0500 X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: p1139QOa018771 Original-Received: from gkeramidas-glaptop.linux.gr (h-64-105-143-250.snvacaid.static.covad.net [64.105.143.250]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id p1139QOa018771 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 1 Feb 2011 05:09:38 +0200 In-Reply-To: (Drew Adams's message of "Mon, 31 Jan 2011 14:04:11 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 62.1.205.36 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:135374 Archived-At: On Mon, 31 Jan 2011 14:04:11 -0800, "Drew Adams" wrote: >> > You're saying: make the default font height be 1.4 times the default >> > font height. The default font height must be absolute. >> > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2659 >> >> Ah, I see now. So the underlying face must already have >> *some* :height value, so this is not the right way to >> specify the initial face-height. > > It might help if the doc either avoided the undefined term "underlying > face" or explained what it means by that. I think the use of the term 'underlying face' is a nice and compact way of describing that floating point :height values are multipliers for any :height inherited from another face. But it's confusing that there is an exception for the 'default' face that makes this particular format of :height value invalid for just this *one* exception. Maybe we should fix the doc string to mention this exception and explicitly mention 'inheritance' instead of the 'underlying face'.