Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id A86EC40D157 for ; Fri, 29 Oct 2010 15:33:40 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.89 X-Spam-Level: X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uO9InCidPQtK; Fri, 29 Oct 2010 15:33:29 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 7CF0140D150; Fri, 29 Oct 2010 15:33:29 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 185FB254007; Fri, 29 Oct 2010 15:33:29 -0700 (PDT) From: Carl Worth To: David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: Re-work the implementation of highlighting in notmuch-search-mode. In-Reply-To: <1275921310-307-1-git-send-email-dme@dme.org> References: <1275921310-307-1-git-send-email-dme@dme.org> User-Agent: Notmuch/0.3.1 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) Date: Fri, 29 Oct 2010 15:33:28 -0700 Message-ID: <87aalwr5mv.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2010 22:33:40 -0000 --=-=-= On Mon, 7 Jun 2010 15:35:10 +0100, David Edmondson wrote: > Re-write `notmuch-search-color-line', with the following improvements: > - create overlays only if they will be needed, > - merge the properties specified for a tag on top of any matching a > previous tag. ... > +The attributes defined for matching tags are merged, with later > +attributes overriding earlier. A message having both \"delete\" > +and \"unread\" tags with the above settings would have a green > +foreground and blue background." Thanks David, That looks like a very useful change. All pushed now. (Though I don't yet have any automated tests to cover colors in emacs buffers. Anyone care to cook something up?) -Carl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFMy0u46JDdNq8qSWgRAvrlAJ9Dlysq1MnPDmLDg0ZGQvT2WMgkAACgm3bJ t5ncjwSltnXx+pibCKuFtXE= =qUMG -----END PGP SIGNATURE----- --=-=-=--