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#65896: 30.0.50; folding text with text properties prevents background from extending past the newline Date: Sun, 01 Oct 2023 11:42:55 +0300 Message-ID: <83sf6u91io.fsf@gnu.org> References: <87ttrzmfua.fsf@strawberrytea.xyz> <83v8cfns1m.fsf@gnu.org> <87il8fm7x2.fsf@gmail.com> <40b4f4d3-34ae-4631-bebd-eefcd034d87e@app.fastmail.com> <83il8envaf.fsf@gnu.org> <87pm2d6mbj.fsf@localhost> <83a5tfadpq.fsf@gnu.org> <87a5tfp74p.fsf@gmail.com> <86o7huvjrh.fsf@mail.linkov.net> <87o7hla1x4.fsf@gmail.com> <86o7hlghcu.fsf@mail.linkov.net> <87edig6b95.fsf@strawberrytea.xyz> <83sf6vai0i.fsf@gnu.org> <87msx3uum1.fsf@strawberrytea.xyz> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5430"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, kevin.legouguec@gmail.com, 65896@debbugs.gnu.org, juri@linkov.net To: StrawberryTea Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 01 10:44:08 2023 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 1qms3c-0000ys-GY for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Oct 2023 10:44:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qms3L-00072k-MP; Sun, 01 Oct 2023 04:43:51 -0400 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 1qms3G-00072T-HI for bug-gnu-emacs@gnu.org; Sun, 01 Oct 2023 04:43:47 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qms3G-0006V3-9A for bug-gnu-emacs@gnu.org; Sun, 01 Oct 2023 04:43:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qms3W-0000DR-3U for bug-gnu-emacs@gnu.org; Sun, 01 Oct 2023 04:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Oct 2023 08:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65896 X-GNU-PR-Package: emacs Original-Received: via spool by 65896-submit@debbugs.gnu.org id=B65896.1696149800758 (code B ref 65896); Sun, 01 Oct 2023 08:44:02 +0000 Original-Received: (at 65896) by debbugs.gnu.org; 1 Oct 2023 08:43:20 +0000 Original-Received: from localhost ([127.0.0.1]:60501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qms2q-0000C9-Bs for submit@debbugs.gnu.org; Sun, 01 Oct 2023 04:43:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qms2p-0000Bk-5N for 65896@debbugs.gnu.org; Sun, 01 Oct 2023 04:43:20 -0400 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 1qms2T-0006Or-1Y; Sun, 01 Oct 2023 04:42:57 -0400 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=LVaZaPenn1RZcKEBV+u0ljvjEIu1tLUpQe4mDckdT9M=; b=D7wiBcCENmD4 ge9rXDN0q6GhMiAguEJbz52zSS5yCVPpLfOmGCiOAQC7L6YBZstO4vjKhFNRSB42cUxhZCezagr/j 8SeLONF+AI23C57/41Q/GZM1qtKMNfTSMj9Eof94C1Wt++kR6KToEA+Qaw6kCJWhWLH9at5zH7Css uAGQQ35aoBeSmiwHoIYXrSz6mxTKEez6YEZbqd8jqLPQWqX1FnHeXJ2i1dfki2jqQdXGOrR8shbOp BT40YSeWtO0T3Ljk2r1Eqv2r4Jj0LSGpNOnlKGLZcsmjRDqT2t7cYcb92dqHZFrtVh+uGboqqfvOP 8/xziHuqzrBjxbnhKLwW1Q==; In-Reply-To: <87msx3uum1.fsf@strawberrytea.xyz> (message from StrawberryTea on Sat, 30 Sep 2023 17:55:27 -0500) 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:271598 Archived-At: > From: StrawberryTea > Cc: juri@linkov.net, kevin.legouguec@gmail.com, 65896@debbugs.gnu.org, > yantar92@posteo.net > Date: Sat, 30 Sep 2023 17:55:27 -0500 > > Basically, when the text is folded, it uses the face of the first visible > newline after the fold to determine the background. > > The elisp approach is to maintain overlays at the end of each folded region and > it becomes complicated with nested headings. I was thinking that instead, we > could have the extend property (or an extra option on :extend) be used within > the line to colorize the background of the newline at the end. Sorry, I still don't understand what you mean by the last sentence. (All the rest is understood, but it describes the current situation, which I understand well enough to not need any explanations.)