emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: noverlay branch


From: Matt Armstrong
Subject: Re: noverlay branch
Date: Sat, 08 Oct 2022 20:23:58 -0700

Ihor Radchenko <yantar92@gmail.com> writes:

> Update: I can no longer see crashes on the latest commit in the branch.
>
> I was able to use the branch with my config for while now, and it works
> mostly fine.
>
> There are a couple of glitches though:
> 1. hl-line-mode overlay sometimes disappear
> 2. notmuch search buffer hides text in wrong places (see the attached video)
>
> Should I report these things as proper bugs or is it OK to discuss them
> within this thread?

Hi Ihor, yes, your glitches (1) and (2) make sense to me, given some
fundamental bugs I have uncovered in noverlay branch.

In some not-yet-commited debug code I have against the noverlay branch I
am seeing binary tree invariants violated.  For example, overlay nodes
in a binary tree with BEGIN positions that are out of range for the
subtree they are in, potentially caused by them being offset
incorrectly.  The algorithms involved are quite fragile.  These bugs
would cause functions like overlays-at and overlays-in to potentially
miss overlays, as well as for BEGIN and/or END to be in incorrect
positions.  This would explain both scenarios you describe above.

Polishing off this new debug code and getting it commited, as well as
fixing the bugs, is what I'm working on.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]