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

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

Re: Make highlight-symbol.el perfect?


From: Stefan Monnier
Subject: Re: Make highlight-symbol.el perfect?
Date: Thu, 11 Apr 2013 20:54:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Isn't that what overlays would do? How is text-property planes better?

You can partly do that with overlays, yes.

But the current implementation of overlays comes with some performance
problems when you have many overlays (we also know how to fix it, which
would also be a nice GSoC project).

Furthermore, the main issue with resolving conflicts between multiple
packages wanting to use the same property is how to *merge* those
conflicting property values.

My proposal for text-property planes resolves those conflicts by merging
the values via Elisp functions invoked when the text-properties are
applied.  This could also work for overlays, of course, but it's
currently missing not only from text-properties but also from overlays.


        Stefan




reply via email to

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