--- Begin Message ---
Subject: |
Feature request: sorting overlays |
Date: |
Tue, 31 Jan 2017 15:32:26 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
Hi,
Is there a way to get a list of all overlays in a buffer, sorted by priority?
Currently only overlays-at seems to have a sorted parameter, and the sorting is
done in C (so there seems to be no way on the list side to sort the results of
overlays-in, except for reimplementing compare_overlays).
Thanks!
Clément
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#25592: Feature request: sorting overlays |
Date: |
Thu, 9 Feb 2017 14:50:23 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
On 2017-02-08 12:22, Eli Zaretskii wrote:
>> Cc: address@hidden
>> From: Clément Pit--Claudel <address@hidden>
>> Date: Tue, 7 Feb 2017 15:07:19 -0500
>>
>> would you object to a patch adding a function that takes a list of overlays
>> from the same buffer and sorts them?
>
> I don't think such a functionality will see too much use. But won't
> object if someone wants to implement it.
Ok. I'll consider implementing this, but I'll implement your other suggestion
first. This bug can be closed :)
Thanks!
Clément.
signature.asc
Description: OpenPGP digital signature
--- End Message ---