Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 49 / a36e2539ebe6364a2add691f5a18fb6b6ddbbf
1 Return-Path: <cworth@cworth.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 90C4E431FBC\r
6         for <notmuch@notmuchmail.org>; Tue,  9 Feb 2010 11:20:05 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.269\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.269 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1.8, AWL=0.271, BAYES_20=-0.74] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id gLeuOneumtZl; Tue,  9 Feb 2010 11:20:04 -0800 (PST)\r
16 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
17         by olra.theworths.org (Postfix) with ESMTP id D111F431FAE;\r
18         Tue,  9 Feb 2010 11:20:03 -0800 (PST)\r
19 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
20         id 61BB725416F; Tue,  9 Feb 2010 11:20:01 -0800 (PST)\r
21 From: Carl Worth <cworth@cworth.org>\r
22 To: Michal Sojka <sojkam1@fel.cvut.cz>, notmuch@notmuchmail.org\r
23 In-Reply-To: <87r5oua2wv.fsf@steelpick.localdomain>\r
24 References: <87mxzjpl9v.fsf@yoom.home.cworth.org>\r
25         <87eikvpfzl.fsf@yoom.home.cworth.org>\r
26         <87r5oua2wv.fsf@steelpick.localdomain>\r
27 Date: Tue, 09 Feb 2010 11:19:54 -0800\r
28 Message-ID: <87ljf2md2d.fsf@yoom.home.cworth.org>\r
29 MIME-Version: 1.0\r
30 Content-Type: multipart/signed; boundary="=-=-=";\r
31         micalg=pgp-sha1; protocol="application/pgp-signature"\r
32 Subject: Re: [notmuch] [PATCH] Switch from random to sequential thread\r
33  identifiers.\r
34 X-BeenThere: notmuch@notmuchmail.org\r
35 X-Mailman-Version: 2.1.13\r
36 Precedence: list\r
37 List-Id: "Use and development of the notmuch mail system."\r
38         <notmuch.notmuchmail.org>\r
39 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
40         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
41 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
42 List-Post: <mailto:notmuch@notmuchmail.org>\r
43 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
44 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
46 X-List-Received-Date: Tue, 09 Feb 2010 19:20:05 -0000\r
47 \r
48 --=-=-=\r
49 \r
50 On Tue, 09 Feb 2010 15:40:00 +0100, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
51 > What about the following? This could also fix Sebastian's problem.\r
52 ...\r
53 > +#define __STDC_FORMAT_MACROS\r
54 > +#include <inttypes.h>\r
55 ...\r
56 > -    sprintf (thread_id, "%016llx", notmuch->last_thread_id);\r
57 > +    sprintf (thread_id, "%016"PRIx64, notmuch->last_thread_id);\r
58 \r
59 Excellent! I did hesitate for a moment when typing "llx" into the format\r
60 string, but I had no idea what the correct thing to use was. I'm sure\r
61 glad to have access to such a knowledgeable community where I can learn\r
62 for the low cost of exposing my ignorance in public.\r
63 \r
64 I did verify the above in a copy of WG14/N1124. For anyone that doesn't\r
65 recognize that, that's the draft from the C99 working group that I've\r
66 been told is remarkably similar to C99 but distinct in that it's freely\r
67 available[*]. I haven't verified the similarity, but I have found that\r
68 document quite useful in cases like this one.\r
69 \r
70 Thanks for the fix. I'll likely push my change out now that I've added\r
71 this fix.\r
72 \r
73 -Carl\r
74 \r
75 [*] http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf\r
76 \r
77 --=-=-=\r
78 Content-Type: application/pgp-signature\r
79 \r
80 -----BEGIN PGP SIGNATURE-----\r
81 Version: GnuPG v1.4.10 (GNU/Linux)\r
82 \r
83 iD8DBQFLcbVb6JDdNq8qSWgRAjwWAJ9XVMsC8QE+CQVFkVE3CgXz8SXe1wCeKGdV\r
84 EIVX9Fqmmqwmb9IrFLocIYg=\r
85 =+y68\r
86 -----END PGP SIGNATURE-----\r
87 --=-=-=--\r