From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: StrawberryTea 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 23:28:55 -0500 Message-ID: <87edidbq19.fsf@strawberrytea.xyz> 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> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24734"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.7; emacs 30.0.50 Cc: yantar92@posteo.net, kevin.legouguec@gmail.com, 65896@debbugs.gnu.org, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 02 06:36:10 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 1qnAf8-0005wa-AD for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Oct 2023 06:36:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnAer-0004Tb-5A; Mon, 02 Oct 2023 00:35:49 -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 1qnAep-0004TA-AC for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2023 00:35: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 1qnAen-0003h3-Lj for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2023 00:35:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qnAf3-0001mS-Vx for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2023 00:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: StrawberryTea Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Oct 2023 04:36: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.16962213276791 (code B ref 65896); Mon, 02 Oct 2023 04:36:01 +0000 Original-Received: (at 65896) by debbugs.gnu.org; 2 Oct 2023 04:35:27 +0000 Original-Received: from localhost ([127.0.0.1]:35667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnAeU-0001lS-Uw for submit@debbugs.gnu.org; Mon, 02 Oct 2023 00:35:27 -0400 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:42799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnAeS-0001lA-Ek for 65896@debbugs.gnu.org; Mon, 02 Oct 2023 00:35:25 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 6F22232009F6; Mon, 2 Oct 2023 00:35:01 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 02 Oct 2023 00:35:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= strawberrytea.xyz; h=cc:cc:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1696221300; x=1696307700; bh=RWghsQT/p9mNclkAlztNQ7vLbLIeWoqSp7D Ve57FCBY=; b=CitRCPuMy1Omx5coLz9xIo5IPBS1hCVcKGm9/4RWYl8JZyEZtn7 8KFgDWHFfdKcyodCiNgjlvfG1hpiDugY/0yEw6uFZpvtgRXhfuX0P7xDnS4cATNE 1j4xdv45mwhYUv6IZQ6DjVdtH2lpV6EnbGMPS16j69nRFrjVaCvwcBec3t5W68vr 3RWrA7UTVkQ5F3/WnP4XMUhRJ9DTzA7IaxEjiBEhfYLUuOYc6BBhKSnHwZcQWGUE Zh0AKxb6pFE17hB4BX7ocJEftwCMLCDnUoAtjf+oR0NdpW7/gRL6SkuXvQVFdqje hasKjbjnvvfhnUQVff/qb1R1w7j3CXfT7Qg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1696221300; x=1696307700; bh=RWghsQT/p9mNc lkAlztNQ7vLbLIeWoqSp7DVe57FCBY=; b=TTOMujTtlTgvr/gIU78mjU1cyNC8g ij/QoE6iJxjc6mfJ7I2Lyic9FvcVErli0JgvG1OSY6hbq1YYl2C/Nuq9VIIGTXlp 2Sln/fHSGZhrJMTWY1mZWKrJ4QsNyrDtii28gEbomPEoE/2OtkNDJBwRUT0yhLFQ u8d/FH2HtTPS2Q/JU/r452E52YVIF2wNB71TY6bQyN+Te/y1ccQSa0qROoDAnje2 gVszgfVldbNxHzhSq2rsf1ygyxubj70c0k1kCHvmQOI6bbk/X9okjW3/CySQSq32 67/Q1NbRDuRxOMQSMzXKDVgM8Q4q2nYI6/9umj2detJJCGEYywAeyW7IQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdejgddtiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculddujedmnecujfgurhephffvvefuffhffggjkfggtgesmhdtreertder jeenucfhrhhomhepufhtrhgrfigsvghrrhihvfgvrgcuoehlohhokhesshhtrhgrfigsvg hrrhihthgvrgdrgiihiieqnecuggftrfgrthhtvghrnhephfelleffvdeijeetgfdtvdfg hfegfedvtefgjeefveejteegudekveelvdeluefhnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheplhhoohhksehsthhrrgifsggvrhhrhihtvggr rdighiii X-ME-Proxy: Feedback-ID: id85149b6:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 2 Oct 2023 00:34:59 -0400 (EDT) In-reply-to: <83sf6u91io.fsf@gnu.org> 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:271643 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 acr= oss multiple lines but the end of the folded region does not have the :extend property. I don=E2=80=99t think this would cause unexpected behavior since :extend on= non-newline characters is currently a no-op. Eli Zaretskii writes: >> 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 reg= ion 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 w= ithin >> the line to colorize the background of the newline at the end. > > Sorry, I still don=E2=80=99t understand what you mean by the last sentenc= e. > (All the rest is understood, but it describes the current situation, > which I understand well enough to not need any explanations.) --=-=-=--