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: Tue, 22 Nov 2022 17:02:53 +0200 Message-ID: <838rk3117m.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18286"; 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 Tue Nov 22 16:03: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 1oxUnt-0004Vk-19 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Nov 2022 16:03:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxUnf-0007LZ-PE; Tue, 22 Nov 2022 10:03:03 -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 1oxUne-0007Jm-QO for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2022 10:03: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 1oxUne-0003jq-I5 for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2022 10:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oxUne-0003WF-EK for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2022 10:03: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: Tue, 22 Nov 2022 15:03: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.166912937713516 (code B ref 59141); Tue, 22 Nov 2022 15:03:02 +0000 Original-Received: (at 59141) by debbugs.gnu.org; 22 Nov 2022 15:02:57 +0000 Original-Received: from localhost ([127.0.0.1]:52144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxUnY-0003Vv-NR for submit@debbugs.gnu.org; Tue, 22 Nov 2022 10:02:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxUnW-0003Vg-7k for 59141@debbugs.gnu.org; Tue, 22 Nov 2022 10:02:55 -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 1oxUnQ-0003iE-11; Tue, 22 Nov 2022 10:02:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=3tWZPCWCHstygqnuIkpdtVF3vwYBGOq+If2SfHdtbmA=; b=RFfY7cG5kUgw XJ7yMMJwse5jfrLw6IixiH1WkUJLllut4rUNoupXJS+R1So4sMWFlz8xHwp7Ks3EXg/jUZJLETMDm 78wyKEhMuDR4k5skSSex+X1OTZdNkUHHs4CIysoZJwA6FZbQ14XDfr8a0ymnzQeEfGIDHlQ/luFTa 4KcZ1u5FKdOHuiZya1W0YfWnsrm4EE7cWsUXMMZG9LbewmnWGVUzPj+QHGibJ1LK1Pior+K2pI5EP Va7rO1fyA6VYs7xCAaFgZk8DUiZKmQRjuKKIIaisBD/xbdxo2O0FqxTFug/lin2XkTLcLWF43YQlB 6Ysrp+FeTpbDMmtGa5ymxA==; 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 1oxUnH-0007el-G5; Tue, 22 Nov 2022 10:02:40 -0500 In-Reply-To: <86bkozbf3r.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 22 Nov 2022 09:52:40 +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:248649 Archived-At: > From: Juri Linkov > Cc: 59141@debbugs.gnu.org, Eli Zaretskii , Abdul-Lateef > Haji-Ali , yantar92@posteo.net > Date: Tue, 22 Nov 2022 09:52:40 +0200 > > > we could add ellipses in a more clean way: as a new value of the user > > option 'outline-minor-mode-use-buttons'. So when it's customized to > > 'ellipsis', the ellipsis overlay will be created in a new pcase branch > > in outline--insert-button. > > Unfortunately, this is not possible to do because of a bug > in overlay handling. Here is a short test case: > > (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.