From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#65896: 30.0.50; folding text with text properties prevents background from extending past the newline Date: Wed, 24 Jan 2024 16:42:22 +0000 Message-ID: <87ttn2el8x.fsf@localhost> References: <87ttrzmfua.fsf@strawberrytea.xyz> <83il82775q.fsf@gnu.org> <8734z6xvsh.fsf@localhost> <83a5te74sa.fsf@gnu.org> <87fs352mdx.fsf@localhost> <83sf75401f.fsf@gnu.org> <871qep2l2z.fsf@localhost> <83pm293w0k.fsf@gnu.org> <87y1gx11vv.fsf@localhost> <83jzsh3uj8.fsf@gnu.org> <87ttrl0yt1.fsf@localhost> <87lecwrast.fsf@strawberrytea.xyz> <83edio4snm.fsf@gnu.org> <87jzsgr9jr.fsf@strawberrytea.xyz> <83cyy84143.fsf@gnu.org> <877cog80hc.fsf@strawberrytea.xyz> <87h6nj27s0.fsf@localhost> <83v8bz3hpq.fsf@gnu.org> <87r0ml9wk5.fsf@localhost> <87o7ddwhnm.fsf@localhost> <87r0i7eub6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37321"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 65896-done@debbugs.gnu.org, look@strawberrytea.xyz To: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 24 17:40:22 2024 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 1rSgIX-0009TN-2J for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Jan 2024 17:40:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSgIA-0002fd-SZ; Wed, 24 Jan 2024 11:39:58 -0500 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 1rSgI8-0002eU-SV for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2024 11:39:56 -0500 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 1rSgI8-0003rK-JF for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2024 11:39:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rSgID-00022D-Mz for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2024 11:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Jan 2024 16:40: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-done@debbugs.gnu.org id=D65896.17061143477749 (code D ref 65896); Wed, 24 Jan 2024 16:40:01 +0000 Original-Received: (at 65896-done) by debbugs.gnu.org; 24 Jan 2024 16:39:07 +0000 Original-Received: from localhost ([127.0.0.1]:46411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSgHL-00020v-4J for submit@debbugs.gnu.org; Wed, 24 Jan 2024 11:39:07 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:60161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSgHJ-00020Q-Fk for 65896-done@debbugs.gnu.org; Wed, 24 Jan 2024 11:39:06 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 16DAD240104 for <65896-done@debbugs.gnu.org>; Wed, 24 Jan 2024 17:38:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706114334; bh=8DWcC6Wuq1jIGddlb3e+/FHlabDKT9fdez9MUHq3Ch4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=grxEiYHe86j3mkoTB9d7EeVoAO2O8/WWPUHM6N6V4A8d/6Xyc395jQgeoQk82+1fu UKDoIEjLgNinOJRcpyjyuw5YS/fngGPC02I/FuIY8sROinzF2lWLN1ADcfDwz37MUK 5mAqd/nuv0MybLVYL4p3lz7UL4CRgUJOkZ9MUg8umIV26u/Gv0s/oel8dq1HuhWRmG D5qEYzYieboYgwXMFi9+nLvP9apzDiMhvlEcXwB0lq3wU2TFtJW2BcNqqGmpxgE1lq Y5UIwWNnKOjkOXCny4Wu9AzpR1KxbM+K5QK9RMJ8402AhgniuQiGP+2xlbRacI1eYB v2OaVdX9ANllQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TKqR05F2Kz9rxF; Wed, 24 Jan 2024 17:38:52 +0100 (CET) In-Reply-To: <87r0i7eub6.fsf@gmail.com> 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:278794 Archived-At: K=C3=A9vin Le Gouguec writes: > Ihor Radchenko writes: > >> After several attempts, I found a way to handle faces in the trailing >> newlines after folds without excessive changes in Org mode. >> Fixed, on main. >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D2ade16= bbc > > Neat. At first glance (including the subsequent fixup), it looks like > outline.el could be taught the same trick, right? It would """just""" > be a matter of finding the spot(s) that map to org-fold-core-region, and > implementing equivalents to the org-fold-core helpers you leveraged > (get-regions, get-folding-spec, get-region-at-point) if they don't exist > already? Yes, it should be doable. The equivalents would be overlay* functions. Or outline.el can use org-fold-core to fold staff :) org-fold-core has no major dependencies from Org libraries. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at