--- /dev/null
+Return-Path: <doy@tozt.net>\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 126DA431FAE\r
+ for <notmuch@notmuchmail.org>; Wed, 12 Mar 2014 07:49:25 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.1\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.1 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1] 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 EKnXOMjwDQEp for <notmuch@notmuchmail.org>;\r
+ Wed, 12 Mar 2014 07:49:17 -0700 (PDT)\r
+X-Greylist: delayed 505 seconds by postgrey-1.32 at olra;\r
+ Wed, 12 Mar 2014 07:49:17 PDT\r
+Received: from mail.tozt.net (tozt.net [162.216.19.228])\r
+ (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id BE598431FC0\r
+ for <notmuch@notmuchmail.org>; Wed, 12 Mar 2014 07:49:17 -0700 (PDT)\r
+Received: from localhost (pool-96-238-16-106.prvdri.fios.verizon.net\r
+ [96.238.16.106]) by mail.tozt.net (Postfix) with ESMTPSA id 95BC6A702\r
+ for <notmuch@notmuchmail.org>; Wed, 12 Mar 2014 10:40:50 -0400 (EDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tozt.net; s=mail;\r
+ t=1394635250; bh=xdF5QbXlpHEE2kjxZv3K6YeJZ+YP2OCVUHZghGAyQk4=;\r
+ h=Date:From:To:Subject;\r
+ b=FjmRNyEsiUSCEAB+kYN6ZB8W1lS/KfAOtr0fJB9S+s6KZLq1q4WMFda9aEMzV3pVn\r
+ 0UZKDc0LdH+2DPtzjzmDYUpGPr3Q3GtDTTimkjQVG5JLAtuD+VC1S/Wrrbd/RXa0Br\r
+ OA8zCn6DJSdoCIBJdIoXq36JJoE5YjDT34gWp+II=\r
+Date: Wed, 12 Mar 2014 10:42:27 -0400\r
+From: Jesse Luehrs <doy@tozt.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: flag synchronization moves messages from new to cur when not\r
+ necessary\r
+Message-ID: <20140312144227.GA27010@xtahua>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+User-Agent: Mutt/1.5.22 (2013-10-16)\r
+X-Mailman-Approved-At: Wed, 12 Mar 2014 08:45:58 -0700\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, 12 Mar 2014 14:49:25 -0000\r
+\r
+If a message in new has a trailing ":2," in the filename, notmuch will\r
+move it to cur whenever tags are modified, even if nothing has changed\r
+with tags that are supposed to be synchronized. While it's true that\r
+having messages in new with extra info attached violates the maildir\r
+spec, it does happen with some clients (I ran into it with offlineimap,\r
+and filed a bug https://github.com/OfflineIMAP/offlineimap/issues/80\r
+here, but not sure if or when it will be addressed).\r
+\r
+On IRC, it was suggested that it wouldn't really harm anything to\r
+consider messages with a trailing ":2," (with no other flags) in new as\r
+being equivalent to the info not existing at all. Would this be\r
+a possible solution?\r
+\r
+-doy\r