From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65896: 30.0.50; folding text with text properties prevents background from extending past the newline Date: Fri, 22 Sep 2023 10:20:34 +0300 Message-ID: <831qeq8yil.fsf@gnu.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37145"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, 65896@debbugs.gnu.org, look@strawberrytea.xyz, kevin.legouguec@gmail.com To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 22 09:21:26 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 1qjaTc-0009P7-8K for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Sep 2023 09:21:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjaTA-0000K4-4V; Fri, 22 Sep 2023 03:20:56 -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 1qjaT8-0000Jj-1D for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2023 03:20:54 -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 1qjaT7-0002pY-Ln for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2023 03:20:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjaTG-0000M0-Gw for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2023 03:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Sep 2023 07:21: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.16953672591345 (code B ref 65896); Fri, 22 Sep 2023 07:21:02 +0000 Original-Received: (at 65896) by debbugs.gnu.org; 22 Sep 2023 07:20:59 +0000 Original-Received: from localhost ([127.0.0.1]:35204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjaTD-0000Lc-74 for submit@debbugs.gnu.org; Fri, 22 Sep 2023 03:20:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjaT8-0000LL-5F for 65896@debbugs.gnu.org; Fri, 22 Sep 2023 03:20:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjaSo-0002me-OG; Fri, 22 Sep 2023 03:20:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=uMGbFJmgV0s5o8xDnuk2r2nkHU1kPibWAXRoSykUiKA=; b=oX4JJj5wdyub1E5kBmNw GhlhCwYsWmmpwmXQy8prJC9Aqc8OCYEFV96vGSF36k5hMOG7yAZNbDwODWArXwif8TKG//5J0dHn7 OA7/PlX0r6d7S2ZcQWbLVp4Zp1zEAAfWtidXkL0dzt3qbvtge4kqM5iQzaV2g6YXcoq20+tntOxBk EB+VBDZB6T8ZrGqWKPJ3a2pGEA2ZCkS6HXEzrOKGx48wknj92QIv6bLG98VLFdii6eRCb7RN38GGK kjaQJdF9xJV7gYjU9R2hrnraw6c/cQ7TImNoIeyGMgY4uZCYglrv/DX5Y27VvLWqANLESg+naxPuQ UdioX/9SRSxeXQ==; In-Reply-To: <86o7huvjrh.fsf@mail.linkov.net> (message from Juri Linkov on Fri, 22 Sep 2023 09:40:42 +0300) 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:271045 Archived-At: > From: Juri Linkov > Cc: Eli Zaretskii , Ihor Radchenko , > 65896@debbugs.gnu.org, look@strawberrytea.xyz > Date: Fri, 22 Sep 2023 09:40:42 +0300 > > > I would imagine outline.el could grow a user option to adjust overlay > > boundaries this way, so the heading's newline would remain visible, and > > so would any :extend property on that newline… although perhaps I'm > > missing some key differences between outline-mode and magit-section-mode > > that may derail this train of thought. > > I tried, but the conclusion was that this requires changes in the display engine. For any changes in this area to be done in the display engine, someone will have to come up with a coherent proposal that will: . make sense from the Lisp programmer's POV . support well both the case of invisible text and the case of no invisible text, without asking the display code to jump through too many hoops in any of these cases . be consistent with the current handling of faces in the display code, which basically decides on the face where it changes, and then keeps using that face until the next face change Ideas and suggestions that satisfy the above conditions are welcome.