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: Mon, 02 Oct 2023 09:05:26 +0300 Message-ID: <8334yt8spl.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> <83sf6u91io.fsf@gnu.org> <87edidbq19.fsf@strawberrytea.xyz> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22908"; 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 Mon Oct 02 08:06:13 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 1qnC4K-0005Xv-Vi for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Oct 2023 08:06:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnC3y-0005XY-7I; Mon, 02 Oct 2023 02:05:50 -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 1qnC3u-0005Wn-Lu for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2023 02:05:46 -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 1qnC3t-0003T3-Jz for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2023 02:05:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qnC49-0004vf-LE for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2023 02:06: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: Mon, 02 Oct 2023 06:06: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.169622675518934 (code B ref 65896); Mon, 02 Oct 2023 06:06:01 +0000 Original-Received: (at 65896) by debbugs.gnu.org; 2 Oct 2023 06:05:55 +0000 Original-Received: from localhost ([127.0.0.1]:35770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnC43-0004vI-04 for submit@debbugs.gnu.org; Mon, 02 Oct 2023 02:05:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnC40-0004v3-86 for 65896@debbugs.gnu.org; Mon, 02 Oct 2023 02:05:53 -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 1qnC3c-0003Oo-I5; Mon, 02 Oct 2023 02:05:28 -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=GsAIDxoiYshTd5ClSh5J2L3Ac1oHjgN1aTkipbdP1Uw=; b=EXvse7HeE8hE YDFNbV9999KzxcBCWMPeH5gtdwpxubnuRGxuSJ7f5+lGSzHmun1Cks0Dr3Eb5K/71+mu+cwHTfjFQ MtwrFNXhJV6IgyMRr76HYL858aK5G9Hd+l6aEslKIeGoxr3A+i1Yc/Z9JN06rsyV4e43/ZFerKJrY kgbAwcnLNk3IgCwK99hhhKIPQJsABfLBWYy0Kk3TnPw9aD0NtAWq3QVLIwWW1i4NfMIG/t0mu61VZ JCxKFBGkwBdZ1azxW8oPV5/Iav9RmPtuZGV+b/LMSc/Sjti4C/N+LxF1fwSd4x5lQSWjmpkB0ZEuK 9UW+egtCopG+CqJBHR+BiQ==; In-Reply-To: <87edidbq19.fsf@strawberrytea.xyz> (message from StrawberryTea on Sun, 01 Oct 2023 23:28:55 -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:271650 Archived-At: > From: StrawberryTea > Cc: juri@linkov.net, kevin.legouguec@gmail.com, 65896@debbugs.gnu.org, > yantar92@posteo.net > Date: Sun, 01 Oct 2023 23:28:55 -0500 > > Sure. Basically, I want :extend to apply to a line with a folded region even > though the newline at the end itself does not have the :extend property. So I > want the extend property to somehow propagate across a line to the newline at > the end, even if it does not have the :extend property. This would allow for > :extend to work as expected when we have a a folded region that extends across > multiple lines but the end of the folded region does not have the :extend > property. You say "propagate the :extend property", but you really mean "propagate the face", right? Because propagating :extend alone might then show the wrong face extended, as the newline might have a different face. Anyway, this kind of thing can be easily done by the command that folds the text: it could place a face with a suitably computed :extend attribute on that newline. Right? Changing the display engine to do something like that will be much harder, or even impossible, since the display engine currently basically ignores the faces of invisible text, and the case of folded text is not special in any way from the POV of the display engine. So making such a change will likely produce incompatible behavior changes in other cases.