From 7a3849669af47ea4cd5511e397dbf4818fe0e498 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Mon, 30 Apr 2012 07:49:38 +0300 Subject: [PATCH] Re: [Patch v2 3/3] emacs: allow notmuch-show-line-faces to use flags for colouring --- 7d/3be5508ca1f702e48f2f7fc8540173826510d3 | 71 +++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 7d/3be5508ca1f702e48f2f7fc8540173826510d3 diff --git a/7d/3be5508ca1f702e48f2f7fc8540173826510d3 b/7d/3be5508ca1f702e48f2f7fc8540173826510d3 new file mode 100644 index 000000000..5d9bec753 --- /dev/null +++ b/7d/3be5508ca1f702e48f2f7fc8540173826510d3 @@ -0,0 +1,71 @@ +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 97312431FAF + for ; Sun, 29 Apr 2012 21:49:45 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 0iq-DERJ5QUy for ; + Sun, 29 Apr 2012 21:49:44 -0700 (PDT) +Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66]) + by olra.theworths.org (Postfix) with ESMTP id 0720A431FAE + for ; Sun, 29 Apr 2012 21:49:44 -0700 (PDT) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id 6254F68057; Mon, 30 Apr 2012 07:49:38 +0300 (EEST) +From: Tomi Ollila +To: Mark Walters , notmuch@notmuchmail.org +Subject: Re: [Patch v2 3/3] emacs: allow notmuch-show-line-faces to use flags + for colouring +In-Reply-To: <1335739697-8501-4-git-send-email-markwalters1009@gmail.com> +References: <1335739697-8501-1-git-send-email-markwalters1009@gmail.com> + <1335739697-8501-4-git-send-email-markwalters1009@gmail.com> +User-Agent: Notmuch/0.12+144~g85299aa (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +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: Mon, 30 Apr 2012 04:49:45 -0000 + +On Mon, Apr 30 2012, Mark Walters wrote: + +[ ... ] +> --- +> emacs/notmuch-show.el | 21 ++++++++++++++++----- +> 1 files changed, 16 insertions(+), 5 deletions(-) + +[ ... ] + +> - (setq notmuch-search-line-faces '((\"delete\" . (:foreground \"red\" +> + (setq notmuch-search-line-faces '((\"tag:delete\" . (:foreground \"red\" +> :background \"blue\")) +> - (\"unread\" . (:foreground \"green\")))) +> + (\"tag:unread\" . (:foreground \"green\")) +> + (\"flag:excluded\" . (:background \"grey\")))) + +Quick note -- "delete" is to be changed to "deleted" (in examples, too :) + + +Tomi -- 2.26.2