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.help Subject: Re: Question about customising faces Date: Tue, 30 Aug 2022 19:54:26 +0300 Message-ID: <83r10xu0xp.fsf@gnu.org> References: <871qszs2ku.fsf@fastmail.fm> <83wnarw61n.fsf@gnu.org> <878rn6u7gs.fsf@fastmail.fm> <83y1v6v4x0.fsf@gnu.org> <87pmgip69s.fsf@fastmail.fm> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14416"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 30 19:13:57 2022 Return-path: Envelope-to: geh-help-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 1oT4oG-0003aE-P6 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 30 Aug 2022 19:13:56 +0200 Original-Received: from localhost ([::1]:52146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oT4oF-00086z-J0 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 30 Aug 2022 13:13:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT4V2-0006iB-Gg for help-gnu-emacs@gnu.org; Tue, 30 Aug 2022 12:54:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48268) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT4V2-0008Tb-1y for help-gnu-emacs@gnu.org; Tue, 30 Aug 2022 12:54:04 -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=p861nHNwgUf0H+jMsitzLS7D6mAnfCje29Gf0EHP91o=; b=k2b6if4DZsTa mjKLV27Ym3z1vpEI7Gsc1cf0bqxpAjElu0Z/E4SobnF0I4qYtCAI12l1dY0HWoifl+AL2TZTPMvwS ngDPa4hJG/+XYMC1jTabk2BV3ESpuUde8Qhcb7rvS2uEf28nmoHdvD4+W7fAwiqWZKQDVHE9bU6VJ 5w6DGJvPwDEP8nnE8YrDm+WfgkmD+jPWkJlIcFx5GoYDIL6dTrp/bJLM2TH4IEvM6wEZu47rTWRem t0Tu1EsFu0kNHQr4N/KjfZtUkJ6F5owH+weT4ojqLA+Ccl8GoNTpEIrbjGoRlgC+ort1DWqZIWx1n ir+zVO/KMcamdcufexLt3g==; Original-Received: from [87.69.77.57] (port=2367 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 1oT4V1-0007RB-DC for help-gnu-emacs@gnu.org; Tue, 30 Aug 2022 12:54:03 -0400 In-Reply-To: (message from Gregory Heytings on Tue, 30 Aug 2022 15:52:18 +0000) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139171 Archived-At: > Date: Tue, 30 Aug 2022 15:52:18 +0000 > From: Gregory Heytings > cc: Eli Zaretskii , help-gnu-emacs@gnu.org > > Why don't use use :background 'unspecified here? That would still require 2 calls, see the doc string of set-face-attribute. Resetting a face attribute is a rare enough (and unusual) thing to do, so we didn't bother optimizing that for all the current and future frames.