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#51016: 28.0.50; 'diff-font-lock-prettify' breaks display of outline headers Date: Sat, 18 Dec 2021 22:03:19 +0200 Message-ID: <83ilvladfc.fsf@gnu.org> References: <87bl44qz5o.fsf@gmail.com> <87mtlx2y3b.fsf@gmail.com> <87ilwj3knx.fsf@gmail.com> <87ee773i9w.fsf@gmail.com> <87h7c2xcuh.fsf@gnus.org> <86r1b52xvp.fsf@mail.linkov.net> <86lf0l23u1.fsf@mail.linkov.net> <87y24lhzed.fsf@gnus.org> <86pmpw7d4b.fsf@mail.linkov.net> <83ilvofnju.fsf@gnu.org> <86fsqs4bi2.fsf@mail.linkov.net> <83ee6cfh5s.fsf@gnu.org> <87ee6cs1pu.fsf@gmail.com> <838rwjg2kd.fsf@gnu.org> <875yrnyai9.fsf@gmail.com> <83wnk3ekdj.fsf@gnu.org> <87ilvm2a74.fsf@gmail.com> <83fsqqctxd.fsf@gnu.org> <87r1aa1daa.fsf@gmail.com> <86lf0hx5yv.fsf@mail.linkov.net> <83o85dajha.fsf@gnu.org> <871r2966nd.fsf@gmail.com> 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="9843"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51016@debbugs.gnu.org, larsi@gnus.org, orontee@gmail.com, juri@linkov.net 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 Sat Dec 18 21:04:21 2021 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 1myfwJ-0002NS-KW for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Dec 2021 21:04:19 +0100 Original-Received: from localhost ([::1]:60920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myfwH-0008PP-Jd for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Dec 2021 15:04:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myfw2-0008Ny-24 for bug-gnu-emacs@gnu.org; Sat, 18 Dec 2021 15:04:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60605) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myfw1-0000KV-QE for bug-gnu-emacs@gnu.org; Sat, 18 Dec 2021 15:04:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myfw1-0001BJ-L5 for bug-gnu-emacs@gnu.org; Sat, 18 Dec 2021 15:04:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Dec 2021 20:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51016 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 51016-submit@debbugs.gnu.org id=B51016.16398578334526 (code B ref 51016); Sat, 18 Dec 2021 20:04:01 +0000 Original-Received: (at 51016) by debbugs.gnu.org; 18 Dec 2021 20:03:53 +0000 Original-Received: from localhost ([127.0.0.1]:43918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myfvl-0001Ap-La for submit@debbugs.gnu.org; Sat, 18 Dec 2021 15:03:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myfvk-0001Ac-Sn for 51016@debbugs.gnu.org; Sat, 18 Dec 2021 15:03:45 -0500 Original-Received: from [2001:470:142:3::e] (port=37780 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myfve-0000Iu-Ho; Sat, 18 Dec 2021 15:03:39 -0500 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=FUhPReQ2v58Cet7an5JK+SRjwz9Pb2GVw77QqLIe6RE=; b=RIeS5amF6F8YbWcXQZf6 tSUVf6pgxI/LzvdQLVXPJ8+EcKgf5eXO7mtStbtXWpfTKePm/tAEySlEr/Qlzlesh93EzeJnj2xUx uBPQq+qJv4NFQwDMXBYq0egfb/IRQVg9HY+Rl87blUShMLCVEhTgsKpltS3oIqRu83ImZmkV8By5S nWI441Qk3TN22mrtpVYX6rwKlpToQ3Cv5PV279aE0uXZyd1GnpWO5qp5U41LaEUshD0ssCmNp2TDm YDNmYUTJM7m/QlgrCWYqj7OHdH6JmLLd7AWMYDMt7SZVeUu0o2vCVdWLOqZDd2SteVB40C9K5idxl VUviMOnVoCUTtA==; Original-Received: from [87.69.77.57] (port=1823 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myfvW-0001Ms-9u; Sat, 18 Dec 2021 15:03:38 -0500 In-Reply-To: <871r2966nd.fsf@gmail.com> (message from =?UTF-8?Q?K=C3=A9vin?= Le Gouguec on Sat, 18 Dec 2021 20:43:18 +0100) 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" Xref: news.gmane.io gmane.emacs.bugs:222623 Archived-At: > From: Kévin Le Gouguec > Cc: Juri Linkov , 51016@debbugs.gnu.org, larsi@gnus.org, > orontee@gmail.com > Date: Sat, 18 Dec 2021 20:43:18 +0100 > > I guess the assumption Juri and I are working with (and maybe Lars too, > since IIUC he added these buttons to act as visual cues to indicate > places which can be expanded or collapsed) is that the purpose of > outline-regexp is to capture "heading" lines, by which we mean titles > and subtitles which define a hierarchy of things to show and hide. You are treating NEWS as if it were an Org document. It isn't. > These form feeds do not contribute to the document's hierarchy. They do > not have subsections to expand or collapse. Despite this, they are > treated as level-1 headings. > > That leads to what Juri and I consider "absurd" results: > > - outline-forward-same-level pauses on them: why? There's nothing for > a user to expand or collapse there; > > - outline-minor-mode-use-buttons adds these clickable buttons: why? > There's nothing for a user to expand or collapse there. These are _page_ delimiters. They are conceptually _above_ level-1 headings.