[PATCH] bitmap:improve memory usage using CHAR_BITS and unsigned CHAR
[notmuch-archives.git] / 26 / ad008bdc80fb16e48b73dbf3df4bc970348053
1 Return-Path: <BATV+695300e31daaa5708f41+2432+infradead.org+hohndel@bombadil.srs.infradead.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 2B2C34196F2\r
6         for <notmuch@notmuchmail.org>; Wed, 21 Apr 2010 16:23:47 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -4.2\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] 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 PXl30xmPuH0n for <notmuch@notmuchmail.org>;\r
16         Wed, 21 Apr 2010 16:23:46 -0700 (PDT)\r
17 Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id 78A1E431FC1\r
19         for <notmuch@notmuchmail.org>; Wed, 21 Apr 2010 16:23:46 -0700 (PDT)\r
20 Received: from localhost ([::1] helo=x200.gr8dns.org)\r
21         by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux))\r
22         id 1O4jGj-0006Cs-OE; Wed, 21 Apr 2010 23:23:45 +0000\r
23 Received: by x200.gr8dns.org (Postfix, from userid 500)\r
24         id 27C9AC0212; Wed, 21 Apr 2010 16:23:45 -0700 (PDT)\r
25 From: Dirk Hohndel <hohndel@infradead.org>\r
26 To: Jameson Rollins <jrollins@finestructure.net>,\r
27         Notmuch Mail <notmuch@notmuchmail.org>\r
28 Subject: Re: problem with notmuch-search-authors-width in JSON emacs\r
29         implementation\r
30 In-Reply-To: <87633ko11s.fsf@servo.finestructure.net>\r
31 References: <87633ko11s.fsf@servo.finestructure.net>\r
32 Date: Wed, 21 Apr 2010 16:23:45 -0700\r
33 Message-ID: <m3wrw0fkzi.fsf@x200.gr8dns.org>\r
34 User-Agent: notmuch 0.2-52-ga28d2fe (Emacs 23.1.1/i386-redhat-linux-gnu)\r
35 MIME-Version: 1.0\r
36 Content-Type: text/plain; charset=us-ascii\r
37 X-SRS-Rewrite: SMTP reverse-path rewritten from <hohndel@infradead.org> by\r
38         bombadil.infradead.org See http://www.infradead.org/rpr.html\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Wed, 21 Apr 2010 23:23:47 -0000\r
52 \r
53 On Wed, 21 Apr 2010 19:09:35 -0400, Jameson Rollins <jrollins@finestructure.net> wrote:\r
54 > Hey, folks.  I just build from Carl's HEAD which includes the new emacs\r
55 > JSON interface and I'm noticing a problem with the\r
56 > notmuch-search-authors-width variable.  If I set the variable as\r
57 > follows:\r
58\r
59 > (setq notmuch-search-authors-width 40)\r
60\r
61 > author lists that overrun the specified width start spitting out into\r
62 > the subject field.  I think bremner just confirmed this on irc.  I'll\r
63 > try to look into this when I get a chance, but I don't have time right\r
64 > now.  Maybe someone with more intimate knowledge of this piece of code\r
65 > could figure it out more quickly.\r
66 \r
67 I think you are no longer supposed to do that. Here's what I have\r
68 instead in my .emacs file\r
69 \r
70  '(notmuch-search-result-format (quote (("date" . "%s ") ("count" . "%-7s ") ("authors" . "%-50s ") ("subject" . "%s ") ("tags" . "(%s)"))))\r
71 \r
72 Actually, I did this from the customize-group -> notmuch settings inside\r
73 emacs. I think the overruns come from a conflict between the '20' that's\r
74 in the default notmuch-search-result-format and the explicit '40' that\r
75 you set here.\r
76 \r
77 Maybe the code should be changed to deal with setting this variable - or\r
78 it should be made "internal" :-)\r
79 \r
80 /D\r
81 \r
82 -- \r
83 Dirk Hohndel\r
84 Intel Open Source Technology Center\r