Re: [PATCH v4 1/3] show: don't use hex literals in JSON output
authorDavid Bremner <david@tethera.net>
Fri, 20 Jan 2012 13:20:52 +0000 (09:20 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:42:49 +0000 (09:42 -0800)
09/f9c33e5e3bddb047210e5b5795748b20edc563 [new file with mode: 0644]

diff --git a/09/f9c33e5e3bddb047210e5b5795748b20edc563 b/09/f9c33e5e3bddb047210e5b5795748b20edc563
new file mode 100644 (file)
index 0000000..14df6eb
--- /dev/null
@@ -0,0 +1,68 @@
+Return-Path: <bremner@unb.ca>\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 E0CB4431FAE\r
+       for <notmuch@notmuchmail.org>; Fri, 20 Jan 2012 05:21:02 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       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 Q5qp2M2mlade for <notmuch@notmuchmail.org>;\r
+       Fri, 20 Jan 2012 05:21:02 -0800 (PST)\r
+Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238])\r
+       (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id CED77431FC0\r
+       for <notmuch@notmuchmail.org>; Fri, 20 Jan 2012 05:21:01 -0800 (PST)\r
+Received: from [131.202.13.154] (helo=convex-new.cs.unb.ca)\r
+       by tesseract.cs.unb.ca with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32)\r
+       (Exim 4.72) (envelope-from <bremner@unb.ca>)\r
+       id 1RoEOn-0001ae-OI; Fri, 20 Jan 2012 09:20:58 -0400\r
+Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.72)\r
+       (envelope-from <bremner@unb.ca>)\r
+       id 1RoEOi-0003gD-KX; Fri, 20 Jan 2012 09:20:52 -0400\r
+From: David Bremner <david@tethera.net>\r
+To: Thomas Jost <schnouki@schnouki.net>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v4 1/3] show: don't use hex literals in JSON output\r
+In-Reply-To: <87d3aeeeo9.fsf@thor.loria.fr>\r
+References: <87fwfaemuc.fsf@thor.loria.fr>\r
+       <1327052365-20012-1-git-send-email-schnouki@schnouki.net>\r
+       <87mx9id1wo.fsf@zancas.localnet> <87d3aeeeo9.fsf@thor.loria.fr>\r
+User-Agent: Notmuch/0.11+77~gad6d0d5 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Fri, 20 Jan 2012 09:20:52 -0400\r
+Message-ID: <87ipk6wlvv.fsf@convex-new.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Spam_bar: -\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: Fri, 20 Jan 2012 13:21:03 -0000\r
+\r
+On Fri, 20 Jan 2012 13:33:58 +0100, Thomas Jost <schnouki@schnouki.net> wrote:\r
+\r
+> The most common gmime error codes are 1 (expired signature), 2 (no\r
+> public key), 4 (expired key) and 8 (revoked key). The other possible\r
+> value is 16 (unsupported algorithm) but obviously it is much more rare.\r
+> If this happens, the current code will add '"errors": 10' (hex for\r
+> 16...). This is valid JSON (it looks like a decimal number) but it is\r
+> incorrect (should be 16, not 10).\r
+\r
+Maybe something like this for the commit message?\r
+\r
+d\r