From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Question about display engine Date: Sat, 7 Sep 2019 08:52:56 +0200 Message-ID: References: <318675867.1913640.1567711569517.ref@mail.yahoo.com> <318675867.1913640.1567711569517@mail.yahoo.com> <97f66744-8481-084a-ef23-2c50444e1f05@gmx.at> <20190906093117.25qfim4kcrmiqunk@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="266633"; mail-complaints-to="usenet@blaine.gmane.org" Cc: eliz@gnu.org, emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 07 08:53:28 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 1i6Ub8-0017Cd-SY for ged-emacs-devel@m.gmane.org; Sat, 07 Sep 2019 08:53:27 +0200 Original-Received: from localhost ([::1]:33554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i6Ub7-0007Et-2G for ged-emacs-devel@m.gmane.org; Sat, 07 Sep 2019 02:53:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41575) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i6Uam-0007Ej-Dg for emacs-devel@gnu.org; Sat, 07 Sep 2019 02:53:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i6Ual-0001z7-3m for emacs-devel@gnu.org; Sat, 07 Sep 2019 02:53:04 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:44427) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i6Uak-0001yJ-MW; Sat, 07 Sep 2019 02:53:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1567839177; bh=gKwWJ2/t/3dKuC2QrEfgcgSrJVlaFTgEKWlmW7exPSA=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=cg+41DHqZDOgl7yxIWJ+31MrcbvP6POJt2uVrG0z0wwHcAQyKLYv59TG23j9OkLKF tM4RfDer2/i9OjIkoQ8v82o5w+PzK30HOeDfHrO1K4BeAs3s9Z14njXuNycfnBEkb6 ugmMDVu0vredw8PvYQSRfyz89o/EskFb/aoP8g6A= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.5.58]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LlleO-1ifpLF2qum-00ZTCI; Sat, 07 Sep 2019 08:52:57 +0200 In-Reply-To: <20190906093117.25qfim4kcrmiqunk@Ergus> Content-Language: de-DE X-Provags-ID: V03:K1:07lUwlFzwuGlv9dFLXhtuLiy1+k5A83Q/wMrpHjd6jK31LUITaQ E3BCPKDPhy5Jwc7Dyho7lN1d6UhvDvQpXDCZ5aupisPi3JD9N1WZhdjSnDA4KUPksN/VyV8 qhG0RM+JuoIWiHb2hbMS+dqMDN7jP+fwr0ssWbEfU8KxAPY4x3odtmE4PuxRZHxUJdscG6r RXEa7IsCgXnh+4OqNQbjQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:WnAKJt9yZik=:ciXuT99jeNST6o3oS4V8l5 7htxmoKsqEUAZqfpPY8P6JviMM7Uo28p/ZLQF08O7boOoUfUKBi9IpvT0gdlXQhYThvTdCFbY ZYV6jMAsjqya2xchjHfeZorF9alOgpC34GQZKeIr8bROt3PqxyklyrKQGYsQFl0cltXPV519r 78YbR1qgbxd80/rpgByMFhlNwtmE1UCpakYNB3Z0GTtIflXYqHFyOEJOTTQBhFqCR+gKngkLP 0JCMgIpjBZssoD7g9m6OixOL1WNLvQDeWfuJMEUqGoRCn75tu0OZ0MJeQ++CQzlCGBOfyXvzi Q+MZ5ROofsycX9r1j7PnQAyFKLjNIpljycQ6rYyXASsPOQUjbNPsyzIT8CSQ24TM+kQiK4UpG v6JM80j7zzfjLAqaPmxj59IAlLH3gOH9tGN+jujVbtkUjSKFfV1ZLiDTxf401LynGJ6w7DWoW lQSK84cXFvEIvWekIQnn+HHJxImVF9hI2EFeVo7FxXndFcPWM1SmW8+lrSdg1gkD28oQex/W1 NOE8R62fF/GDnGTgF0dGSzzSC8dqWKPGiwKWVAYKfvJMsehDixfE9OXQfPzCqzl/64mhHsM4i XnTmWi0/Qphz24Px3SIpau9WqZ5UHLd7YXSg+w1dgDrxpEuO5ooNAqtpmXzhBgvDHosdOaV/E m4OmQWoSetwv74mVF6Th1mKVYULDZf6DdRCAQDL3mnKGtG1Q5XXnC61PRhClCXBlNqwMXMcNw vvdAXS1WFXixZgy2WXDTOlpvuZ+mK0KjtZGdTr6QyM9laDa45T8yoBiS7k/iqyWqCHGDkaAk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.21 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:239912 Archived-At: >> Just to make sure that we see the same things: Is my interpretation >> correct that in your screenshot you use blue for the region and black >> as default background and the regions starts at line 9 of your window? >> > Yes that's it. When I set the :extend attribute of the default face, everything seems to work as expected. The problem is that if, in the earlier mentioned, /* Update the faces id and extend. */ it->face_id = new_face_id; if (FACE_EXTENSIBLE_P (new_face)) it->extend_face_id = new_face_id; no extensible new face is found, the assignment fails and the old region background stays in place for the rest of the window. So it seems that you have to make sure that _some_ default background is always assigned here in case no face applied has the :extend attribute set. martin