From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Question about display engine Date: Wed, 28 Aug 2019 20:24:26 +0300 Message-ID: <83v9uhb3ud.fsf@gnu.org> References: <20190825102205.rxhmu3bukraywhok@Ergus> <83lfvhh6dn.fsf@gnu.org> <20190826043145.pm5aplrxna5hwcso@Ergus> <83y2zgfjzs.fsf@gnu.org> <20190826081819.cuhm3tpw3lq3m5jh@Ergus> <83mufwfe8o.fsf@gnu.org> <20190827222025.p2cbjwak4ysi3ept@Ergus> <3ea328a6-2b35-5a01-77a1-bbf9ff7f16f2@gmx.at> <83lfvdd5f7.fsf@gnu.org> <20190828163142.kds3mfnyrjvxxxcj@Ergus> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="193372"; mail-complaints-to="usenet@blaine.gmane.org" Cc: rudalics@gmx.at, emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 28 19:25:07 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i31gx-000oAq-1I for ged-emacs-devel@m.gmane.org; Wed, 28 Aug 2019 19:25:07 +0200 Original-Received: from localhost ([::1]:39164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i31gv-0005Bo-77 for ged-emacs-devel@m.gmane.org; Wed, 28 Aug 2019 13:25:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49916) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i31gC-00059Z-Mk for emacs-devel@gnu.org; Wed, 28 Aug 2019 13:24:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i31gC-0001n9-IZ; Wed, 28 Aug 2019 13:24:20 -0400 Original-Received: from [176.228.60.248] (port=1994 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i31gB-0003WW-H7; Wed, 28 Aug 2019 13:24:20 -0400 In-reply-to: <20190828163142.kds3mfnyrjvxxxcj@Ergus> (message from Ergus on Wed, 28 Aug 2019 18:31:42 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:239646 Archived-At: > Date: Wed, 28 Aug 2019 18:31:42 +0200 > From: Ergus > Cc: Eli Zaretskii , emacs-devel@gnu.org > > Any way my question comes from 2 frequent use cases I don't know what's > the expected behavior: > > 1) Base face sets background and extend; and face sets only background. The background of the base face will be extended. > 2) Base face sets extend but not background; and face sets both. The background of the face will be extended. > in what condition the :extend attribute goes to the merged face? Always? > when in base_face? When in face? The :extend attribute determines whether the background color of the face with that attribute does or doesn't get merged into the "merged face" to be used by the iterator.