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 28A9B431FB6 for ; Sun, 25 Mar 2012 12:18:55 -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 ju4nrrQ+oKnx for ; Sun, 25 Mar 2012 12:18:53 -0700 (PDT) Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id CD4F8431FAE for ; Sun, 25 Mar 2012 12:18:52 -0700 (PDT) Received: by lahc1 with SMTP id c1so3755652lah.26 for ; Sun, 25 Mar 2012 12:18:49 -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=DeWaE4btoi9uH5DKo0uh7A9g9rr7cqvAkA3rCIA7V7k=; b=B72rbMrOoJ5ejsemoubqDu35K8ssMYYLH+qXjw9qGTpSpDx68bc51YmtX1SMc/mDl7 2P9fPeua8DLNil/t9dPs6VZcw7fJ8yPtGkx39OBm0JjM8ZB3G8S6spSgS8Qg/O3e8lYr OPHJ2pyK9Brln2WTkAVMVmN+NlfYRCKEaGOQ/j8jnxQsxqkzjo3fGl8RPCweEEoLdwZp aertkUY1jpqcns3CtK36YItd9W3vDIZcB5TlsJP2UGlGnuZ+54CUlidHiZjcy/0eEBbZ JRtJ45eAoZ+gmEWKil2Zx4Q97ZXM3O6/C+PLNmTWxpJaYWXP4BviqeNUiqc2iRI3iQoR q4jw== Received: by 10.112.44.105 with SMTP id d9mr7256860lbm.69.1332703129708; Sun, 25 Mar 2012 12:18:49 -0700 (PDT) Received: from localhost (dsl-hkibrasgw4-fe50f800-253.dhcp.inet.fi. [84.248.80.253]) by mx.google.com with ESMTPS id oy17sm14838289lab.7.2012.03.25.12.18.46 (version=SSLv3 cipher=OTHER); Sun, 25 Mar 2012 12:18:47 -0700 (PDT) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH v2 0/3] cli: notmuch tag/restore refactoring Date: Sun, 25 Mar 2012 22:18:42 +0300 Message-Id: X-Mailer: git-send-email 1.7.5.4 X-Gm-Message-State: ALoCoQmRc9M0hmnLlcM/QxGyFsryrmt3VFo7lE5Zb/ecA2cPsj/UI8cshyP22vmqvBJbUJA4NLo5 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: Sun, 25 Mar 2012 19:18:55 -0000 v2 of id:"cover.1332604895.git.jani@nikula.org" with the following non-functional changes, addressing David's concerns in mail and IRC: - do not use C99 style struct assignment in patch 1 - for now, keep tag_message() local to notmuch-restore.c in patch 3 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-restore.c | 148 +++++++++++++++++++++++++---------------------- notmuch-tag.c | 166 +++++++++++++++++++++++++++-------------------------- 2 files changed, 163 insertions(+), 151 deletions(-) -- 1.7.5.4