bug#81375: diff-refine-hunk over-refines large unrelated replacement blocks

Sean Whitton <[email protected]> Fri, 31 Jul 2026 14:26:00 +0100
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
Stefan Monnier [16/Jul  3:48pm -04] wrote:
> [ FWIW, the problem you mention is already present for the "pure
>   addition" and "pure removal" hunks.  We discussed that problem in
>   emacs-devel at some point and I proposed a simplistic patch to
>   highlight those hunks with the corresponding "refined" face, but
>   I don't think this went anywhere.  ]

This sounds like a straightforward bug in diff-refine-unmodified.

-- 
Sean Whitton