Subject: Re: bug#59067: 29.0.50; Exexpected overlay order in `overlays-in' return value

From: Stefan Monnier <[email-masked]>
Date: Thu, 10 Nov 2022 09:03:55 -0500

> You are right. `overlays-in' docstring does not give any promises.
> It is not really a big deal for Org as well (can as well sort the return
> value).

Maybe we could provide a `sorted` argument to `overlays-in`, but the
problem is that it's not clear what is "the right ordering".

Maybe Someone™ should browse through the various calls to `overlays-in`
out there to try and see which orderings could be useful.

        Stefan