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 88BDE431FB6 for ; Sat, 5 May 2012 06:39:39 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 2.7 X-Spam-Level: ** X-Spam-Status: No, score=2.7 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, FREEMAIL_REPLY=2.499, 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 BIJsyNa55hWG for ; Sat, 5 May 2012 06:39:39 -0700 (PDT) Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id E3150431FAE for ; Sat, 5 May 2012 06:39:38 -0700 (PDT) Received: by wgbds1 with SMTP id ds1so2011451wgb.2 for ; Sat, 05 May 2012 06:39:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=j+MKwFChbkVGgfW59YeT3v8rTF5ZFq+TMosTKvz8lAA=; b=UDdA6defWFMMePNH+Q7Zv7QCclLbJL2H2jdRNkjpXlktL5/bvEroqTw9IfEGIatEZg EkxJz2Hfh6bT/iG7tuFRBy9HD/d6rcR7coK42rFvAxn4vrAAklrCmrGda2lTqxerZ4nD tOOq6J6hESvVnSAB8oV9ILo2VCsJPDZiYSti9daSppImlX6aw2krAlCyWBNKfsY7iTzC 7Q9MaOyLnyNVThghJun5uhysuUuzV5y74yoPnnosb04lPjLhoviCyQQQWIDKTeGKjjcv MtVo/J1juRuyggADtvj6gZwLGw/3I4SMkSnE7fblvfBw45KdmhrR+y4dyLtydJuv5xtq ii6g== Received: by 10.216.141.31 with SMTP id f31mr3779863wej.53.1336225177712; Sat, 05 May 2012 06:39:37 -0700 (PDT) Received: from localhost (94-192-233-223.zone6.bethere.co.uk. [94.192.233.223]) by mx.google.com with ESMTPS id f19sm9085994wiw.11.2012.05.05.06.39.35 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 05 May 2012 06:39:36 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [Patch v3 0/5] emacs: allow show to colour based on tags and flags Date: Sat, 5 May 2012 14:39:43 +0100 Message-Id: <1336225187-8772-1-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 1.7.9.1 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: Sat, 05 May 2012 13:39:39 -0000 The previous version of this patch set is at id:"1335739697-8501-1-git-send-email-markwalters1009@gmail.com". The changes in this version: fixes in the documentation (notmuch-search-line-faces corrected to notmuch-show-line-faces and tag delete changed to tag deleted). I have inserted one small patch. This moves notmuch-search-line-faces to require pairs of the form ("tag:TAG" . FACE) rather than ("TAG" . FACE). This makes it consistent with notmuch-show-line-faces which makes it easy for the user to colour show results the same as search results (a (setq notmuch-show-line-faces notmuch-search-line-faces) is sufficient). See the previous thread for my reasons why we do want two distinct variables. NOTE It does mean that people will have to change their existing colouring lines. Mark Walters (5): emacs: Move colour line from search to lib emacs: Add `notmuch-show-line-faces' and apply it. emacs: allow notmuch-show-line-faces to use flags for colouring emacs: move notmuch-search-line-faces to "tag:" style. emacs: inherit search-line-faces in show-line-faces. emacs/notmuch-lib.el | 18 +++++++++++++++++ emacs/notmuch-show.el | 51 +++++++++++++++++++++++++++++++++++++++++++++--- emacs/notmuch.el | 30 +++++++++++----------------- 3 files changed, 77 insertions(+), 22 deletions(-) -- 1.7.9.1 *** BLURB HERE *** Mark Walters (4): emacs: Move colour line from search to lib emacs: Add `notmuch-show-line-faces' and apply it. emacs: move notmuch-search-line-faces to "tag:" style. emacs: allow notmuch-show-line-faces to use flags for colouring emacs/notmuch-lib.el | 18 ++++++++++++++++++ emacs/notmuch-show.el | 49 +++++++++++++++++++++++++++++++++++++++++++++---- emacs/notmuch.el | 30 ++++++++++++------------------ 3 files changed, 75 insertions(+), 22 deletions(-) -- 1.7.9.1