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 07C6F431FAF for ; Sat, 24 Mar 2012 09:14:46 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled 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 hs9KwmXZO9U2 for ; Sat, 24 Mar 2012 09:14:45 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 64B66431FAE for ; Sat, 24 Mar 2012 09:14:45 -0700 (PDT) Received: by lbok6 with SMTP id k6so3358397lbo.26 for ; Sat, 24 Mar 2012 09:14:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=4sNAx0Xr+tR4SOENO7+Sb/D9S70kIZcLPmWbB3KQkjY=; b=bYZiCRaW9OaFnTFVxSbakN31TTDwVszc9VTT5zdT9Ha52MegOMKT34uKbQ8A0Zm17c 7ciNtau06iXJdmOOOgqur9ik43aA9n3oRqYRl50t5dQ/b3+ytBWbuFfu3KZz/3yGSCst Z0Snuw9Ub9n4Pf4+qZx9dyzqGNd1sc9NTsqrap5mC/HJASzjujkeChmoD0yOdVmpEi0I bOmM61F03uElVUnyNv8fWZjli6YMzBch8ZRtjchVo8KHXwgxlFwaolpRa/gMd3Q/Roy0 D+TCWAxBFBAMTIyLUdgALC7oIQ83v0B8H5qgVf0RCzZJH7M1x76L8LgrlCfQqqi+ZBAA eEig== Received: by 10.152.132.132 with SMTP id ou4mr11831936lab.26.1332605682165; Sat, 24 Mar 2012 09:14:42 -0700 (PDT) Received: from localhost (dsl-hkibrasgw4-fe50f800-253.dhcp.inet.fi. [84.248.80.253]) by mx.google.com with ESMTPS id pj20sm11385516lab.13.2012.03.24.09.14.38 (version=SSLv3 cipher=OTHER); Sat, 24 Mar 2012 09:14:40 -0700 (PDT) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH 0/3] cli: notmuch tag/restore refactoring Date: Sat, 24 Mar 2012 18:14:34 +0200 Message-Id: X-Mailer: git-send-email 1.7.5.4 X-Gm-Message-State: ALoCoQlEivBv/lITKa7RhsZNNd5aQ5Hqeq2iE2poJUzVK2oNqnwkvDH6+oH1+zl8L8vXoJUsVYWP 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: Sat, 24 Mar 2012 16:14:46 -0000 Hi, here's some refactoring of notmuch tag/restore with mostly non-functional changes, in preparation of later, more interesting changes to dump/restore/tag. BR, Jani. Jani Nikula (3): cli: refactor "notmuch tag" data structures for tagging operations cli: refactor "notmuch tag" query tagging into a separate function cli: refactor "notmuch restore" message tagging into a separate function notmuch-client.h | 5 + notmuch-restore.c | 73 +--------------- notmuch-tag.c | 242 +++++++++++++++++++++++++++++++++++------------------ 3 files changed, 169 insertions(+), 151 deletions(-) -- 1.7.5.4