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 22080431FC2 for ; Tue, 6 May 2014 11:33:46 -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 d+SGkkp7RdkG for ; Tue, 6 May 2014 11:33:40 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 095CF431FAF for ; Tue, 6 May 2014 11:33:40 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id A4C411000E5; Tue, 6 May 2014 21:33:35 +0300 (EEST) From: Tomi Ollila To: David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: Correct the documentation for `notmuch-search-line-faces'. In-Reply-To: <1399370610-7146-1-git-send-email-dme@dme.org> References: <1399370610-7146-1-git-send-email-dme@dme.org> User-Agent: Notmuch/0.18+12~gbfbd199 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain 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 18:33:46 -0000 On Tue, May 06 2014, David Edmondson wrote: > 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). LGTM. Tomi > --- > 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 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch