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 1B384431FBC for ; Mon, 15 Feb 2010 03:36:21 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.321 X-Spam-Level: X-Spam-Status: No, score=-1.321 tagged_above=-999 required=5 tests=[AWL=-0.581, BAYES_20=-0.74] 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 26rQU9zkw66E for ; Mon, 15 Feb 2010 03:36:20 -0800 (PST) Received: from mail-ew0-f220.google.com (mail-ew0-f220.google.com [209.85.219.220]) by olra.theworths.org (Postfix) with ESMTP id 5F455431FAE for ; Mon, 15 Feb 2010 03:36:20 -0800 (PST) Received: by ewy20 with SMTP id 20so5212316ewy.0 for ; Mon, 15 Feb 2010 03:36:19 -0800 (PST) Received: by 10.213.109.199 with SMTP id k7mr2554978ebp.66.1266233779374; Mon, 15 Feb 2010 03:36:19 -0800 (PST) Received: from aw.hh.sledj.net (gmp-ea-fw-1b.sun.com [192.18.8.1]) by mx.google.com with ESMTPS id 5sm14823467eyh.32.2010.02.15.03.36.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Feb 2010 03:36:18 -0800 (PST) Received: by aw.hh.sledj.net (Postfix, from userid 1000) id D1C0B70076; Mon, 15 Feb 2010 11:36:01 +0000 (GMT) From: David Edmondson To: notmuch@notmuchmail.org Date: Mon, 15 Feb 2010 11:36:00 +0000 Message-Id: <1266233760-24897-1-git-send-email-dme@dme.org> X-Mailer: git-send-email 1.6.6.1 Subject: [notmuch] [PATCH] notmuch.el: Fix tag highlighting in search mode if some part of the line before the tags includes brackets. 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: Mon, 15 Feb 2010 11:36:21 -0000 --- notmuch.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/notmuch.el b/notmuch.el index ee0ec02..b4f8e12 100644 --- a/notmuch.el +++ b/notmuch.el @@ -1228,7 +1228,7 @@ Complete list of currently available key bindings: (setq buffer-read-only t) (if (not notmuch-tag-face-alist) (add-to-list 'notmuch-search-font-lock-keywords (list - "(\\([^)]*\\))$" '(1 'notmuch-tag-face))) + "(\\([^()]*\\))$" '(1 'notmuch-tag-face))) (let ((notmuch-search-tags (mapcar 'car notmuch-tag-face-alist))) (loop for notmuch-search-tag in notmuch-search-tags do (add-to-list 'notmuch-search-font-lock-keywords (list -- 1.6.6.1