GNU bug report logs - #25592
Feature request: sorting overlays

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Date: Tue, 31 Jan 2017 20:33:02 UTC

Severity: wishlist

Done: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#25592: closed (Feature request: sorting overlays)
Date: Thu, 09 Feb 2017 19:51:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 9 Feb 2017 14:50:23 -0500
with message-id <ac1db945-8d11-af7b-54ef-995a0dd8a3fa <at> live.com>
and subject line Re: bug#25592: Feature request: sorting overlays
has caused the debbugs.gnu.org bug report #25592,
regarding Feature request: sorting overlays
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
25592: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25592
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Feature request: sorting overlays
Date: Tue, 31 Jan 2017 15:32:26 -0500
[Message part 3 (text/plain, inline)]
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 (application/pgp-signature, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 25592-done <at> debbugs.gnu.org
Subject: Re: bug#25592: Feature request: sorting overlays
Date: Thu, 9 Feb 2017 14:50:23 -0500
[Message part 6 (text/plain, inline)]
On 2017-02-08 12:22, Eli Zaretskii wrote:
>> Cc: 25592 <at> debbugs.gnu.org
>> From: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
>> 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 (application/pgp-signature, attachment)]

This bug report was last modified 8 years and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.