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: Tue, 12 Sep 2023 21:51:49 +0300 Message-ID: <83v8cfns1m.fsf@gnu.org> References: <87ttrzmfua.fsf@strawberrytea.xyz> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29411"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65896@debbugs.gnu.org To: StrawberryTea Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 12 20:53:33 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 1qg8Vw-0007Rr-TI for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Sep 2023 20:53:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qg8VP-0002yf-Im; Tue, 12 Sep 2023 14:52:59 -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 1qg8VN-0002y8-S2 for bug-gnu-emacs@gnu.org; Tue, 12 Sep 2023 14:52:57 -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 1qg8VN-00065G-KE for bug-gnu-emacs@gnu.org; Tue, 12 Sep 2023 14:52:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qg8VR-00032X-Lx for bug-gnu-emacs@gnu.org; Tue, 12 Sep 2023 14:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Sep 2023 18:53:01 +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.169454473911629 (code B ref 65896); Tue, 12 Sep 2023 18:53:01 +0000 Original-Received: (at 65896) by debbugs.gnu.org; 12 Sep 2023 18:52:19 +0000 Original-Received: from localhost ([127.0.0.1]:60060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qg8Ul-00031U-AE for submit@debbugs.gnu.org; Tue, 12 Sep 2023 14:52:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qg8Uj-00031E-6G; Tue, 12 Sep 2023 14:52:18 -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 1qg8UZ-0005zv-2f; Tue, 12 Sep 2023 14:52:07 -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=ypebc0Rky2LAcs+QQBEMI/oQLf7eZqqdIkikXjhstHw=; b=JDdNJtsYPz3u V6SvXWopbcISPpGtGVHZMLqEQ7wJrDGpO574hzx4AQLAByrFDgTjs2rLeN6uGNEm3L7NZo4PhRPPq tQ7jNeTpymKc+RG8isLGZdRWhXZUN6oN86nmHy4u0FfRDL0ofIBLMG45Tx4yvyQC/JzciQuNYF4OO FKnjLRjetljJnpRJcbU6Jg9ix+vIfNQ8hUWeBvIRhp9juZ7xX8D2N84csNJYeJRGy/8UIPPBdDnVb hI2Y/oqfX79zwsR0K/DCCbhxel2/ayACg9o68KwFlhOC3TH4UkkGllXg7MFzXNa4KOvOtzVw4tG4d yzUgsfAzSbNt+AQ4YbOxfA==; In-Reply-To: <87ttrzmfua.fsf@strawberrytea.xyz> (message from StrawberryTea on Tue, 12 Sep 2023 13:00:45 -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:270213 Archived-At: tags 65896 wishlist thanks > From: StrawberryTea > Date: Tue, 12 Sep 2023 13:00:45 -0500 > > > Hi. This issue comes from Reddit, > https://www.reddit.com/r/emacs/comments/v0i4js/extend_org_heading_background_face_past_the/. > Basically, if I fold text using text properties, the heading background > does not extend to the end of the window. To quote /u/yantar92: "This is > because the trailing newline in the folded heading gets hidden. If the > trailing newline is invisible, :extend t has no effect. It is Emacs > limitation, AFAIK." It would be great if we could make the :extend > property work with invisible text. It cannot. Text properties of invisible text are ignored because the display engine skips invisible text and doesn't consider it and its properties at all. I'm not closing this bug in the hope that someone will have a clever idea for how to work around this, or maybe (gasp!) even submits a patch.