From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Date: Mon, 20 Jun 2022 18:57:13 +0300 Message-ID: <83sfnzl44m.fsf@gnu.org> References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.fsf@gnu.org> <87wndcxipc.fsf@yahoo.com> <837d5bmtso.fsf@gnu.org> <875ykvo7bd.fsf@yahoo.com> <831qvjmq5h.fsf@gnu.org> <87y1xrlbee.fsf@yahoo.com> <83y1xrlalf.fsf@gnu.org> <83wndbl90a.fsf@gnu.org> <87o7yn1gtx.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8689"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, handa@gnu.org, 37473@debbugs.gnu.org, monnier@iro.umontreal.ca, da_vid@orange.fr To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 20 17:58:22 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 1o3JnA-0001zV-IP for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jun 2022 17:58:20 +0200 Original-Received: from localhost ([::1]:52366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3Jn9-00038k-5P for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jun 2022 11:58:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3Jms-000383-RA for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2022 11:58:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36114) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3Jms-0008OE-HN for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2022 11:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3Jms-0007Lw-DY for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2022 11:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2022 15:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37473 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.165574065628228 (code B ref 37473); Mon, 20 Jun 2022 15:58:02 +0000 Original-Received: (at 37473) by debbugs.gnu.org; 20 Jun 2022 15:57:36 +0000 Original-Received: from localhost ([127.0.0.1]:58244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3JmS-0007LD-62 for submit@debbugs.gnu.org; Mon, 20 Jun 2022 11:57:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3JmR-0007Kz-99 for 37473@debbugs.gnu.org; Mon, 20 Jun 2022 11:57:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53070) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3JmK-0008KZ-Mg; Mon, 20 Jun 2022 11:57:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=k9y7ZSwbrwGsuAENTZ/aYeUMI1t4oIo6fd/j3ix0XjY=; b=knlLFRq4GjSn hyG2UdEZ6QKD/CJBMWs1zILOetOodZ8VVIjTp4osfOeZ/sgsNlNJN8PD0y8H06zywPuGlQ+2Ewx9H DyfiJI3uKiGIm1NH7c6stD/JrPGSQdKk1TPe9QHS03a/YlFd8DOdD42IJbnalgztdF4LjdR6kuGjS KU0YuXu3wSxpUuB6h9rpr7AIxh4ymFureYbtjMRhgeZjBp/FwvayN9tvBD20l2a93yEa5r33eWDHA 6/sSilFVc/9FNS1a5TCB7E7NPYBuVznHdyT0Aj2BgAcObm3QgJZ9facFo5pGf4eWaprfTKMF70EaG mr/jyxO0k4Ds2f2rFpuvWg==; Original-Received: from [87.69.77.57] (port=1041 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3JmJ-0002wc-LB; Mon, 20 Jun 2022 11:57:28 -0400 In-Reply-To: <87o7yn1gtx.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 20 Jun 2022 17:43:06 +0200) 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:234906 Archived-At: > From: Lars Ingebrigtsen > Cc: luangruo@yahoo.com, handa@gnu.org, 37473@debbugs.gnu.org, > da_vid@orange.fr, Stefan Monnier > Date: Mon, 20 Jun 2022 17:43:06 +0200 > > Eli Zaretskii writes: > > > And likely in other use cases: if the :font attribute of a face > > specifies some font properties, we want to keep them all, not > > arbitrarily to ignore some of them. > > Yup. > > > Specifically, I propose the change for the master branch. Any > > objections? > > Not from me, but perhaps Handa-san has some comments. Sure, there's no rush. My main problem with that change is that I don't understand why would it make sense to "forget" all the attributes of a font when realizing a face whose :font attribute is non-nil. It's like ignoring the foreground color when a face specifies it. If there are special situations where some font attributes should be "forgotten", we should perhaps have separate functions for them, which we should call only in those special situations.