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 3287D431FBD for ; Sun, 25 Nov 2012 04:50:01 -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 T4tlXeeYBB3R for ; Sun, 25 Nov 2012 04:50:00 -0800 (PST) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id A19F9431FAE for ; Sun, 25 Nov 2012 04:50:00 -0800 (PST) Received: by mail-we0-f181.google.com with SMTP id t11so4259273wey.26 for ; Sun, 25 Nov 2012 04:49:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:user-agent:date:message-id:mime-version :content-type; bh=tep5YRhtlkL7K7CFTsTdHbVPIWFv8Wai9h6C17bat18=; b=rqItM30Dsag4wVBD9Oi7+OoGibf9TWHFN9iY7YhdvecPujP8NnUe01nqM39znfsFS4 B8O4Mhb0YWr3BYxncW7VA/v7pNdpdji/CZl89/5+fxYPEvIytejYOPlejh9CpNg6gqyM JeaYL0HKPgqfXGTK1kdNHTPkh3IBe5eX76zXrqAeleqjSLQtqp5p2ZsYO2VxVuAkEpFi 9KLDxGL5c2O1htZWZcWufeyCoq46Ts+MuKGCyd61Jlro4AGb+uRq847GVdjDcmPkY7UA RWoMoxpLwudO4eJwa3bk1WWQkTGlmwYtgmSITydUAgmwph7EE83QnsjFUOSMYdz5J1xr UpmA== Received: by 10.216.26.138 with SMTP id c10mr3600158wea.76.1353847797962; Sun, 25 Nov 2012 04:49:57 -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 d9sm17449660wiw.0.2012.11.25.04.49.56 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 25 Nov 2012 04:49:57 -0800 (PST) From: kedals0@gmail.com To: notmuch@notmuchmail.org Subject: Many color per line in notuch emacs mode User-Agent: Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.4.1 (x86_64-pc-linux-gnu) Date: Sun, 25 Nov 2012 13:49:52 +0100 Message-ID: <87lidpx2xb.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: Sun, 25 Nov 2012 12:50:01 -0000 Hi, 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 ? Thx, Dal