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.devel Subject: Re: Date: Tue, 21 Dec 2021 16:29:14 +0200 Message-ID: <83r1a6yqth.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11497"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Davin Pearson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 21 15:30:04 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mzg9T-0002mK-Gw for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Dec 2021 15:30:03 +0100 Original-Received: from localhost ([::1]:51262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzg9R-0006a8-LW for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Dec 2021 09:30:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:32832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzg8g-0005o5-7E for emacs-devel@gnu.org; Tue, 21 Dec 2021 09:29:14 -0500 Original-Received: from [2001:470:142:3::e] (port=51082 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzg8f-0001TU-Ta; Tue, 21 Dec 2021 09:29:13 -0500 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=+TWVXkn1yRvl2LBUap7YI5XW2YsyA5PKbgdCOL7AjN8=; b=dEmnJvwBDXuB NwliUWiL8m0GRH5hgcpO0vpQRsg9z8prDk4Koef53EW9i0xrKcVxB+ucCLJwNhtBGWS2f5k9g4yBo xr1ZBwTRHKYr+PNxAIMR5Ff3q3uroVtNwJIyLBxjy+unkC43XRUUnI7Eg4D3TdTD1o5bqP3r+zsG2 oWoNWH5fx2ZmTOfVU1Dblu7n1ouBK93xV34HbE2e7RdDDwxOojyxZi/SG6/U54SRpcOJYB8JNvTBW pa7DDT8xP75Iw4qug9eNkCYbatKNlSSAboIocQlT6Guu4L1i6Ji3erkLWWKIfqvslc14z66SqCLlu Q9jaztl5v4DfcYwK3vRwww==; Original-Received: from [87.69.77.57] (port=2050 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 1mzg8f-00030U-QC; Tue, 21 Dec 2021 09:29:14 -0500 In-Reply-To: (message from Davin Pearson on Mon, 20 Dec 2021 15:29:04 +1300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:282589 Archived-At: > From: Davin Pearson > Date: Mon, 20 Dec 2021 15:29:04 +1300 > > I was wondering if you could make the following improvement to > GNU Emacs: Make it so that fonts with a nil for background-colour > have the fontification of the inner symbols shines through > to appear over higher layers, like so: > > *abc* is fontified as a blue foreground with nil background > > "*abc*" is fontified in light blue background with a black foreground > but should appear with a light blue background and a blue foreground. AFAIU, what you are asking basically goes against the way faces are implemented in Emacs: when Emacs merges two faces, if both of them specify the foreground color, one of them will "win", and the foreground of the other will be ignored.