[PATCH] emacs: Correct the documentation for `notmuch-search-line-faces'.
[notmuch-archives.git] / 0a / 2347c6ccd14440bcc7a4fba4d19bc633165f8a
1 Return-Path: <dme@dme.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id AE155431FDA\r
6         for <notmuch@notmuchmail.org>; Tue,  6 May 2014 03:03:34 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=unavailable\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id LyVcYRgPqM3z for <notmuch@notmuchmail.org>;\r
16         Tue,  6 May 2014 03:03:34 -0700 (PDT)\r
17 Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com\r
18  [74.125.82.51])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  57E4F431FD6    for <notmuch@notmuchmail.org>; Tue,  6 May 2014 03:03:34 -0700\r
21  (PDT)\r
22 Received: by mail-wg0-f51.google.com with SMTP id x13so2624657wgg.22\r
23         for <notmuch@notmuchmail.org>; Tue, 06 May 2014 03:03:33 -0700 (PDT)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=1e100.net; s=20130820;\r
26         h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\r
27         :references;\r
28         bh=FqG8x3nHIyaMdg+lpzf5wRSNCbbGGigGGA1WkF6bBLY=;\r
29         b=O0sVca54cg7Ybt8fsV0SyMI6dkyZ7yclj2F3j0g6gAFYbYnNPSj/Uch1MVWmMer3Bs\r
30         va0q9g55PXlagLhO/EuqBgtDKiA8bM6qovthdZGvRxUSlVlmMyok79qf848heM5x4BwC\r
31         g6SWarmP+CkJsLs3u6ZsOm49zNPByIn+RIhJtp8DseaPWAuT7D6uMtf0nXodLqO4gVvP\r
32         zar0MldRKOhrJe1v0x7WaAF0RT/1nEMLWNSjmAzGX7AeGO82wFX32k6e3G3xi8wysIUV\r
33         GJPA5ZWmQka5FPjDymtf2weZ8QWiJ+uPDuVYoazi2wIb8prlrIvdcOg3soGJ/3orf27N\r
34         D6hw==\r
35 X-Gm-Message-State:\r
36  ALoCoQnIflkQEc2qeCpTXlTsUCcTk8Gv+U/FN0rm8BSniDyqZoDPaSexd45ZH2qtc/3V41ELNAf6\r
37 X-Received: by 10.180.14.199 with SMTP id r7mr20292195wic.0.1399370613151;\r
38         Tue, 06 May 2014 03:03:33 -0700 (PDT)\r
39 Received: from hotblack-desiato.hh.sledj.net (disaster-area.hh.sledj.net.\r
40         [81.149.164.25]) by mx.google.com with ESMTPSA id\r
41         g13sm21285961wjn.15.2014.05.06.03.03.31 for <notmuch@notmuchmail.org>\r
42         (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
43         Tue, 06 May 2014 03:03:32 -0700 (PDT)\r
44 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
45         id 9D6D61036D6; Tue,  6 May 2014 11:03:30 +0100 (BST)\r
46 From: David Edmondson <dme@dme.org>\r
47 To: notmuch@notmuchmail.org\r
48 Subject: [PATCH] emacs: Correct the documentation for\r
49         `notmuch-search-line-faces'.\r
50 Date: Tue,  6 May 2014 11:03:30 +0100\r
51 Message-Id: <1399370610-7146-1-git-send-email-dme@dme.org>\r
52 X-Mailer: git-send-email 2.0.0.rc0\r
53 In-Reply-To: <cun8uqffdo1.fsf@hotblack-desiato.hh.sledj.net>\r
54 References: <cun8uqffdo1.fsf@hotblack-desiato.hh.sledj.net>\r
55 X-BeenThere: notmuch@notmuchmail.org\r
56 X-Mailman-Version: 2.1.13\r
57 Precedence: list\r
58 List-Id: "Use and development of the notmuch mail system."\r
59         <notmuch.notmuchmail.org>\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
63 List-Post: <mailto:notmuch@notmuchmail.org>\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
66         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
67 X-List-Received-Date: Tue, 06 May 2014 10:03:34 -0000\r
68 \r
69 The implementation and documentation for `notmuch-search-line-faces'\r
70 disagreed in how elements in the list were merged. Correct the\r
71 documentation to match the implementation (that is, the earlier\r
72 elements in the list have precedence over later elements).\r
73 ---\r
74  emacs/notmuch.el | 10 +++++-----\r
75  1 file changed, 5 insertions(+), 5 deletions(-)\r
76 \r
77 diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
78 index 6c0bc1b..8aa0104 100644\r
79 --- a/emacs/notmuch.el\r
80 +++ b/emacs/notmuch.el\r
81 @@ -647,12 +647,12 @@ of the result."\r
82  Here is an example of how to color search results based on tags.\r
83   (the following text would be placed in your ~/.emacs file):\r
84  \r
85 - (setq notmuch-search-line-faces '((\"deleted\" . (:foreground \"red\"\r
86 -                                                 :background \"blue\"))\r
87 -                                   (\"unread\" . (:foreground \"green\"))))\r
88 + (setq notmuch-search-line-faces '((\"unread\" . (:foreground \"green\"))\r
89 +                                   (\"deleted\" . (:foreground \"red\"\r
90 +                                                 :background \"blue\"))))\r
91  \r
92 -The attributes defined for matching tags are merged, with later\r
93 -attributes overriding earlier. A message having both \"deleted\"\r
94 +The attributes defined for matching tags are merged, with earlier\r
95 +attributes overriding later. A message having both \"deleted\"\r
96  and \"unread\" tags with the above settings would have a green\r
97  foreground and blue background."\r
98    :type '(alist :key-type (string) :value-type (custom-face-edit))\r
99 -- \r
100 2.0.0.rc0\r
101 \r