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: Sat, 23 Sep 2023 13:33:05 -0500 Message-ID: <87lecwrast.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> <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> <87ttrl0yt1.fsf@localhost> 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="11899"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.6; emacs 30.0.50 Cc: Eli Zaretskii , 65896@debbugs.gnu.org, kevin.legouguec@gmail.com To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 23 20:43:18 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 1qk7ax-0002nR-Tl for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Sep 2023 20:43:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qk7ag-0000fU-Ps; Sat, 23 Sep 2023 14:42: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 1qk7ad-0000dz-3J for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 14:42: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 1qk7ac-0006X7-S1 for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 14:42:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qk7an-0001IH-RS for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 14:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: StrawberryTea Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Sep 2023 18:43: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.16954945694953 (code B ref 65896); Sat, 23 Sep 2023 18:43:01 +0000 Original-Received: (at 65896) by debbugs.gnu.org; 23 Sep 2023 18:42:49 +0000 Original-Received: from localhost ([127.0.0.1]:40604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk7ab-0001Ho-0v for submit@debbugs.gnu.org; Sat, 23 Sep 2023 14:42:49 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:53611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk7aX-0001Ha-9a for 65896@debbugs.gnu.org; Sat, 23 Sep 2023 14:42:47 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9F1945C00E6; Sat, 23 Sep 2023 14:42:28 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 23 Sep 2023 14:42:28 -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=fm2; t= 1695494548; x=1695580948; bh=hD0Hy1LE6digz4Nk6X+wxDtj9BqUFOlboA7 a9MkW6T4=; b=diMtCcOlMSJH03MSPR70OtxJxmNojzwkh2vREF49CGnrX5ARSNw b9gocs0LJk+oVpTmoYJ03Rf3atPs9CwHdwX195bCiMfW43G32Cft3s3xcFgznPAq kMXVlTyZPST1c2/dmhpARo66h78GVX+slfmVlv2akvLLiFaaVnt3CPVLCZU4it66 cGwfNyvGsDjhKJLp5RNjpYx0h6dYiPBEFIEGcSziFh8JVCQch8otbodUyVqWUq8s 5gvU07jX3S2/69xgBd+WPyL6tQrT1Q/Aj0UOs5u63FPqs8IDj/LF4zGPxCWgEcME YQe6q23sm7qqLi4TGtH68Ooya9RLLdq/0Qw== 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=1695494548; x=1695580948; bh=hD0Hy1LE6digz 4Nk6X+wxDtj9BqUFOlboA7a9MkW6T4=; b=rbQDiC38mi5pQvL60d0DcKFzclQQb dEpyPl/SURmEbSPVrfayaPK/GEz+IbBrrOGERpi3v9KL2iobLNmIy5tNPeXAIb7i mvf+fGfjTi+yLdrogTPCxRLq90lVJBOPbfas2GRn28X4wqPyhzRovQPH6/2BLnRj 7jMTP6mc3cB97yxdWjp6uJ1IiHGhd/PKOLkrLnSCORvqOpjWZsjfb4RlTi5vMu8E xJvUK96WpebT8JcB7dUXQ3xoMvVdtaaMp/BDr/tvmEz7Wl4QP4WEhzPablNWpm6G Ylf6DapHI1ujTqWas2iwzrEAI63m/n9EPDNUZyVCLfoPGvUp6gRrJbMSQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudeltddguddvkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculddujedmnecujfgurhephffvvefuffhffggjkfggtgesmhdtreer tderjeenucfhrhhomhepufhtrhgrfigsvghrrhihvfgvrgcuoehlohhokhesshhtrhgrfi gsvghrrhihthgvrgdrgiihiieqnecuggftrfgrthhtvghrnhepteeltddujedvfeetvdeu hedvfeeffeehudfgfeefleefheejlefgjeffuddvvdeunecuffhomhgrihhnpedtgidtrd hsthenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehl ohhokhesshhtrhgrfigsvghrrhihthgvrgdrgiihii X-ME-Proxy: Feedback-ID: id85149b6:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 23 Sep 2023 14:42:27 -0400 (EDT) In-reply-to: <87ttrl0yt1.fsf@localhost> 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:271180 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I=E2=80=99m using this () init.el to debug redispl= ay with: cgdb =E2=80=93args ./emacs -q -l ./init.el I still haven=E2=80=99t figured out how to fix this but that init works fin= e. It doesn=E2=80=99t matter that it loads all of Org mode since we=E2=80=99re just looking at th= e display. Ihor Radchenko writes: > Eli Zaretskii writes: > >>> Note that there is a similar case when the region is not >>> displayed at all: >>> >>> * Folded heading=E2=80=A6 >>> >>> . C-SPC >>> . C-f >>> (observe ellipsis not being highlighted) >> >> That=E2=80=99s a feature: we ignore faces of invisible text, which I thi= nk 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 =E2=80=9C#+begin_src= =E2=80=9D and end >>> > after the newline following =E2=80=9C#+end_src=E2=80=9D. >>> >>> That will make ellipsis displayed on the same line with the next headin= g: >>> >>> * Heading >>> =E2=80=A6* Another heading >> >> And =E2=80=9C* Another heading=E2=80=9D cannot have an extra newline bef= ore 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. --=-=-=--