|
From: | Juri Linkov |
Subject: | bug#51016: 28.0.50; 'diff-font-lock-prettify' breaks display of outline headers |
Date: | Thu, 18 Nov 2021 20:06:31 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>> I updated the patch after a week using it. Outlines headers are now >> updated for diff comming from Git even when diff-font-lock-prettify is >> nil. > > Thanks for the patch and the thorough case for reproduction. I've now > applied it to Emacs 29 (with some trivial changes). As noticed in bug#51809, outline-cycle is not bound on hunk headings anymore, only on file headings. It seems the problem is somewhere here: (setq diff-outline-regexp (concat "\\(^diff --git.*\n\\|" diff-hunk-header-re "\\)")) But I don't know why diff-hunk-header-re doesn't match hunk headings in outline-minor-mode.
[Prev in Thread] | Current Thread | [Next in Thread] |