1 Return-Path: <jani@nikula.org>
\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 6ED25431FAF
\r
6 for <notmuch@notmuchmail.org>; Mon, 26 Mar 2012 14:04:18 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 8pP24oP8PnjY for <notmuch@notmuchmail.org>;
\r
16 Mon, 26 Mar 2012 14:04:18 -0700 (PDT)
\r
17 Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com
\r
18 [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id A4201431FAE
\r
21 for <notmuch@notmuchmail.org>; Mon, 26 Mar 2012 14:04:17 -0700 (PDT)
\r
22 Received: by lahc1 with SMTP id c1so4613102lah.26
\r
23 for <notmuch@notmuchmail.org>; Mon, 26 Mar 2012 14:04:15 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=google.com; s=20120113;
\r
26 h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state;
\r
27 bh=CE/+Cq47IMYPm/Gmgtd9+KR+F6FE1TZ6GlzmSmn1yxY=;
\r
28 b=XEBRj/ufp+whICzdTr6tiQVMN9GTGxLiu+kBJRRV1C+8KC88LtE7CGe3N+w8IBnbi4
\r
29 tmPcwoQ/+uxSfiZPbQ9UTKuuC7IDnV2/WRMeWqFjpZ0okZTYSGl7WJLP0wiMQldAEsss
\r
30 1kGb8eWuy/4agIvtYXtk0s6eukBxvVhUZMKxLNfw+u3zqjfGKJbPnnAP5LTAJTVIVpB2
\r
31 DbSHx9bmAgCz1VpZLOftz9hWWKn9+rMh8HMAJx9SYFSHSqv5QTGRhakiqwPf/D2DYell
\r
32 AFysQ+YDPzwQV/8MwmZy64AtxBRl7ctDEXnMqj3rpRuTdk8MuuuVgI0Q8HCdBvsAg3Il
\r
34 Received: by 10.112.38.68 with SMTP id e4mr8695822lbk.38.1332795855788;
\r
35 Mon, 26 Mar 2012 14:04:15 -0700 (PDT)
\r
36 Received: from localhost (dsl-hkibrasgw4-fe50f800-253.dhcp.inet.fi.
\r
38 by mx.google.com with ESMTPS id p9sm23268459lbw.10.2012.03.26.14.04.13
\r
39 (version=SSLv3 cipher=OTHER); Mon, 26 Mar 2012 14:04:14 -0700 (PDT)
\r
40 From: Jani Nikula <jani@nikula.org>
\r
41 To: notmuch@notmuchmail.org
\r
42 Subject: [PATCH v3 0/4] cli: notmuch tag/restore refactoring
\r
43 Date: Tue, 27 Mar 2012 00:04:07 +0300
\r
44 Message-Id: <cover.1332795415.git.jani@nikula.org>
\r
45 X-Mailer: git-send-email 1.7.5.4
\r
47 ALoCoQkfwigDEkrFvZHEywTq0xnvRXWZJF03iwoE0AzBre8aVIugHWnsEQJnCyZY9Q3cC6Gpfm61
\r
48 Cc: tomi.ollila@iki.fi
\r
49 X-BeenThere: notmuch@notmuchmail.org
\r
50 X-Mailman-Version: 2.1.13
\r
52 List-Id: "Use and development of the notmuch mail system."
\r
53 <notmuch.notmuchmail.org>
\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
57 List-Post: <mailto:notmuch@notmuchmail.org>
\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
61 X-List-Received-Date: Mon, 26 Mar 2012 21:04:18 -0000
\r
63 v3 of id:"cover.1332702915.git.jani@nikula.org" with the following
\r
64 mostly non-functional changes:
\r
66 - add test for the current tagging behaviour in patch 1, and change the
\r
67 test in patch 2 when the behaviour is changed
\r
68 - handle the no tag changes case in _optimize_tag_query() in patch 2
\r
69 - add braces around the "tag_ops[tag_ops_count].remove = (argv[i][0] == '-');"
\r
71 - document the tag_query() function a bit in patch 3
\r
72 - make tag_message() static in patch 4
\r
79 test: add test for both adding and removing a tag at the same time
\r
80 cli: refactor "notmuch tag" data structures for tagging operations
\r
81 cli: refactor "notmuch tag" query tagging into a separate function
\r
82 cli: refactor "notmuch restore" message tagging into a separate
\r
85 notmuch-restore.c | 148 ++++++++++++++++++++++++---------------------
\r
86 notmuch-tag.c | 173 ++++++++++++++++++++++++++++-------------------------
\r
87 test/tagging | 8 +++
\r
88 3 files changed, 178 insertions(+), 151 deletions(-)
\r