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: Eli Zaretskii <eliz <at> gnu.org>
To: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
Cc: 25592 <at> debbugs.gnu.org
Subject: bug#25592: Feature request: sorting overlays
Date: Thu, 02 Feb 2017 22:43:00 +0200
> Cc: 25592 <at> debbugs.gnu.org
> From: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
> Date: Thu, 2 Feb 2017 14:41:21 -0500
> 
> I'm writing a function that copies overlay properties to text properties.

That function probably converts overlays by traversing buffer
positions from beginning to end, no?  Then overlays-at should be what
you need, and next-overlay-change is your friend to move to the next
"interesting" position when you are done with this one.

Isn't that what you are doing?

> I reimplemented compare_overlays in ELisp, but that seems brittle.

How did you implement in Lisp the "last resort" of comparison, which
compares addresses of the C structs?




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.