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: Sat, 12 Nov 2022 20:31:47 +0200 Message-ID: <83k040m3cc.fsf@gnu.org> References: <871qqcdfvr.fsf@localhost> <83h6z5psqe.fsf@gnu.org> <83bkpdpf92.fsf@gnu.org> <8335app826.fsf@gnu.org> <831qq9p7b7.fsf@gnu.org> <86k040nk08.fsf@mail.linkov.net> 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="18105"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59141@debbugs.gnu.org, yantar92@posteo.net, abdo.haji.ali@gmail.com, kevin.legouguec@gmail.com To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 12 19:32:21 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 1otvIi-0004UY-SW for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Nov 2022 19:32:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otvIX-0004k8-6l; Sat, 12 Nov 2022 13:32:09 -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 1otvIR-0004jS-7h for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 13:32:03 -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 1otvIQ-0004AN-Oz for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 13:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1otvIQ-0005mV-ES for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 13:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Nov 2022 18:32:02 +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.166827791122201 (code B ref 59141); Sat, 12 Nov 2022 18:32:02 +0000 Original-Received: (at 59141) by debbugs.gnu.org; 12 Nov 2022 18:31:51 +0000 Original-Received: from localhost ([127.0.0.1]:49032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otvIE-0005m0-Rn for submit@debbugs.gnu.org; Sat, 12 Nov 2022 13:31:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otvID-0005lo-5r for 59141@debbugs.gnu.org; Sat, 12 Nov 2022 13:31:49 -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 1otvI7-00047R-48; Sat, 12 Nov 2022 13:31:43 -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=HmVchbGfu6qRnL7BM0+9v8o3mFTrv3/6ugXxltk+Ydk=; b=lOMRQPQTUva+fjIerdKO Fs4rkA0oyvTgH1hyXYqQcLXzOlhz2isg22XHnep9IfPn4+yqdLtJC8PDw+hmdVqr4wd7magRJZv14 4uH6/mY4awA5bhWtGkyJ0aOqc9rHtfEfVc3hf+eMLwx0+K/2MHx2fJ+martybwrXD9oS/OJaxOgyy ag3EUGLpIlR4L8fCfUUu7mbktqIdg/CZYOWkNbm52oZ2GXBj1xXp/PT8V6zd0MHqNyvajpTS5q4qn gyJhDNTnTLx14D4frA5WiUJPgfFrFwd3XJoprOQHZ1/WV0i9zDghJP7vo2RDbjvPDH84HRZNAFPnS w+XE4p8zhO2+lg==; 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 1otvI6-0001Dw-F1; Sat, 12 Nov 2022 13:31:42 -0500 In-Reply-To: <86k040nk08.fsf@mail.linkov.net> (message from Juri Linkov on Sat, 12 Nov 2022 19:52:31 +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:247684 Archived-At: > From: Juri Linkov > Cc: Abdul-Lateef Haji-Ali , yantar92@posteo.net, > 59141@debbugs.gnu.org, kevin.legouguec@gmail.com > Date: Sat, 12 Nov 2022 19:52:31 +0200 > > > 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 That's a different problem: the face is not extended to the window's edge. I really don't understand why you expect Emacs not to display a character using the face that a Lisp program puts on that character. > 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. Not going to happen, not on my watch. This kind of artificial changes make no sense at all, they will only cause bugs.