[PATCH 0/3] cli: notmuch tag/restore refactoring
authorJani Nikula <jani@nikula.org>
Sat, 24 Mar 2012 16:14:34 +0000 (18:14 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:45:42 +0000 (09:45 -0800)
ed/f5a1d7c10687ac0350330450530649bf18fe15 [new file with mode: 0644]

diff --git a/ed/f5a1d7c10687ac0350330450530649bf18fe15 b/ed/f5a1d7c10687ac0350330450530649bf18fe15
new file mode 100644 (file)
index 0000000..1887111
--- /dev/null
@@ -0,0 +1,83 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 07C6F431FAF\r
+       for <notmuch@notmuchmail.org>; Sat, 24 Mar 2012 09:14:46 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id hs9KwmXZO9U2 for <notmuch@notmuchmail.org>;\r
+       Sat, 24 Mar 2012 09:14:45 -0700 (PDT)\r
+Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com\r
+       [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 64B66431FAE\r
+       for <notmuch@notmuchmail.org>; Sat, 24 Mar 2012 09:14:45 -0700 (PDT)\r
+Received: by lbok6 with SMTP id k6so3358397lbo.26\r
+       for <notmuch@notmuchmail.org>; Sat, 24 Mar 2012 09:14:42 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state;\r
+       bh=4sNAx0Xr+tR4SOENO7+Sb/D9S70kIZcLPmWbB3KQkjY=;\r
+       b=bYZiCRaW9OaFnTFVxSbakN31TTDwVszc9VTT5zdT9Ha52MegOMKT34uKbQ8A0Zm17c\r
+       7ciNtau06iXJdmOOOgqur9ik43aA9n3oRqYRl50t5dQ/b3+ytBWbuFfu3KZz/3yGSCst\r
+       Z0Snuw9Ub9n4Pf4+qZx9dyzqGNd1sc9NTsqrap5mC/HJASzjujkeChmoD0yOdVmpEi0I\r
+       bOmM61F03uElVUnyNv8fWZjli6YMzBch8ZRtjchVo8KHXwgxlFwaolpRa/gMd3Q/Roy0\r
+       D+TCWAxBFBAMTIyLUdgALC7oIQ83v0B8H5qgVf0RCzZJH7M1x76L8LgrlCfQqqi+ZBAA\r
+       eEig==\r
+Received: by 10.152.132.132 with SMTP id ou4mr11831936lab.26.1332605682165;\r
+       Sat, 24 Mar 2012 09:14:42 -0700 (PDT)\r
+Received: from localhost (dsl-hkibrasgw4-fe50f800-253.dhcp.inet.fi.\r
+       [84.248.80.253]) by mx.google.com with ESMTPS id\r
+       pj20sm11385516lab.13.2012.03.24.09.14.38\r
+       (version=SSLv3 cipher=OTHER); Sat, 24 Mar 2012 09:14:40 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/3] cli: notmuch tag/restore refactoring\r
+Date: Sat, 24 Mar 2012 18:14:34 +0200\r
+Message-Id: <cover.1332604895.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.5.4\r
+X-Gm-Message-State:\r
+ ALoCoQlEivBv/lITKa7RhsZNNd5aQ5Hqeq2iE2poJUzVK2oNqnwkvDH6+oH1+zl8L8vXoJUsVYWP\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 24 Mar 2012 16:14:46 -0000\r
+\r
+Hi, here's some refactoring of notmuch tag/restore with mostly\r
+non-functional changes, in preparation of later, more interesting\r
+changes to dump/restore/tag.\r
+\r
+BR,\r
+Jani.\r
+\r
+\r
+Jani Nikula (3):\r
+  cli: refactor "notmuch tag" data structures for tagging operations\r
+  cli: refactor "notmuch tag" query tagging into a separate function\r
+  cli: refactor "notmuch restore" message tagging into a separate\r
+    function\r
+\r
+ notmuch-client.h  |    5 +\r
+ notmuch-restore.c |   73 +---------------\r
+ notmuch-tag.c     |  242 +++++++++++++++++++++++++++++++++++------------------\r
+ 3 files changed, 169 insertions(+), 151 deletions(-)\r
+\r
+-- \r
+1.7.5.4\r
+\r