[RFC][PATCH] emacs: Use text properties rather than overlays in various places.

David Edmondson dme at dme.org
Fri Jan 6 09:13:33 PST 2012


On Fri, 06 Jan 2012 08:58:31 -0800, Jameson Graef Rollins <jrollins at finestructure.net> wrote:
> On Wed, 28 Dec 2011 14:31:31 +0000, David Edmondson <dme at dme.org> wrote:
> > Probably just for aficionados at the moment...
> 
> Actually, I think that all the rest of these comments should be included
> in the log.  There's useful discussion here.

Okay.

The work-in-progress `notmuch-mode' patches that Austin posted to lazily
construct the invisible overlays suggests a way that could be integrated
with these changes to further improve performance, but I haven't had
time to look at it yet.

> > Given that clashes between overlays and text properties are a problem
> > and overlays are considered expensive, switching to text properties
> > makes sense. For example, the coloured tags in the headerline are back
> > with this patch.
> 
> I actually currently have colored tags in the headerline.  Did they go
> somewhere at some point?

I haven't looked properly, but I think that emacs 24 stole them. They
certainly were not updating correctly during the addition/removal of
tags.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120106/fc8c6118/attachment.pgp>


More information about the notmuch mailing list