bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#58479: 29.0.50; [feature/noverlay] Displaced overlays in notmuch sea


From: Ihor Radchenko
Subject: bug#58479: 29.0.50; [feature/noverlay] Displaced overlays in notmuch search buffers after refreshing
Date: Sat, 15 Oct 2022 12:11:55 +0800

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> After executing 3, if I run M-x describe-text-properties, the overlay is
>> not listed in the text properties. Running
>> M-: (overlays-in (point-min) (point-max)) does list the 0-length
>> overlay 5..5. However, running M-: (overlays-at 5) yields nil.
>>
>> I think that the above is not right.
>
> Whether this is "right" or not is a good question, but AFAIK it's the
> "expected" behavior in the sense that it's how `overlays-at` has worked
> until now.  So I think it's "right".

After reading the docstring of `overlays-at', I do agree. It indeed
explicitly says that zero-length overlays will not be listed.
I was confused because zero-length overlays were listed by
describe-text-properties before your patch above.

I think this bug report can be closed.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>





reply via email to

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