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: Fri, 29 Sep 2023 14:07:17 -0500 Message-ID: <87edig6b95.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> 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="22013"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.6; emacs 30.0.50 Cc: Eli Zaretskii , 65896@debbugs.gnu.org, Ihor Radchenko , =?UTF-8?Q?K=C3=A9vin?= Le Gouguec To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 29 21:17:17 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 1qmIz5-0005Bv-KB for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Sep 2023 21:17:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qmIyn-0003di-1Y; Fri, 29 Sep 2023 15:16: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 1qmIyl-0003d9-UA for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2023 15:16: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 1qmIyl-0006HA-LX for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2023 15:16:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qmIz0-0005zY-Gz for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2023 15:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: StrawberryTea Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Sep 2023 19:17: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.169601500822995 (code B ref 65896); Fri, 29 Sep 2023 19:17:02 +0000 Original-Received: (at 65896) by debbugs.gnu.org; 29 Sep 2023 19:16:48 +0000 Original-Received: from localhost ([127.0.0.1]:57228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmIyl-0005yp-Kn for submit@debbugs.gnu.org; Fri, 29 Sep 2023 15:16:47 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:56021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmIyi-0005ya-RQ for 65896@debbugs.gnu.org; Fri, 29 Sep 2023 15:16:45 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A4A5E5C0364; Fri, 29 Sep 2023 15:16:24 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 29 Sep 2023 15:16:24 -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= 1696014984; x=1696101384; bh=bRLnrSeXPV0QCbS1K9JorWFLO8z3nR2CSZ2 2zqypVDI=; b=bHcekX9Y/DPEx8aH4hf7ImFcqP/1j2xAGtIlZF4aQi+/5pI8KYM iNocKUBmn7jFCIjrL32ReBnY3QxJSHWbORAfrd7TmFkIolMdeNP3x/jykzN19ECM ptSxPr3AOBMXcQtUk8esSHGYi4MW+Z4ZrdzmRqNmoGMWQ+l4D9CpgXAcH1+v7HHQ 93BEyuXApPLNJxv2gut+GvHi8TYMyg1yPzq1OZWpz/KE5R56McxZeN41kvfxvfBv DX033lE64eJxF6GG2RRClzTTPQDpTUoyxVQlHCjPKpJVU4dndq3O/j8F/O3IcJD/ CHmozj2X7RFVRON3oKyEFLMn4IYmkxvhiSA== 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=1696014984; x=1696101384; bh=bRLnrSeXPV0QC bS1K9JorWFLO8z3nR2CSZ22zqypVDI=; b=PNI+Ngn4Kkn4G+WcJ025+5YTNZePO lU8hkAcVEqRIbX1N891vhirhfY9a5fGXbawrytPA0UCcH+5i6/1FhhjA9WoQNdUS 3ewk5R07ws1G8BavrFmgV/9yjrJHjdGfjFDvdVgjwH4jspBbU8S3X/j1abNCxQR4 0yXOC2jtScDvLtscKrGTPrXBcytu7qzWWn/wD5aUqFBH0vjIU8xaO9/ilgyATUOg 0hF85YyzDrN8l83sKnRNOJJGIE6toT52KWOeg16ZjSbVgw2gWmZSJjdBQnl/z30d lp8SWOSe6KnN4kwikt+6qnv7ORSxoe8eceaQoiORpdLNjSAZSG0D86g2Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrtddvgddufeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpefhvfevuffffhgfjgfkgggtsehmtderredt reejnecuhfhrohhmpefuthhrrgifsggvrhhrhifvvggruceolhhoohhksehsthhrrgifsg gvrhhrhihtvggrrdighiiiqeenucggtffrrghtthgvrhhnpefhleelffdvieejtefgtddv gffhgeefvdetgfejfeevjeetgedukeevledvleeuhfenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlohhokhesshhtrhgrfigsvghrrhihthgv rgdrgiihii X-ME-Proxy: Feedback-ID: id85149b6:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 29 Sep 2023 15:16:23 -0400 (EDT) In-reply-to: <86o7hlghcu.fsf@mail.linkov.net> 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:271526 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Basically, it=E2=80=99s always possible to overlay the newline after a fold= or shorten the fold by one character and overlay a newline for the last character then= set a face and extend property for that newline. But even with this, when the l= ast character in the buffer is not a newline and has the extend property, its f= ace is not extended and there is no character after to coerce into a newline. What I think could be an alternative to adding all these overlays is a chan= ge on the display engine side so that the extend property on a character extends = its face background regardless of whether it=E2=80=99s a newline character. Juri Linkov writes: >>> I tried, but the conclusion was that this requires changes in the displ= ay engine. >> >> Could you expand on what exactly you tried, and what limitations you >> faced? (Apologies if you went over this somewhere else and I missed it) > > Sorry, I don=E2=80=99t remember the details, have to reread previous thre= ads, > maybe this is already possible without changes in the display engine. --=-=-=--