From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#46853: Confusing terminology "face height" instead of "font size" Date: Wed, 3 Mar 2021 18:16:02 -0600 Message-ID: References: <875z2a4x2c.fsf@gnus.org> <87tupu3cdd.fsf@gnus.org> <83zgzm7jlu.fsf@gnu.org> <87czwi3bfr.fsf@gnus.org> <83sg5e7ihe.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22665"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46853@debbugs.gnu.org To: Eli Zaretskii , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 04 01:17:23 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lHbg4-0005NG-Vm for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Mar 2021 01:17:16 +0100 Original-Received: from localhost ([::1]:38866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHbg4-0005C2-1B for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Mar 2021 19:17:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHbfq-0005BM-R3 for bug-gnu-emacs@gnu.org; Wed, 03 Mar 2021 19:17:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45720) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHbfq-0005UV-Ig for bug-gnu-emacs@gnu.org; Wed, 03 Mar 2021 19:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lHbfq-0003D9-EW for bug-gnu-emacs@gnu.org; Wed, 03 Mar 2021 19:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Mar 2021 00:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46853 X-GNU-PR-Package: emacs Original-Received: via spool by 46853-submit@debbugs.gnu.org id=B46853.16148169719733 (code B ref 46853); Thu, 04 Mar 2021 00:17:02 +0000 Original-Received: (at 46853) by debbugs.gnu.org; 4 Mar 2021 00:16:11 +0000 Original-Received: from localhost ([127.0.0.1]:57266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHbf0-0002Wb-F3 for submit@debbugs.gnu.org; Wed, 03 Mar 2021 19:16:10 -0500 Original-Received: from mail-pl1-f169.google.com ([209.85.214.169]:34859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHbey-0002Q5-Uv for 46853@debbugs.gnu.org; Wed, 03 Mar 2021 19:16:09 -0500 Original-Received: by mail-pl1-f169.google.com with SMTP id g20so15050067plo.2 for <46853@debbugs.gnu.org>; Wed, 03 Mar 2021 16:16:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=B2mPUvuh7ynGAuUU2ai0AIBKD+JaBdoP3ZtAV1sSkj8=; b=PPEy7n+dA9tP7/s9dzn30xNTcGIAJc8hsCMOO3g20HsBP5/CPZM+G3kPmkpMTkewWy ZR+ke69SVszRHMxhHD8x3VvZIeXSe7ZJ1FM6/fnmgJau+AYb5WoLqfTkb4c5vPXoAM1f XV2Db2bctxK/qr9iqeQUDLyI0byrHNDOji/RXdbQLmsQ2UjEggKIIO0z71eUBGoy49Qz blmuvrVYv4lGwCsfaKy08vS/WjVaIe1EuFze7icL9z0E+lfN+w1fNlgSJGXTb/SNYEm8 P6bpumHIaPw+k+euTKBMR3rTD7b9B4S3q4QdmkRaPrZNGl0F/O8Wzh5ySLqLCE7XEMP6 rjzg== X-Gm-Message-State: AOAM532K2fm01CNlbdVQx4bq30I12g+zdfGhii3Z7oBFNRQlDbW5KAaa jvwEI9F35bN/+jfsrs5g6v5ZznqQjA19+VkCfIo= X-Google-Smtp-Source: ABdhPJztppgFq5ZzwVvNdO8EUwzrrxJbrYS66U4VqcCTLlf3UUfsekyGlYqjpr3MQ1oyrGe6KSO21wCDUK//WLTLlGw= X-Received: by 2002:a17:90b:e83:: with SMTP id fv3mr1556970pjb.179.1614816963110; Wed, 03 Mar 2021 16:16:03 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 3 Mar 2021 18:16:02 -0600 In-Reply-To: <83sg5e7ihe.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:201345 Archived-At: Eli Zaretskii writes: >> From: Lars Ingebrigtsen >> Cc: stefan@marxist.se, 46853@debbugs.gnu.org >> Date: Mon, 01 Mar 2021 20:45:28 +0100 >> >> Eli Zaretskii writes: >> >> > No, it's because enlarging _all_ faces makes no sense. >> >> I really thought that's how this command worked, but >> >> emacs -Q -f list-faces-display >> >> and then `C-x C-+' in the buffer enlarges all the faces, even >> variable-pitch... > > It only enlarges those faces which inherit their size from 'default'. I find the semantics here confusing. I do this in emacs -Q: (progn (defface foo-bar '((t :weight bold)) "foo") (pop-to-buffer (get-buffer-create "foo")) (insert "aaa " (propertize "bbb" 'face 'foo-bar) " ccc") (text-scale-adjust 3)) And I see that "bbb" has its font size increased together with "aaa" and "ccc". But `M-x describe-face RET foo-bar' says that "Inherit: unspecified". Looking at the manual, the node `(elisp) Basic Faces' says: =E2=80=98default=E2=80=99 The default face, whose attributes are all specified. All other faces implicitly inherit from it: any unspecified attribute defaults to the attribute on this face (*note Face Attributes::). So when you say that "it only enlarges those faces which inherit their size from 'default'", doesn't that just mean that *any* face is resized, unless that face itself or any its parents specify an absolute :height (an integer)?