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 C9AEE40AB4B for ; Wed, 19 May 2010 01:56:20 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham 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 UMtXLmi0t-QV for ; Wed, 19 May 2010 01:56:08 -0700 (PDT) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by olra.theworths.org (Postfix) with ESMTP id DDA09409C6A for ; Wed, 19 May 2010 01:54:16 -0700 (PDT) Received: by mail-ew0-f213.google.com with SMTP id 5so1814149ewy.0 for ; Wed, 19 May 2010 01:54:16 -0700 (PDT) Received: by 10.213.109.77 with SMTP id i13mr3626468ebp.88.1274259256543; Wed, 19 May 2010 01:54:16 -0700 (PDT) Received: from ut.hh.sledj.net (host83-217-165-81.dsl.vispa.com [83.217.165.81]) by mx.google.com with ESMTPS id 16sm3529209ewy.11.2010.05.19.01.54.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 19 May 2010 01:54:15 -0700 (PDT) Received: by ut.hh.sledj.net (Postfix, from userid 1000) id 6D5065940A0; Wed, 19 May 2010 08:03:45 +0100 (BST) From: David Edmondson To: notmuch@notmuchmail.org Subject: [PATCH 03/13] emacs: Adjust comment to avoid confusing font-lock. Date: Wed, 19 May 2010 08:03:30 +0100 Message-Id: <1274252620-1249-4-git-send-email-dme@dme.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1274252620-1249-1-git-send-email-dme@dme.org> References: <1274252620-1249-1-git-send-email-dme@dme.org> 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: Wed, 19 May 2010 08:56:21 -0000 Comments with an open bracket in the first column confuse `font-lock' mode, so avoid them. --- emacs/notmuch.el | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 57e1140..7457da9 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -551,10 +551,10 @@ This function advances the next thread when finished." "Tag/face mapping for line highlighting in notmuch-search. Here is an example of how to color search results based on tags. -(the following text would be placed in your ~/.emacs file): + (the following text would be placed in your ~/.emacs file): -(setq notmuch-search-line-faces '((\"delete\" . '(:foreground \"red\")) - (\"unread\" . '(:foreground \"green\")))) + (setq notmuch-search-line-faces '((\"delete\" . '(:foreground \"red\")) + (\"unread\" . '(:foreground \"green\")))) Order matters: for lines with multiple tags, the the first matching will be applied." -- 1.7.1