Re: notmuch-tree display
[notmuch-archives.git] / 1e / 8ff2eb37afde92fa86267c12d0b1f6cdebcb07
1 Return-Path: <dmitry.kurochkin@gmail.com>\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 BBD5E429E25\r
6         for <notmuch@notmuchmail.org>; Fri, 23 Dec 2011 12:41:20 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id PRREluMXMKSi for <notmuch@notmuchmail.org>;\r
17         Fri, 23 Dec 2011 12:41:20 -0800 (PST)\r
18 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com\r
19         [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 279BC431FB6\r
22         for <notmuch@notmuchmail.org>; Fri, 23 Dec 2011 12:41:20 -0800 (PST)\r
23 Received: by wibhq2 with SMTP id hq2so4123963wib.26\r
24         for <notmuch@notmuchmail.org>; Fri, 23 Dec 2011 12:41:18 -0800 (PST)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=from:to:subject:date:message-id:x-mailer;\r
27         bh=fyI2gE/MdgeasfPtNF57mv57/itPy9qb5mHvbvj0h8k=;\r
28         b=jOGhxieYGy5KjOM2FQ1Tqlake5D7w36WR2FCgAnbXvjnuTeWl+6x3RXKpzfRfluSF2\r
29         R0vPX4JpiIyKyY4mjJlVaSQSEdqA0Tob+Shi0IDTh1wQXAVYCZ3zlvhHF6PcXkLxXwqt\r
30         kcKxjbatVnCdxb9ae7UIcGqCVs9HRMyW5bM+k=\r
31 Received: by 10.180.88.10 with SMTP id bc10mr35740826wib.13.1324672878907;\r
32         Fri, 23 Dec 2011 12:41:18 -0800 (PST)\r
33 Received: from localhost ([91.144.186.21])\r
34         by mx.google.com with ESMTPS id p2sm14912730wbh.22.2011.12.23.12.41.17\r
35         (version=TLSv1/SSLv3 cipher=OTHER);\r
36         Fri, 23 Dec 2011 12:41:18 -0800 (PST)\r
37 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
38 To: notmuch@notmuchmail.org\r
39 Subject: [PATCH] emacs: fix docstring for `notmuch-search-line-faces'.\r
40 Date: Sat, 24 Dec 2011 00:40:34 +0400\r
41 Message-Id: <1324672834-31518-1-git-send-email-dmitry.kurochkin@gmail.com>\r
42 X-Mailer: git-send-email 1.7.7.3\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Fri, 23 Dec 2011 20:41:20 -0000\r
56 \r
57 Examples in documentation for `notmuch-search-line-faces' had an extra\r
58 quote, e.g.:\r
59 \r
60   '(\"unread\" . '(:foreground \"green\"))\r
61 \r
62 Which resulted in values like:\r
63 \r
64   (\"unread\" quote (:foreground \"green\"))\r
65 \r
66 And tons of "Invalid face reference: quote" errors in the messages\r
67 buffer.\r
68 ---\r
69  emacs/notmuch.el |    6 +++---\r
70  1 files changed, 3 insertions(+), 3 deletions(-)\r
71 \r
72 diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
73 index 270f983..fde2377 100644\r
74 --- a/emacs/notmuch.el\r
75 +++ b/emacs/notmuch.el\r
76 @@ -646,9 +646,9 @@ This function advances the next thread when finished."\r
77  Here is an example of how to color search results based on tags.\r
78   (the following text would be placed in your ~/.emacs file):\r
79  \r
80 - (setq notmuch-search-line-faces '((\"delete\" . '(:foreground \"red\"\r
81 -                                                  :background \"blue\"))\r
82 -                                   (\"unread\" . '(:foreground \"green\"))))\r
83 + (setq notmuch-search-line-faces '((\"delete\" . (:foreground \"red\"\r
84 +                                                 :background \"blue\"))\r
85 +                                   (\"unread\" . (:foreground \"green\"))))\r
86  \r
87  The attributes defined for matching tags are merged, with later\r
88  attributes overriding earlier. A message having both \"delete\"\r
89 -- \r
90 1.7.7.3\r
91 \r