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: Fri, 9 Aug 2019 10:59:19 +0200 Message-ID: References: <20190807005411.qfzzpz5cjrajbwn2@Ergus> <83o911aukn.fsf@gnu.org> <20190807153220.ssijgjxnf6dszz45@Ergus> <83k1bpasic.fsf@gnu.org> <20190807155738.yviofsumjjhqueci@Ergus> <83imr9ar9f.fsf@gnu.org> <0975890b-37b4-428d-f6e5-5dcf894fb6be@gmx.at> <83ftmdapxm.fsf@gnu.org> <20190808083804.ta3evocyb4hirywj@Ergus> <835zn7bvvp.fsf@gnu.org> 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="125841"; mail-complaints-to="usenet@blaine.gmane.org" Cc: spacibba@aol.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 09 11:00:10 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 1hw0kq-000WYQ-FQ for ged-emacs-devel@m.gmane.org; Fri, 09 Aug 2019 11:00:08 +0200 Original-Received: from localhost ([::1]:57420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw0kp-00012E-2r for ged-emacs-devel@m.gmane.org; Fri, 09 Aug 2019 05:00:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43322) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw0kG-0000yv-3f for emacs-devel@gnu.org; Fri, 09 Aug 2019 04:59:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hw0kF-0001Sb-7C for emacs-devel@gnu.org; Fri, 09 Aug 2019 04:59:32 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:47615) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hw0kD-0001OI-EH; Fri, 09 Aug 2019 04:59:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1565341160; bh=x5xQvQjdTkVOElpuo/sD3g5QMHuBxdqjJthe4d0W1nA=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=h6AJetDfDLMGCXoaynQIHgadKYbVITx1gJSr64Nh6MmbPsRH+Ia9c0iyE0pToqcih CygTg4e0pOnxDAWGmGrdhl8T/Ed6OoQB3U8WWcIj3YF+3qlH3kXCzKlMffNny48EwK IsRYYRJGHS7Jqpp/MtzFQ3wRIO3+0tIgoJoUp91I= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([46.125.250.109]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LtUHA-1iLTZc1gPs-010vQl; Fri, 09 Aug 2019 10:59:20 +0200 In-Reply-To: <835zn7bvvp.fsf@gnu.org> Content-Language: de-DE X-Provags-ID: V03:K1:0dvi6HbkziHC49nEBot8e4AvFbZPvygHt0XzAPjFbNqmYNyEuiv jKeuStuZk1d5HY9AR7h2Moq/m6Ksi3cV0yDIaI4zLqLCwZwY5q9Z7zrtaVnGfo5wc7wH+n9 hqzYvWDIlJFxLPF553tR1ATMXpeeRqxeLcWrSC1Mqa2XF6Fh01fY6NvbscinuRqROFbjLzs oQ+KUoSRYE6Ga9gEEcREA== X-UI-Out-Filterresults: notjunk:1;V03:K0:3p7Ndh6BOuc=:ZbkqxiZ9W6OSAk6Zc/aLYi HQuRErstyjBphwJ9Pjdms/C4G/KVdT3BSPDTyJE165RB/noFS0+TPBypFAyxQKusDCAfyDKGC E5wD+vU5vBcju1lQ6VYUHwh7Yun/0HlPm3zOHEnNak6+JvyI5jGULyXL9Y8T3rzto3q8e+lPV mIbqzymBDI4g31UZJ74rhaZYiTtKhSyM1cL925bQ1IM+OVycXKhAOktbFtVFtwZKFNr5OlzOG qjIbiZ6rhTlsYOcad/dFfdaVeQAnst8cDnPoytDwBG8hNjbYKUPtaapKqLQjIu7kyp4o46YGn Fu1ZJ2nBI3PNidKqUX7I7LQQN/jaaDN2N4mjnMc4juxeMg0P+BTGuzp0bspWpOdaVBYoUhIt6 oOcde7r4NF2jOdMnEu85dz7zfC9bvyykw9mpJ6ETcK5SBcPFk9lVpkO0t24lmXrFJ++L8Z/Vw WV+LbgZOYpO0WvKelD3p6i/KUpCD7QFnkUKOv4l252y2Amq2mivzB+w4JxwgzHaIrn5Q9aWaE zbhIuEc/y6GdAhW4blOJBQDfJAFdPHCdUwqfBWjewjLn6/GpXM6J7RC5vbrMYyu1RqJPnlSUX 4/+BEpWfJ3ElI6JSGi1hIkSivq4D+dZXg0mr9ZPF3uOTi2xG4TQLiO+CmBj1ZQxcyqJpe+Y+a DxqyTbNeBf4kZDMqlvSfq5NkIoKhFfev4mJ+aHQQxI6ia20nJZ6PVdDM0wEE/K1bNmjxozJPi MqZDDGykYArv9ARge3YT8olBb1+vnl1Pk8sqm1LYIpx7qHMR/RIh+KkY59TzqtfqeQw2+BYz X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.20 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:239270 Archived-At: > Indeed, nothing is ever as simple in the display code, due to the > sheer amount of different use cases. I think at least one other face > attribute that's special in this regard is :box, in particular (but > not only) because extend_face_to_end_of_line is called from the > function which redisplays the mode line and the header line. Newlines within boxes are a pain. Ideally, the entire text should be enclosed within one single box. Which obviously fails when the text does not form a rectangular region on screen. This is also evident with buttons - you cannot draw a button with multiple lines of text. As for the mode-/header-line or tooltip faces we'd probably have these always extend to the end of line, overriding any extension property specified for the underlying face. There's also the case of remapped backgrounds that IIRC cannot extend to the bottom edge of a window - they stop with the last text line displayed (I have to look into this matter again to say more). martin