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 C714D431FBD for ; Sun, 7 Feb 2010 07:44:10 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.922 X-Spam-Level: X-Spam-Status: No, score=-1.922 tagged_above=-999 required=5 tests=[AWL=-1.923, BAYES_50=0.001] 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 a9HDr-MzZi6H for ; Sun, 7 Feb 2010 07:44:10 -0800 (PST) Received: from e28smtp02.in.ibm.com (e28smtp02.in.ibm.com [122.248.162.2]) by olra.theworths.org (Postfix) with ESMTP id A3118431FAE for ; Sun, 7 Feb 2010 07:44:09 -0800 (PST) Received: from d28relay05.in.ibm.com (d28relay05.in.ibm.com [9.184.220.62]) by e28smtp02.in.ibm.com (8.14.3/8.13.1) with ESMTP id o17Fi7Dc003395 for ; Sun, 7 Feb 2010 21:14:07 +0530 Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay05.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o17Fi7R62552002 for ; Sun, 7 Feb 2010 21:14:07 +0530 Received: from d28av01.in.ibm.com (loopback [127.0.0.1]) by d28av01.in.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o17Fi7gS013571 for ; Sun, 7 Feb 2010 21:14:07 +0530 Received: from skywalker.linux.vnet.ibm.com ([9.124.222.14]) by d28av01.in.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id o17Fi5FQ013567; Sun, 7 Feb 2010 21:14:06 +0530 From: "Aneesh Kumar K. V" To: Jameson Rollins , Notmuch Mail In-Reply-To: <87aavpb3wh.fsf@servo.finestructure.net> References: <87aavpb3wh.fsf@servo.finestructure.net> Date: Sun, 07 Feb 2010 21:14:05 +0530 Message-ID: <87y6j59hkq.fsf@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] [PATCH] notmuch.el: colorize lines in notmuch-search based on thread tags. 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: Sun, 07 Feb 2010 15:44:11 -0000 On Thu, 04 Feb 2010 07:07:26 -0500, Jameson Rollins wrote: > Arbitrary font faces can be specified for given thread tags. By > default, no coloring is applied. To specify coloring, place something > like this in your .emacs: > > (setq notmuch-search-line-faces '(("delete" . '(:foreground "red")) > ("unread" . '(:foreground "green")))) > > Order matters: line faces listed first will take precedence (in the > example above, a thread tagged both "delete" and "unread" will be > colored red, since the "delete" face is listed before the "unread"). Doesn't 92c4dcc641e9dfb5f65026ebae5cedc8eb1d9e21 help you achive something similar ? -aneesh