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: Sat, 23 Sep 2023 14:06:02 +0000 Message-ID: <87ttrl0yt1.fsf@localhost> 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> <83bkdvaio4.fsf@gnu.org> <87jzsiy0ra.fsf@localhost> <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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33719"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65896@debbugs.gnu.org, kevin.legouguec@gmail.com, look@strawberrytea.xyz To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 23 16:06:14 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 1qk3Gw-0008ZT-Lb for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Sep 2023 16:06:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qk3Gd-0004bR-AT; Sat, 23 Sep 2023 10:05:55 -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 1qk3GZ-0004bH-Q9 for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 10:05:51 -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 1qk3GZ-0008PK-7P for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 10:05:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qk3Gk-0007YL-1x for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 10:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Sep 2023 14:06: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.169547791628969 (code B ref 65896); Sat, 23 Sep 2023 14:06:02 +0000 Original-Received: (at 65896) by debbugs.gnu.org; 23 Sep 2023 14:05:16 +0000 Original-Received: from localhost ([127.0.0.1]:40150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk3Fz-0007X6-Sw for submit@debbugs.gnu.org; Sat, 23 Sep 2023 10:05:16 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:44895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk3Fu-0007Wh-Gb for 65896@debbugs.gnu.org; Sat, 23 Sep 2023 10:05:14 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A8944240028 for <65896@debbugs.gnu.org>; Sat, 23 Sep 2023 16:04:53 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Rt9r45NPrz6tsB; Sat, 23 Sep 2023 16:04:52 +0200 (CEST) In-Reply-To: <83jzsh3uj8.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:271170 Archived-At: Eli Zaretskii writes: >> Note that there is a similar case when the region is not >> displayed at all: >> >> * Folded heading... >> >> . C-SPC >> . C-f >> (observe ellipsis not being highlighted) > > That's a feature: we ignore faces of invisible text, which I think is > the expected behavior I do not agree that it is expected. There is basically no way to distinguish between * Heading and * Heading That said, your example indeed demonstrated that my suggestion would cause feature regression. Although, IMHO, not severe one, as demonstrated by the above example. >> > Why cannot Org include in the invisible text the newline of the last >> > line that is being hidden? That is, in the above scenario, make the >> > invisible text begin with the first character of "#+begin_src" and end >> > after the newline following "#+end_src". >> >> That will make ellipsis displayed on the same line with the next heading: >> >> * Heading >> ...* Another heading > > And "* Another heading" cannot have an extra newline before it? It can, but does not have to. And the problem with face :extend Org users experience usually happens when there is no extra newline. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at