From: Mark Walters Date: Sun, 29 Apr 2012 22:48:14 +0000 (+0100) Subject: [Patch v2 0/3] emacs: allow show to colour based on tags and flags X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=49ff00190886ee55d7043181126db064befdfb43;p=notmuch-archives.git [Patch v2 0/3] emacs: allow show to colour based on tags and flags --- diff --git a/d5/45b75795893426c3b5037d3b01cacff61af0b8 b/d5/45b75795893426c3b5037d3b01cacff61af0b8 new file mode 100644 index 000000000..8003d0d71 --- /dev/null +++ b/d5/45b75795893426c3b5037d3b01cacff61af0b8 @@ -0,0 +1,88 @@ +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 EE83C431FAF + for ; Sun, 29 Apr 2012 15:48:06 -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 UjKmw7t4CX7y for ; + Sun, 29 Apr 2012 15:48:06 -0700 (PDT) +Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com + [209.85.212.169]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 47598431FAE + for ; Sun, 29 Apr 2012 15:48:06 -0700 (PDT) +Received: by wibhm17 with SMTP id hm17so2088346wib.2 + for ; Sun, 29 Apr 2012 15:48:03 -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=O/hoVQ5hM+FH5FeYjQt895vVihEEjXfRa6Aaxc/DReY=; + b=i9BWtnCeuedZoMvFyYPVkPvkNBejjCKH4YGGjZbTiaGVTnAonqL91faL0YaJ8hJi4W + zzx1xyuVTXamRTS+qdkzKiidh/xmZ+NHmRvUvWRjlmjtPZNQKwoQE88wPRE6zWTTQj0n + ubph4hh0RqVWPec2O0F6EHeVxzzqCWyrx0Stvp6qA6gS56OKgEXUX0NUXlAfIJygavvL + HGFLN76oegA/QB1yYlnCoh0ZlvpoZbcC0DKDO+PArkkg/ygE5uRWhsKZzrYaNjVVuWl4 + ys/2LDRyXJRGXDovx4yg47epwKoJkf8Jr0oyTqYk12RumaG5Pzipo5kANC0zQ5pQKqnd + Atyg== +Received: by 10.180.92.71 with SMTP id ck7mr11510706wib.2.1335739683509; + Sun, 29 Apr 2012 15:48:03 -0700 (PDT) +Received: from localhost (94-192-233-223.zone6.bethere.co.uk. + [94.192.233.223]) by mx.google.com with ESMTPS id + ev10sm24230577wid.10.2012.04.29.15.48.01 (version=TLSv1/SSLv3 cipher=OTHER); + Sun, 29 Apr 2012 15:48:02 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [Patch v2 0/3] emacs: allow show to colour based on tags and flags +Date: Sun, 29 Apr 2012 23:48:14 +0100 +Message-Id: <1335739697-8501-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: Sun, 29 Apr 2012 22:48:07 -0000 + +This is a rebased (but otherwise unchanged) version of +id:"1334431301-27303-1-git-send-email-markwalters1009@gmail.com". + +It's probably too late for 0.13 but in case anyone would like to look +at it this version applies cleanly to master so should be easier to +test. + +The first two patches are basically David Edmondson's patch +id:"1325006003-27152-1-git-send-email-dme@dme.org". + +Best wishes + +Mark + + +Mark Walters (3): + 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/notmuch-lib.el | 18 ++++++++++++++++++ + emacs/notmuch-show.el | 44 ++++++++++++++++++++++++++++++++++++++++---- + emacs/notmuch.el | 15 +-------------- + 3 files changed, 59 insertions(+), 18 deletions(-) + +-- +1.7.9.1 +