[PATCH] emacs: Correct the documentation for `notmuch-search-line-faces'.
authorDavid Edmondson <dme@dme.org>
Tue, 6 May 2014 09:42:07 +0000 (10:42 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:02:12 +0000 (10:02 -0800)
de/d4cbf5e3a4ad91bac0756ad196b619c2ba08ea [new file with mode: 0644]

diff --git a/de/d4cbf5e3a4ad91bac0756ad196b619c2ba08ea b/de/d4cbf5e3a4ad91bac0756ad196b619c2ba08ea
new file mode 100644 (file)
index 0000000..284df10
--- /dev/null
@@ -0,0 +1,103 @@
+Return-Path: <dme@dme.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 0924A431FD6\r
+       for <notmuch@notmuchmail.org>; Tue,  6 May 2014 03:02:49 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id o-8tz8dYzEib for <notmuch@notmuchmail.org>;\r
+       Tue,  6 May 2014 03:02:43 -0700 (PDT)\r
+Received: from mail-we0-f174.google.com (mail-we0-f174.google.com\r
+       [74.125.82.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 52726431FD5\r
+       for <notmuch@notmuchmail.org>; Tue,  6 May 2014 03:02:43 -0700 (PDT)\r
+Received: by mail-we0-f174.google.com with SMTP id k48so8622051wev.5\r
+       for <notmuch@notmuchmail.org>; Tue, 06 May 2014 03:02:41 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\r
+       :references;\r
+       bh=FqG8x3nHIyaMdg+lpzf5wRSNCbbGGigGGA1WkF6bBLY=;\r
+       b=FG63mMuSNDdU7PMTBLLRb82t2Rijrh8w+5u7pXuSKF/xrEV1COm+C9jeAEKpmNzfWS\r
+       EBZRAijUhVLGx8bHnsPvIyxzC6KUtN8bSc8qcbQjdoDyKXnO88xF2nNmxjTfR3UuBsEf\r
+       14Fqrq48psD84YuR2E1FMnfPDYB8PPCgYDkgiBa8cJUKv0R/5jB0RDN6/oAARYdkL9g3\r
+       J/LdgLkq+ulhWyQqVQ1wyXOsGZvdqvBHHqO/FJk9jd/KigoIBQgBL8P+XzSMGV1dJl27\r
+       iRh+Q5o2hfdbJY/X5r0l6zCL2z8QWtDhZG8gPUOeCUGc2xtAObSw95wOkdb+JRWS4Ep5\r
+       2WpQ==\r
+X-Gm-Message-State:\r
+ ALoCoQkL0bmiZZH9EzfdzCOe0SMS7XEWNppjq9nTv6mKPskXenDsrs7AW6kVFjyZl9fogWG1pktc\r
+X-Received: by 10.194.220.42 with SMTP id pt10mr1495054wjc.60.1399370561039;\r
+       Tue, 06 May 2014 03:02:41 -0700 (PDT)\r
+Received: from hotblack-desiato.hh.sledj.net (disaster-area.hh.sledj.net.\r
+       [81.149.164.25]) by mx.google.com with ESMTPSA id\r
+       iy13sm23676041wic.1.2014.05.06.03.02.39 for <notmuch@notmuchmail.org>\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Tue, 06 May 2014 03:02:39 -0700 (PDT)\r
+Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 110)\r
+       id 729011036D6; Tue,  6 May 2014 11:13:07 +0100 (BST)\r
+Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
+       id 6063D1036CF; Tue,  6 May 2014 10:42:07 +0100 (BST)\r
+From: David Edmondson <dme@dme.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] emacs: Correct the documentation for\r
+       `notmuch-search-line-faces'.\r
+Date: Tue,  6 May 2014 10:42:07 +0100\r
+Message-Id: <1399369327-6312-1-git-send-email-dme@dme.org>\r
+X-Mailer: git-send-email 2.0.0.rc0\r
+In-Reply-To: <cun8uqffdo1.fsf@hotblack-desiato.hh.sledj.net>\r
+References: <cun8uqffdo1.fsf@hotblack-desiato.hh.sledj.net>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 06 May 2014 10:02:49 -0000\r
+\r
+The implementation and documentation for `notmuch-search-line-faces'\r
+disagreed in how elements in the list were merged. Correct the\r
+documentation to match the implementation (that is, the earlier\r
+elements in the list have precedence over later elements).\r
+---\r
+ emacs/notmuch.el | 10 +++++-----\r
+ 1 file changed, 5 insertions(+), 5 deletions(-)\r
+\r
+diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
+index 6c0bc1b..8aa0104 100644\r
+--- a/emacs/notmuch.el\r
++++ b/emacs/notmuch.el\r
+@@ -647,12 +647,12 @@ of the result."\r
+ Here is an example of how to color search results based on tags.\r
+  (the following text would be placed in your ~/.emacs file):\r
\r
+- (setq notmuch-search-line-faces '((\"deleted\" . (:foreground \"red\"\r
+-                                                :background \"blue\"))\r
+-                                   (\"unread\" . (:foreground \"green\"))))\r
++ (setq notmuch-search-line-faces '((\"unread\" . (:foreground \"green\"))\r
++                                   (\"deleted\" . (:foreground \"red\"\r
++                                                :background \"blue\"))))\r
\r
+-The attributes defined for matching tags are merged, with later\r
+-attributes overriding earlier. A message having both \"deleted\"\r
++The attributes defined for matching tags are merged, with earlier\r
++attributes overriding later. A message having both \"deleted\"\r
+ and \"unread\" tags with the above settings would have a green\r
+ foreground and blue background."\r
+   :type '(alist :key-type (string) :value-type (custom-face-edit))\r
+-- \r
+2.0.0.rc0\r
+\r