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: Wed, 7 Aug 2019 18:25:37 +0200 Message-ID: <0975890b-37b4-428d-f6e5-5dcf894fb6be@gmx.at> References: <20190807005411.qfzzpz5cjrajbwn2@Ergus> <83o911aukn.fsf@gnu.org> <20190807153220.ssijgjxnf6dszz45@Ergus> <83k1bpasic.fsf@gnu.org> <20190807155738.yviofsumjjhqueci@Ergus> <83imr9ar9f.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="156325"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Eli Zaretskii , Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 07 18:26:15 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 1hvOlQ-000eWE-N5 for ged-emacs-devel@m.gmane.org; Wed, 07 Aug 2019 18:26:12 +0200 Original-Received: from localhost ([::1]:43400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvOlP-0003i2-Pa for ged-emacs-devel@m.gmane.org; Wed, 07 Aug 2019 12:26:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41950) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvOl5-0003dm-Ov for emacs-devel@gnu.org; Wed, 07 Aug 2019 12:25:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvOl3-0007VZ-OO for emacs-devel@gnu.org; Wed, 07 Aug 2019 12:25:51 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:55085) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hvOkz-0007Os-Us; Wed, 07 Aug 2019 12:25:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1565195137; bh=mJ5dyWcFsFJ0+YdqBuSGkjGl2fEHjKsqhWllegaHPKA=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=I0OuGKRLaD4Ah4J7Cm5cHX3LUA7879SGZTL8+npuoqK0CH05NsC6pFyJ83hJorw7R D4rRzUwY9jNKuh7YNiLULQqYwtPWUZ6kZVbXPCPA9PygVHvIKhl+nw5GjxJAUjBCDj dr+5Odhk09+dfq9al64w8PpWdOOY2WpPvuWHeUEc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([213.162.80.201]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MeU4s-1iVYv72neW-00aTBk; Wed, 07 Aug 2019 18:25:37 +0200 In-Reply-To: <83imr9ar9f.fsf@gnu.org> Content-Language: de-DE X-Provags-ID: V03:K1:IffOBnLuSvWkqrTwtU6Cz47PWOhtJY3sdoJQ93ynWX82GhY/WNa ve1KlGMW9gZSOaqYEoC/W18Fzq7c0Dfg46uIlGsyalNAmupCHUJQ8J6SJgv4yQpnETtob2t kRVTL6/fL0T4ZtST8NcRNI1oaLQ7MGo+RoZTot2r047OYJSupGWZA2UxG9jOQf5FGlVR/GD /KuJHx/l/V0Wo58vgcR8w== X-UI-Out-Filterresults: notjunk:1;V03:K0:VO077XH/xQE=:0J+NXpwboiCH3EujUt1uR6 hm1/+Z4ek8yzyfdcfHorWC8KH6vI8j8+/lSkcX9jgbfsdJwpD9S/c/JtCnmuwW6HPA86HJmRB YtZ+tITtBcB+t5D5tF02Ngluo4PGdP9RaODciOF1u8FyX4DOTBvgY5XvcC4VXZyzx0e+WH4TF 7Ty7X8EE92K2RVKp386V39nNUoSjyvYrSWBg/boI/MdSCxatIuwWwWKKVE4cZyYqfMUZ1+r0+ 85SyxAqx5Nru7ymAHVbQn1/LGPYP3FGKo/cWCGzFu7IA/qu4FhzXymrFj2tNYSJERzI4I3iSL I+LptwqyeRBKRjO5aBIm5rp8iUVoeKXZ4MBdRzpeRMTXuYns3iEQ9aUVxj6mcZK3QBGiwkybJ RpqeABsrZ4kvPSz9sCYboxi/w2mUCgWL86wFexPVbMqzmYN6KQ8fPSlR6w9VRTl7eLHJWjTUo AhuWhZWHD44BGcuHnLa4ROzztnzBkjR6Sj1pnfBPzrqPGZ4OLHxmb3EzWLiw9IQlrudHIGzse KR6XZXMaRVDgQUBPITnB3NOST0spOYpqGtJsByimJ44Fk/xeRvGpnL1t9swdWpShXLnnKZ3Xn 2Zs6dQXBNwHuNQfx6ovHdhA3guC33HmWeT3DwghQ4lxQKngFBE/MLbGN8Q7wafMd+PcoE+pWn FGFxTnb9wagYXbNRw74mYSlh+zRPLhIsO2Rc32LCI+Xggw7OC7s3XwObU42OQi8dZ3vE+gQ7w YLtKmG5iAJSnFC0UCnDeUsoSWtOrzr5qKZO6QrfG1hd2tphsa3yikmZwWBvnl9htD0iIt0xx X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.19 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:239232 Archived-At: > And, of course, this leaves the more general problem I described in my > message: what is the right behavior for extending the face that > crosses a newline. (Note that the display engine in general doesn't > know whether a face that doesn't end before a newline will or won't > continue on the next screen line.) Recalling your proposal (defcustom face-extend-to-window-edge t "Non-nil means extend face of last character on line to window edge. Certain face attributes, if present in the face of the last character of a line and different from those of the default face, cause the empty space following the end of text on the line to be drawn with those attributes, to give the empty space appearance similar to that of the preceding text. These attributes are those which affect the background of a face: `:background', `:stipple', `:box', `:underline', `:overline', and `:strike-through'. By default, if the face of a line's last character has any of these attributes, and the value is different from that of the default face, the empty space following the line's text will be drawn in the face of the last character. This variable allows fine-tuning which attributes trigger the face extension. The default value of t means any of the mentioned attributes will cause face extension. The value of nil means face extension is turned off. A value that is a list of attributes will extend the face only if any of the attributes from the list are present in the last character's face. Note that only attributes from the above list are meaningful in list values of this variable.") in the discussion of Bug#23574. martin