From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#59141: 28.1.90; Face :extend when all the line but trailing \n is invisible Date: Sat, 12 Nov 2022 19:52:31 +0200 Organization: LINKOV.NET Message-ID: <86k040nk08.fsf@mail.linkov.net> References: <871qqcdfvr.fsf@localhost> <83h6z5psqe.fsf@gnu.org> <83bkpdpf92.fsf@gnu.org> <8335app826.fsf@gnu.org> <831qq9p7b7.fsf@gnu.org> 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="8608"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 59141@debbugs.gnu.org, yantar92@posteo.net, Abdul-Lateef Haji-Ali , kevin.legouguec@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 12 19:13:17 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 1otv0H-00026M-I5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Nov 2022 19:13:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otuzH-0006HI-4o; Sat, 12 Nov 2022 13:12:15 -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 1otuzG-0006GW-19 for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 13:12:14 -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 1otuz5-00089H-AZ for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 13:12:13 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1otuz5-00032P-6F for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 13:12:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Nov 2022 18:12:03 +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.166827667011577 (code B ref 59141); Sat, 12 Nov 2022 18:12:03 +0000 Original-Received: (at 59141) by debbugs.gnu.org; 12 Nov 2022 18:11:10 +0000 Original-Received: from localhost ([127.0.0.1]:48976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otuyD-00030d-Rf for submit@debbugs.gnu.org; Sat, 12 Nov 2022 13:11:10 -0500 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:43033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otuy9-0002zK-A0 for 59141@debbugs.gnu.org; Sat, 12 Nov 2022 13:11:05 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 6490B100002; Sat, 12 Nov 2022 18:10:56 +0000 (UTC) In-Reply-To: <831qq9p7b7.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 11 Nov 2022 22:25:32 +0200") 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:247679 Archived-At: > The solution to this problem is simple: don't use the :extend > attribute for these faces. That's all. This attribute is not > intended for what you want to achieve here. A whole bunch of problems > automatically gets resolved if you don't use :extend. This problem exists even when the :extend attribute is not used as Kévin demonstrated in https://debbugs.gnu.org/52587#13 So I see the only solution to modify the display engine somewhere in `setup_for_ellipsis', so that after displaying `default_invis_vector' or `DISP_INVIS_VECTOR', it could remove all face text attributes from the next newline that follows the ellipsis.