[PATCH 0/4 v4] lib: Maildir flags synchronization fixes
authorLouis Rilling <l.rilling@av7.net>
Wed, 14 Sep 2011 22:23:17 +0000 (00:23 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:26 +0000 (09:39 -0800)
9f/9757ee73231811cfdbbea0be8ad12d18a49efd [new file with mode: 0644]

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