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