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 A5DA3431FB6 for ; Wed, 14 Sep 2011 15:23:40 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.699 X-Spam-Level: X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, 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 VWbtqDQClGXu for ; Wed, 14 Sep 2011 15:23:39 -0700 (PDT) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id E3AF1429E25 for ; Wed, 14 Sep 2011 15:23:38 -0700 (PDT) Received: by wwi36 with SMTP id 36so2235195wwi.2 for ; Wed, 14 Sep 2011 15:23:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer; bh=PRLQHWccvCkJ7oE8XGkvkT7wGrYEmEHzuE2EjPbkr4Y=; b=XuQSSfrMpWOIl02zaDFbRNMM3/nuAEkOJkuPhqoEPBWLFdG/YWgK01q9oN8YtNiynK F03boD2NKKdYISCtIdlTKiIVptPtgaRupPl5onSJpE/Fjaz9ZzsG9DlPongRxf5BJHw+ qpzIv2GKMgZpjlV4SNyllo+21rIpsfO+UV6AI= Received: by 10.227.38.22 with SMTP id z22mr418986wbd.7.1316039016295; Wed, 14 Sep 2011 15:23:36 -0700 (PDT) Received: from osdor.le-roi-du-couscous.fr ([78.222.14.116]) by mx.google.com with ESMTPS id h20sm50709wbo.22.2011.09.14.15.23.35 (version=SSLv3 cipher=OTHER); Wed, 14 Sep 2011 15:23:35 -0700 (PDT) Sender: Louis Rilling From: Louis Rilling To: notmuch@notmuchmail.org Subject: [PATCH 0/4 v4] lib: Maildir flags synchronization fixes Date: Thu, 15 Sep 2011 00:23:17 +0200 Message-Id: <1316039001-32602-1-git-send-email-l.rilling@av7.net> X-Mailer: git-send-email 1.7.2.5 Cc: Michal Sojka , Austin Clements 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: Wed, 14 Sep 2011 22:23:40 -0000 Hello, Here is the updated series of fixes I have around maildir flags synchronization. The first two patches are just cleanups that can be applied independently. The intent for the fourth patch (detailed in the commit log) is to allow mutt users to keep using the "new" status, as long as notmuch can respect the maildir specification. The third patch implements a test for the new desired behavior. From recent discussions I decided to put it before the actual changes, but it certainly can move after if this is preferred. Changelog: * v4: - rebased on top of release 0.8 - included the test contributed by Michal Sojka * v3: Added patch to kill the last usage of C++ type bool * v2: Fix bool type as well as NULL returned despite having no errors (Austin Clements) Thanks, Louis Louis Rilling (3): lib: Kill last usage of C++ type bool tags_to_maildir_flags: Cleanup double assignement tags_to_maildir_flags: Don't rename if no flags change Michal Sojka (1): test: Adding non-maildir tags does not move message from new to cur lib/message.cc | 26 +++++++++++++++++--------- test/maildir-sync | 6 ++++++ 2 files changed, 23 insertions(+), 9 deletions(-)