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 75A1E431FBC for ; Wed, 6 Feb 2013 06:54:06 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.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 ltowJZvPPwTL for ; Wed, 6 Feb 2013 06:54:04 -0800 (PST) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id B161C431FAF for ; Wed, 6 Feb 2013 06:54:04 -0800 (PST) Received: by mail-wi0-f179.google.com with SMTP id ez12so1656426wid.0 for ; Wed, 06 Feb 2013 06:54:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:x-mailer; bh=Xt1u6ogJp+LzTxje2BEfdH8e2SBVHvcm9e85WhyAvmA=; b=lj82QJJnH5XNT2qG4oczvZ9b4mEP8vRvFgYi3eHqZ010adYTchWL0WDU4tgBobCHMV qcFzzadJxLufhUbHp2VIq1p9h338snlWE+naDOfhAp7X79VKLKJaSPAPUH1GojUno38m V+H7jIS8YW7vuIoUJIIASu8dSdM/sV4BQgg4mJ+uoeR2G1r1smD+WTWCj4nd0DqwM3GH /Pj52W8ftaHUuPUrkdffSO2QNc/Fe0sfRP56XpxHF/ThmdjzrU8e35W7JTnjS0W3xzAs gcqAFaEuy2XB2aEaPEuIkeFD4LQmBrpZpoLFNas/XwRgaPB8QCTtNJ3WOE/3drTge3Na IPXw== X-Received: by 10.194.216.5 with SMTP id om5mr16089466wjc.27.1360162443475; Wed, 06 Feb 2013 06:54:03 -0800 (PST) Received: from luz3.lille.inria.fr ([193.51.236.44]) by mx.google.com with ESMTPS id df2sm3441008wib.0.2013.02.06.06.54.01 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Feb 2013 06:54:02 -0800 (PST) From: Damien Cassou To: notmuch@notmuchmail.org Subject: [PATCH v2 0/2] Customize how each tag is displayed Date: Wed, 6 Feb 2013 15:53:53 +0100 Message-Id: <1360162435-29506-1-git-send-email-damien.cassou@gmail.com> X-Mailer: git-send-email 1.7.10.4 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, 06 Feb 2013 14:54:07 -0000 [PATCH 1/2] emacs: Add notmuch-combine-face-text-property-string [PATCH 2/2] emacs: possibility to customize the rendering of tags These patches are the first of an upcoming series whose goal is to integrate notmuch-labeler into notmuch. See the following for more details: https://github.com/DamienCassou/notmuch-labeler - These patches depend on id:1360013822-6562-1-git-send-email-amdragon@mit.edu "notmuch-combine-face-text-property improvements" by Austin Clements. - This series does not have any unit-test to make it smaller and more amenable to comments. I will send a patch when requested. - Patch 1/2 just add a convenient function to call `notmuch-combine-face-text-property' on strings. - Patch 2/2 introduces `notmuch-tagger-formats', a list of pairs (KEY FORMAT) to format a tag matching KEY using a special format. Currently, an example of such a list is: '(("unread" (propertize tag 'face '(:foreground "red"))) ("flagged" (notmuch-tag-format-image-data tag (notmuch-tag-star-icon)))) to set the unread tag to be red and the flagged tag to have a star picture attached. This variable can be customized, thanks to the work of Austin Clements. - Patch 2/2 also provides 3 pictures, all in SVG and all directly embedded in the elisp source code as proposed by Austin Clements and Tomi Ollila.