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 15659431FAF for ; Wed, 28 Nov 2012 00:42:06 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.201 X-Spam-Level: X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled 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 DMZuAEsiRxmC for ; Wed, 28 Nov 2012 00:42:05 -0800 (PST) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 5033E431FAE for ; Wed, 28 Nov 2012 00:42:05 -0800 (PST) Received: by mail-wi0-f175.google.com with SMTP id hm11so4182671wib.2 for ; Wed, 28 Nov 2012 00:42:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; bh=S3HGsoAEDAN42tktEAidD2cWRDnInQsRjYq3Ot76MjM=; b=BO274wPJAbP/MBULr1lwcI+c5384Q4PDd099bC54PvxCk63Rnd6P1dzzQ2BZDmQ3hl Hzr/mRlsnOODQ7GP16F8rHDQvmKHStZPgPj+bnK+ZfeH7f9HwBK7mTU6A04Vv9pgsPzG 5YTRJThWFIopGJP0yYMbuLzO3Ys1VuWYpvgF0rKWX8MAYivrdhAhzVOPGatDQgmDJUGn PRboPSr/KeCbAnMjY4g8zvPFbMVRXfd4qSGQIBxxsooY4beekcLFbFWb5BeNsfHkRoVT 03PJa4jKvylDF08lMojGpNOcV6U+zrMLqin4hKMFqh3aBkKUJnZ5ffJYgdq9bSmp/FK9 +4VA== Received: by 10.216.200.89 with SMTP id y67mr5906564wen.208.1354092122718; Wed, 28 Nov 2012 00:42:02 -0800 (PST) Received: from localhost (AStrasbourg-156-1-120-46.w90-6.abo.wanadoo.fr. [90.6.23.46]) by mx.google.com with ESMTPS id dm3sm6004555wib.9.2012.11.28.00.42.00 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Nov 2012 00:42:01 -0800 (PST) From: kedals0@gmail.com To: Jameson Graef Rollins , notmuch@notmuchmail.org Subject: Re: Many color per line in notuch emacs mode In-Reply-To: <87vccrmj8z.fsf@servo.finestructure.net> References: <87lidpx2xb.fsf@compaq.home> <87vccrmj8z.fsf@servo.finestructure.net> User-Agent: Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.4.1 (x86_64-pc-linux-gnu) Date: Wed, 28 Nov 2012 09:41:55 +0100 Message-ID: <87d2yyt8z0.fsf@compaq.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Wed, 28 Nov 2012 08:42:06 -0000 Hi, Thx for your respond. To precise my saying, I would like to color a field in terms of tags associated to its message, as it's done for notmuch-search-color-line. I'm not sure to really understand configuration of these options, but I think it's not possible. Could you confirm me it ? Thx Dal. Jameson Graef Rollins writes: > On Sun, Nov 25 2012, kedals0@gmail.com wrote: >> I can set color per line using notmuch-search-line-faces. But I would >> like to specify color per line field, i.e a color for date, another for >> authors for exemple. >> >> To do this, I would like to use a 3-tuple list for >> notmuch-search-line-faces: >> :type '(alist :key-type (string) :field (string) :value-type >> (custom-face-edit)) >> >> The problem is function notmuch-search-color-line take a non structured >> line in args. Then it is needed to parse it to find out field. >> >> Do you think it would be possible to add a mecanism which permit to >> color a field during line building ? > > Hi, Dal. There are already configuration variables to color all the > individual fields in the search result. See the following face > configuration variables: > > notmuch-search-date > notmuch-search-count > notmuch-search-subject > notmuch-search-matching-authors > notmuch-search-non-matching-authors > > The best way to configure this stuff is with the emacs configuration > interface: M-x customize-group notmuch-search > > jamie.