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: Tue, 22 Nov 2022 19:35:34 +0200 Organization: LINKOV.NET Message-ID: <86h6yrx9dd.fsf@mail.linkov.net> References: <871qqcdfvr.fsf@localhost> <83h6z5psqe.fsf@gnu.org> <83bkpdpf92.fsf@gnu.org> <8335app826.fsf@gnu.org> <831qq9p7b7.fsf@gnu.org> <87bkpc4e06.fsf@gmail.com> <865yfkoz1n.fsf@mail.linkov.net> <87mt8vnn6h.fsf@gmail.com> <86leoebv1q.fsf@mail.linkov.net> <87leoev6j0.fsf@gmail.com> <864jv26l0g.fsf@mail.linkov.net> <87zgctajf5.fsf@gmail.com> <86fsely0q3.fsf@mail.linkov.net> <87cz9prxbg.fsf@gmail.com> <86sfidsbrx.fsf@mail.linkov.net> <86bkozbf3r.fsf@mail.linkov.net> <838rk3117m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32173"; 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, abdo.haji.ali@gmail.com, kevin.legouguec@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 22 18:46:52 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 1oxXMC-0008Dt-Lx for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Nov 2022 18:46:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxXLU-0000O6-Kl; Tue, 22 Nov 2022 12:46:08 -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 1oxXLP-0000Mr-5M for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2022 12:46: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 1oxXLO-0005ib-Il for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2022 12:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oxXLO-0003gS-Ec for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2022 12:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Nov 2022 17:46: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.166913910314041 (code B ref 59141); Tue, 22 Nov 2022 17:46:02 +0000 Original-Received: (at 59141) by debbugs.gnu.org; 22 Nov 2022 17:45:03 +0000 Original-Received: from localhost ([127.0.0.1]:52472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxXKR-0003eE-3H for submit@debbugs.gnu.org; Tue, 22 Nov 2022 12:45:03 -0500 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:53295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxXKP-0003dV-3t for 59141@debbugs.gnu.org; Tue, 22 Nov 2022 12:45:01 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 62DA9100003; Tue, 22 Nov 2022 17:44:50 +0000 (UTC) In-Reply-To: <838rk3117m.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 22 Nov 2022 17:02:53 +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:248664 Archived-At: >> (progn >> (insert "ab") >> (let ((o (make-overlay 1 2))) >> (overlay-put o 'after-string "!")) >> (let ((o (make-overlay 2 3))) >> (overlay-put o 'invisible t))) >> >> The problem is that "!" from 'after-string' is not displayed, >> even when it's on the text that is not invisible. > > There's no bug here. after-string is displayed when the end position of the > overlay is reached, and in this case the end position is invisible, so it is > skipped. If really there is no way to display a string overlay before the invisible overlay, this is fine because when a new option will be added, the ellipsis overlay will be added to the end of the line, and the invisible overlay will start at the beginning of the next line.