From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: :extend face attribute at EOB without end-of-line char Date: Wed, 16 Oct 2019 02:23:17 +0200 Message-ID: <20191016002317.4fn7tu6ssa7whvef@Ergus> References: <83a7a3hzxw.fsf@gnu.org> <838spnhz64.fsf@gnu.org> <83zhi2h6up.fsf@gnu.org> <83mue2h0rl.fsf@gnu.org> <20191015163817.flw6sryikhktorc3@Ergus> <83r23eeyyd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="89027"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20180716 Cc: lekktu@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 16 02:23:47 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 1iKX6Q-000N2I-Bw for ged-emacs-devel@m.gmane.org; Wed, 16 Oct 2019 02:23:46 +0200 Original-Received: from localhost ([::1]:34054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKX6P-0004oI-5M for ged-emacs-devel@m.gmane.org; Tue, 15 Oct 2019 20:23:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50348) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKX6H-0004oB-Pz for emacs-devel@gnu.org; Tue, 15 Oct 2019 20:23:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKX6G-0008UL-81 for emacs-devel@gnu.org; Tue, 15 Oct 2019 20:23:37 -0400 Original-Received: from sonic313-21.consmr.mail.ir2.yahoo.com ([77.238.179.188]:39858) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKX6F-0008T3-R0 for emacs-devel@gnu.org; Tue, 15 Oct 2019 20:23:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1571185414; bh=G0xZhX/5IJzNLq4KawNFwKhUdbyU6dy61YQ2Ovo28k4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=awhTTLyzkQh2NtKJv5iYs0SPEgRKFJax9fbp1uqOgdzy1FPKWg/8mC03EXGO5chXIDjLvx2E3rTdxWfGrvs2T/q9+rYO2V1AoWpcDJAf29T5u8NBKPoJHBOVpDCRQh29rSTPFHGF6nICk0Xa1zuYU72bFH9TR/3ukz1V1ya3AHMObt0Tic6OmDq75aRLkUyKygWVDKU/VRyQ6grtEEXWl9EA1JvuUQh+XwfZ1cLb0SqpEJU4g7LAubsYdbxvHYLerwJ/pAaIPFNcoae021a+V7FhNbnQkpLF2tDKJIXqFnPjwKtqJGY9NOW60OqhA5n58HY2ogso/0h2p8l4j1vBtQ== X-YMail-OSG: pp1xS4kVM1mjS8zrfUAiuPS.TKh2oc08_.6Y3TgJ_kZHtLmgJNLS.zf1zDMxmej YyrleUlrRtzlsrNv8ie4FKUdHp15rUtUC30YH7Wg43L5rDfRDo3I9GcOrly9KmcH9ifXe3pZSERq PSeAfGNoakCf7kJ3TTjLzOmHjLrIpSzlkZNk7YxuolvsrZuTacEXEKWO021b.hssjJoBcgCPi13k bSGACxX.XefObgF.GnDkv.LXHNAt5_.cYmw_kJb6Tts5BQBj97Y2mBlDoYccDvlfJhyu7kO0gkTr 6pZz9r0Jt2_iy_CFEtjWneed_gOJNywI4wmoJT4DcEPFTCX42mLfuMOvmYO67ebTepUKrCSHWhPh xM1myUSBTHHXS3Mz2o5TpgnNimeMq.kTgV773n2k5br_LNSJbRQksXjnR6XkrxT_S3H92oXxBFR9 HPWvlP56WsNotSPKJ3VmIOvrQX5w3jAuXoXKZpEeepZLpTB3o2sqWnPbGfBeVX6dx2KuomqoOmxh d5.RompSUdZpbmpfFPD0iMycHefe96Qhg4Ok2zgXkFflIz2exfjo12IrRgM12SRV7LGwoNowewBz TYX9VHfQq3hUjmBIgXzLltKqYde8lsqbi7RI0Up5bYIB93SV0DKz6LZu2xxWNfNsi6NawadMzj9h B2lQYPVg4ZU_3kEWQPYmH72gQywNR20uXJUQ9_ukXKmCZL7dXBs5M.RAMlHTuDxuyyU63X0G9OCR rT7DoR_uakcvd4HNzvFLRHQwWlqLWAyGpfsnZzFoHdns2_ldpCXX.Kw.CasxDAE.1lazpF6IuLLT p9A1gReNSS45UZDog0.weYhW3yO.Z3csioKgXUCco9 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ir2.yahoo.com with HTTP; Wed, 16 Oct 2019 00:23:34 +0000 Original-Received: by smtp423.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 2b19c46b51793052cf68a92b8b18c76d; Wed, 16 Oct 2019 00:23:32 +0000 (UTC) Content-Disposition: inline In-Reply-To: <83r23eeyyd.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 77.238.179.188 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:241075 Archived-At: On Tue, Oct 15, 2019 at 07:49:14PM +0300, Eli Zaretskii wrote: >> Date: Tue, 15 Oct 2019 18:38:18 +0200 >> From: Ergus >> Cc: Juanma Barranquero , emacs-devel@gnu.org >> >> There are some conditions in the display_line function to not call >> extend_face_to... when the line ends at ZV, fixing this condition we >> should be done right? > >Yes, but be aware that all screen lines after that last line also "end >at ZV". So the code should be somewhat smart to only do what you want >on the last line with text. > Yes, I know; that's why it didn't work for me before. Also the behavior was different in tui and gui. But I haven't time now. Next week maybe I'll give a look.