[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58672: 29.0.50; [noverlay] overlays-in returns overlays for empty ra
From: |
Stefan Monnier |
Subject: |
bug#58672: 29.0.50; [noverlay] overlays-in returns overlays for empty range |
Date: |
Fri, 21 Oct 2022 20:06:55 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> Fix was pretty simple. We iterate with an END range of ZV or ZV+1, then
> bail when node->beg gets past the 'end' we really care about. The code
> was returning all nodes beginning at 'end', when it should have been
> skipping past the non-empty ones.
>
> It is attached and in the my/bug58672 branch at
> https://git.sr.ht/~matta/emacs/log/my/bug58672 in my
> https://git.sr.ht/~matta/emacs repo.
Thanks, merged.
[ I'm still trying to track down the origin of bug: the new code should
not just reproduce the behavior of the old one, but it should also
preserve as much of the old code as possible to avoid introducing such
bugs. ]
Stefan