--- /dev/null
+Return-Path: <dkg@fifthhorseman.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 arlo.cworth.org (Postfix) with ESMTP id CA1276DE0B2F\r
+ for <notmuch@notmuchmail.org>; Mon, 7 Dec 2015 14:54:25 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.09\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5 tests=[AWL=-0.090]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id b50NWogGh1Tz for <notmuch@notmuchmail.org>;\r
+ Mon, 7 Dec 2015 14:54:24 -0800 (PST)\r
+Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 0C3486DE0B29\r
+ for <notmuch@notmuchmail.org>; Mon, 7 Dec 2015 14:54:23 -0800 (PST)\r
+Received: from fifthhorseman.net (ool-6c3a0662.static.optonline.net\r
+ [108.58.6.98])\r
+ by che.mayfirst.org (Postfix) with ESMTPSA id 6066FF984\r
+ for <notmuch@notmuchmail.org>; Mon, 7 Dec 2015 17:54:22 -0500 (EST)\r
+Received: by fifthhorseman.net (Postfix, from userid 1000)\r
+ id 7B83F1FF49; Mon, 7 Dec 2015 17:54:21 -0500 (EST)\r
+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
+To: notmuch mailing list <notmuch@notmuchmail.org>\r
+Subject: NOTMUCH_STATUS_LAST_STATUS problematic across additive library\r
+ upgrades\r
+User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Mon, 07 Dec 2015 17:54:21 -0500\r
+Message-ID: <87y4d5q38i.fsf@alice.fifthhorseman.net>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 07 Dec 2015 22:54:25 -0000\r
+\r
+hi notmuch folks--\r
+\r
+notmuch_status_t is an enum that counts up to\r
+NOTMUCH_STATUS_LAST_STATUS.\r
+\r
+This is fine for work within the library itself, but it seems\r
+problematic to expose it to users of the library.\r
+\r
+In particular, if a user builds against version X of the library, then\r
+version X+1 is released with a new status code (but no\r
+backward-incompatible API/ABI changes that would require an SONAME\r
+bump), then the value of NOTMUCH_STATUS_LAST_STATUS would change, but\r
+the application using notmuch wouldn't know about it.\r
+\r
+Is this something we should be concerned about? I don't know why or\r
+when a library user might try to make use of NOTMUCH_STATUS_LAST_STATUS,\r
+but it's also exposed in the go bindings, so it's leaking out quite a\r
+bit.\r
+\r
+ --dkg\r