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

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

Date: Fri, 06 Jan 2012 17:13:33 +0000

To: Jameson Graef Rollins, notmuch@notmuchmail.org

Cc:

From: David Edmondson


On Fri, 06 Jan 2012 08:58:31 -0800, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
> On Wed, 28 Dec 2011 14:31:31 +0000, David Edmondson <dme@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.
part-000.sig (application/pgp-signature)

Thread: