1 Return-Path: <five9a2@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 638DB431FC0
\r
6 for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 11:50:48 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 Received: from olra.theworths.org ([127.0.0.1])
\r
9 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
10 with ESMTP id wtjnTs3C6orW for <notmuch@notmuchmail.org>;
\r
11 Sat, 28 Nov 2009 11:50:47 -0800 (PST)
\r
12 Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com
\r
14 by olra.theworths.org (Postfix) with ESMTP id 97EEC431FAE
\r
15 for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 11:50:47 -0800 (PST)
\r
16 Received: by bwz24 with SMTP id 24so1781842bwz.30
\r
17 for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 11:50:46 -0800 (PST)
\r
18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
19 h=domainkey-signature:received:received:sender:from:to:cc:subject
\r
20 :date:message-id:x-mailer:in-reply-to:references;
\r
21 bh=O/KO2N8pYDsNJRAEYJtlIZMkg/5eNIiALAb3J8ZlHE0=;
\r
22 b=BfaU1PYsccE4gnT1i5WJQx1R1vt/2Ux/d5v9mr1msuLu2QvUQsB69e8NISuIXCEUAb
\r
23 GtKLgOx5isrwrG1Oh0AVmdZBR+MRHwhZxwWmcyDkiYXr+Nj63rebCU3K9I+DbgsidA7R
\r
24 XqhqtwQAMm78R37aqEMi0rZQUbNMDW/Ipbi+U=
\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
26 h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to
\r
28 b=GUgMcv6R4MbaHyn0qRsvRmv6bp9w6sQFXdh6Tgl7xtEJXOJzla3RR5fQU+v7B8ry13
\r
29 SIxNn4LR81gv5S0+wFE8sSx/w3TWN4igsufFFjZmpWBDc5OZLxR9FV1p7bQv0QfRZkcq
\r
30 umljMs3eqDVL7i5SDQAMgp+UZuvyFuEFbHmPI=
\r
31 Received: by 10.204.16.85 with SMTP id n21mr2567137bka.140.1259437846784;
\r
32 Sat, 28 Nov 2009 11:50:46 -0800 (PST)
\r
33 Received: from localhost.localdomain (vawpc43.ethz.ch [129.132.59.11])
\r
34 by mx.google.com with ESMTPS id 13sm923514fxm.5.2009.11.28.11.50.45
\r
35 (version=TLSv1/SSLv3 cipher=RC4-MD5);
\r
36 Sat, 28 Nov 2009 11:50:45 -0800 (PST)
\r
37 Sender: Jed Brown <five9a2@gmail.com>
\r
38 From: Jed Brown <jed@59A2.org>
\r
39 To: cworth@cworth.org
\r
40 Date: Sat, 28 Nov 2009 20:51:13 +0100
\r
41 Message-Id: <1259437873-20197-1-git-send-email-jed@59A2.org>
\r
42 X-Mailer: git-send-email 1.6.5.3
\r
43 In-Reply-To: <87fx80m5fe.fsf@yoom.home.cworth.org>
\r
44 References: <87fx80m5fe.fsf@yoom.home.cworth.org>
\r
45 Cc: notmuch@notmuchmail.org
\r
46 Subject: [notmuch] [PATCH] More portable and easier to read regex in
\r
47 notmuch-search-operate-all
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.12
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Sat, 28 Nov 2009 19:50:48 -0000
\r
62 The former one worked in 23.1.50.1 but not in 23.1.1.
\r
64 Signed-off-by: Jed Brown <jed@59A2.org>
\r
67 1 files changed, 1 insertions(+), 1 deletions(-)
\r
69 diff --git a/notmuch.el b/notmuch.el
\r
70 index 96c5d96..65473ba 100644
\r
73 @@ -1152,7 +1152,7 @@ characters as well as `_.+-'.
\r
74 (let ((words action-split))
\r
75 (when (null words) (error "No operation given"))
\r
77 - (unless (string-match-p "^[\+\-][_\+\-\\w]+$" (car words))
\r
78 + (unless (string-match-p "^[-+][-+_.[:word:]]+$" (car words))
\r
79 (error "Action must be of the form `+thistag -that_tag'"))
\r
80 (setq words (cdr words))))
\r
81 (apply 'notmuch-call-notmuch-process "tag"
\r