From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id BBD5E429E25 for ; Fri, 23 Dec 2011 12:41:20 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 PRREluMXMKSi for ; Fri, 23 Dec 2011 12:41:20 -0800 (PST) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 279BC431FB6 for ; Fri, 23 Dec 2011 12:41:20 -0800 (PST) Received: by wibhq2 with SMTP id hq2so4123963wib.26 for ; Fri, 23 Dec 2011 12:41:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:x-mailer; bh=fyI2gE/MdgeasfPtNF57mv57/itPy9qb5mHvbvj0h8k=; b=jOGhxieYGy5KjOM2FQ1Tqlake5D7w36WR2FCgAnbXvjnuTeWl+6x3RXKpzfRfluSF2 R0vPX4JpiIyKyY4mjJlVaSQSEdqA0Tob+Shi0IDTh1wQXAVYCZ3zlvhHF6PcXkLxXwqt kcKxjbatVnCdxb9ae7UIcGqCVs9HRMyW5bM+k= Received: by 10.180.88.10 with SMTP id bc10mr35740826wib.13.1324672878907; Fri, 23 Dec 2011 12:41:18 -0800 (PST) Received: from localhost ([91.144.186.21]) by mx.google.com with ESMTPS id p2sm14912730wbh.22.2011.12.23.12.41.17 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 23 Dec 2011 12:41:18 -0800 (PST) From: Dmitry Kurochkin To: notmuch@notmuchmail.org Subject: [PATCH] emacs: fix docstring for `notmuch-search-line-faces'. Date: Sat, 24 Dec 2011 00:40:34 +0400 Message-Id: <1324672834-31518-1-git-send-email-dmitry.kurochkin@gmail.com> X-Mailer: git-send-email 1.7.7.3 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: Fri, 23 Dec 2011 20:41:20 -0000 Examples in documentation for `notmuch-search-line-faces' had an extra quote, e.g.: '(\"unread\" . '(:foreground \"green\")) Which resulted in values like: (\"unread\" quote (:foreground \"green\")) And tons of "Invalid face reference: quote" errors in the messages buffer. --- emacs/notmuch.el | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 270f983..fde2377 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -646,9 +646,9 @@ This function advances the next thread when finished." 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 '((\"delete\" . '(:foreground \"red\" - :background \"blue\")) - (\"unread\" . '(:foreground \"green\")))) + (setq notmuch-search-line-faces '((\"delete\" . (:foreground \"red\" + :background \"blue\")) + (\"unread\" . (:foreground \"green\")))) The attributes defined for matching tags are merged, with later attributes overriding earlier. A message having both \"delete\" -- 1.7.7.3