From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59141: 28.1.90; Face :extend when all the line but trailing \n is invisible Date: Fri, 11 Nov 2022 09:46:51 +0200 Message-ID: <83tu36orv8.fsf@gnu.org> References: <871qqcdfvr.fsf@localhost> <874jv8o9e4.fsf@gmail.com> <865yfovz6f.fsf@mail.linkov.net> <87a64zlhf5.fsf@localhost> <86fserqmm0.fsf@mail.linkov.net> <87y1si9rrh.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21111"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59141@debbugs.gnu.org, kevin.legouguec@gmail.com, juri@linkov.net To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 11 09:26:14 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1otPMb-0005L5-Cy for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Nov 2022 09:26:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otOlg-0002zN-04; Fri, 11 Nov 2022 02:48:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otOle-0002wa-B6 for bug-gnu-emacs@gnu.org; Fri, 11 Nov 2022 02:48:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otOle-0001MW-14 for bug-gnu-emacs@gnu.org; Fri, 11 Nov 2022 02:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1otOld-0007Gh-My for bug-gnu-emacs@gnu.org; Fri, 11 Nov 2022 02:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Nov 2022 07:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59141 X-GNU-PR-Package: emacs Original-Received: via spool by 59141-submit@debbugs.gnu.org id=B59141.166815282227759 (code B ref 59141); Fri, 11 Nov 2022 07:48:01 +0000 Original-Received: (at 59141) by debbugs.gnu.org; 11 Nov 2022 07:47:02 +0000 Original-Received: from localhost ([127.0.0.1]:44995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otOkf-0007DU-Gq for submit@debbugs.gnu.org; Fri, 11 Nov 2022 02:47:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otOkd-0007D6-Jm for 59141@debbugs.gnu.org; Fri, 11 Nov 2022 02:47:00 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otOkV-0001Ee-DT; Fri, 11 Nov 2022 02:46:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=SKI7tGruQ4dEt5YAOyKL1mZcTr3UycrlAop6DU5oUQw=; b=VHKpgy3vAulzSZbia2dG dcHYih41ZIrcAQmSAMx5cYAVY5c1AxlatgFv6hqekdDN2DlcVwNW5+OSaIIBgDsCpqSEVumr5afob 9431kuwwxWWoBmOwJk0tBTVHNqf1Ybcy7KlT8DV1XO9Ilw/V/N8G40sNyQZOxRT9yJ/9+tnfap+Cq EQ1NRFhvwC9z5TlwQgEIuoo7KbFeUGCLFmPIT/sfaPi5ksPCyJZr1qajstvh82I4x0yPyydI/xbCc DMruBbanCLI6BFdCvoNWD1MqsmpwBXemKZZZ8Q03Ws+MF0HRZfUtXzuxF21u4osR41D6f9fj1jCvo IbaJTC6HacocqQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otOkS-0001y1-FA; Fri, 11 Nov 2022 02:46:49 -0500 In-Reply-To: <87y1si9rrh.fsf@localhost> (message from Ihor Radchenko on Fri, 11 Nov 2022 01:58:10 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247576 Archived-At: > Cc: 59141@debbugs.gnu.org, > Kévin Le Gouguec > From: Ihor Radchenko > Date: Fri, 11 Nov 2022 01:58:10 +0000 > > > Alternatively, maybe it would be sufficient to put the 'display "\n" property > > only on the final newline, thus hiding its face properties. > > The drawback is that it requires more overlays. > > But don't display property inherit face? I tried to play with > `put-text-property' 'display "\n" and even with (propertize "\n" 'face > 'default) but :extend still appears to affect the display. Did you read the mode "Displaying Faces" in the ELisp manual? It explains why this happens. Emacs 29 has a new face attribute value 'reset'; did you try setting the :extend attribute to the value 'reset?