From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong Date: Tue, 27 Dec 2022 04:04:21 +0200 Message-ID: <34567345-8989-0a58-3f0e-50ade22a426f@yandex.ru> References: <80e7f515-e16f-5ce8-86a3-e5f47cd2d2f5@yandex.ru> <83k0g5j4pi.fsf@gnu.org> <83a6h1husr.fsf@gnu.org> <83czlwhe0v.fsf@gnu.org> <835yrohcb1.fsf@gnu.org> <834k78h989.fsf@gnu.org> <83zgp0ftse.fsf@gnu.org> <83wnk4fpyw.fsf@gnu.org> <9df1ebce-83ff-068c-20ed-b849697a06b2@yandex.ru> <83y24jel7i.fsf@gnu.org> <87a6gz1xn1.fsf@gnus.org> <83lf0jeidi.fsf@gnu.org> <20be7df0-7ae6-8add-d083-45c9212c6dde@yandex.ru> <6b144c99-bb89-65da-45cb-39d9f1903f05@yandex.ru> <57655e6c7f1adb5aef9b@heytings.org> <8d901b1b-09e9-2eff-2455-acf3d34a3766@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15521"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Cc: rudalics@gmx.at, Eli Zaretskii , 52493@debbugs.gnu.org, Lars Ingebrigtsen , rpluim@gmail.com To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 27 03:05:28 2022 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 1p9zLL-0003ps-Ja for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Dec 2022 03:05:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9zKy-0007LG-Fz; Mon, 26 Dec 2022 21:05:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9zKw-0007Kp-5m for bug-gnu-emacs@gnu.org; Mon, 26 Dec 2022 21:05:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p9zKv-00075Z-Tv for bug-gnu-emacs@gnu.org; Mon, 26 Dec 2022 21:05:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p9zKv-0001L3-Nk for bug-gnu-emacs@gnu.org; Mon, 26 Dec 2022 21:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Dec 2022 02:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52493 X-GNU-PR-Package: emacs Original-Received: via spool by 52493-submit@debbugs.gnu.org id=B52493.16721066745108 (code B ref 52493); Tue, 27 Dec 2022 02:05:01 +0000 Original-Received: (at 52493) by debbugs.gnu.org; 27 Dec 2022 02:04:34 +0000 Original-Received: from localhost ([127.0.0.1]:54416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9zKU-0001KK-3U for submit@debbugs.gnu.org; Mon, 26 Dec 2022 21:04:34 -0500 Original-Received: from mail-ej1-f48.google.com ([209.85.218.48]:39754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9zKR-0001K3-EQ for 52493@debbugs.gnu.org; Mon, 26 Dec 2022 21:04:32 -0500 Original-Received: by mail-ej1-f48.google.com with SMTP id gh17so29141007ejb.6 for <52493@debbugs.gnu.org>; Mon, 26 Dec 2022 18:04:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=XuzzwdHybG7hifThyZHtrrlOPS6ome95Cb7AhBnSmK4=; b=Scr7DEET/cDMmptcBQdPfM9A4jma9073FO92/xEV0kgz4aA8I9+nTUOWpAAqsosdqD c8BkNDFc/6/AKSk4SE9rXlX2GjmBX9LZAR6Z7YdKuk9RGYMR/ELTjigD3u6mQ/H3niF0 fLlhsCNqOdU6iT7OUm6Gir2zossKGfo9oYzauZ+gKTNE/Kk/ZOkkny7Jx39wuPDuhm1/ OxL3hDgMtLkJVAqbB1TkplJVegS8+X0qvaJ/NQCzIqy7/GDBJHo78DyxYE928dzzbB27 gxkOVWlNTjd9sHo5dUA8NdEL/wWwyJmB96LqVa2R+RmmTI6A5Cr4NBrP4bQ0U8iAAakL NzNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XuzzwdHybG7hifThyZHtrrlOPS6ome95Cb7AhBnSmK4=; b=wPAypxku2+zhQxU3290jWKwwTvS+bRTo+u55vnjmq3oGhdUNngghzZcvbBQK5KjFN/ gtktU7+zguML+JGgBy3nmLdqpi6kzN2ALZPKjMfmwgBWQ9oz6Ilo3CfiMrhB3zVk63LG b8eFiEkEGNk7aBB5/3YwVTDYTpvJ+L/m9HW6gPIVXYDL+X9f9M0IBsaqhQLhVn0+YOwt 0DPx6dtMOJRIYkVtdy/l8P/NoQPM1rKmpR53C0DtkGzjAjkThFgqwqcJzD4uyPT2X4Fq u3oTcMknaYBc7H9wdkZR06c9J8gIF/0rrGVqaoRnmLtWVzP3K8S5S0MBvpd3/OuYtTrb BXDQ== X-Gm-Message-State: AFqh2kpkBH/gXtK502giDyW+sgNT9xiRgRCT1tcsLFjXVx5BnZqidWxX SVasiOjacHRVx3E27pezokc= X-Google-Smtp-Source: AMrXdXsqxnEVM6LSj/R2XADGMV9G8OTMdma4MppsvO675P29KPX78cakpPfJHvzAuDZShaxCu8z9pQ== X-Received: by 2002:a17:906:3084:b0:7c1:23f2:c052 with SMTP id 4-20020a170906308400b007c123f2c052mr17616852ejv.45.1672106665671; Mon, 26 Dec 2022 18:04:25 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id u17-20020a170906409100b00779cde476e4sm5414050ejj.62.2022.12.26.18.04.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Dec 2022 18:04:25 -0800 (PST) Content-Language: en-US In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:251932 Archived-At: On 26/12/2022 18:19, Gregory Heytings wrote: > >>> By the way, I did not realize that the docstring of >>> 'set-face-attribute' says nothing about the evaluation order of its >>> arguments.  I suggest the attached patch. >> >> Are we sure that having order-dependent behavior is a good idea? >> > > I did not design that function, that's how it works.  But given how > intricate the face machinery is, I'm not sure it's possible to do much > better. It does feel a little odd, though. Could you explain why :family does get evaluated first, but :font does not? And yet, it's better recommended to use :font? I'm not saying these are regressions to be fixed now (Emacs 29 is too near), but maybe a better design is possible and not too difficult to transition to later. >> Since all args are available at the time of evaluation, wouldn't it be >> better to handle :font and/or :family before all the others? >> > > You may have seen in the attached patch that :family is indeed handled > before all other attributes, but not :font. > > Can you please confirm that the recipes you sent are working as expected > when you place the :font attribute before all other attributes? They seem to, thank you. Except for the frame-height-shrinking one, but that's a separate story.