Re: Problem with draft mails when using offlineimap
[notmuch-archives.git] / ef / 313777f5988ea92609f710527a726350e5ee93
1 Return-Path: <amdragon@mit.edu>\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 1D19A431FAF\r
6         for <notmuch@notmuchmail.org>; Mon, 10 Dec 2012 20:31:20 -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: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 VJNV6WUCz+Mf for <notmuch@notmuchmail.org>;\r
16         Mon, 10 Dec 2012 20:31:19 -0800 (PST)\r
17 Received: from dmz-mailsec-scanner-8.mit.edu (DMZ-MAILSEC-SCANNER-8.MIT.EDU\r
18         [18.7.68.37])\r
19         by olra.theworths.org (Postfix) with ESMTP id 50760431FAE\r
20         for <notmuch@notmuchmail.org>; Mon, 10 Dec 2012 20:31:19 -0800 (PST)\r
21 X-AuditID: 12074425-b7f606d0000008ea-91-50c6b71612ad\r
22 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])\r
23         by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP\r
24         id 4B.D8.02282.617B6C05; Mon, 10 Dec 2012 23:31:18 -0500 (EST)\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
26         by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id qBB4VIlj005706; \r
27         Mon, 10 Dec 2012 23:31:18 -0500\r
28 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])\r
29         (authenticated bits=0)\r
30         (User authenticated as amdragon@ATHENA.MIT.EDU)\r
31         by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id qBB4VGAD020769\r
32         (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);\r
33         Mon, 10 Dec 2012 23:31:17 -0500 (EST)\r
34 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.80)\r
35         (envelope-from <amdragon@mit.edu>)\r
36         id 1TiHUy-0003lp-9Y; Mon, 10 Dec 2012 23:31:16 -0500\r
37 From: Austin Clements <aclements@csail.mit.edu>\r
38 To: david@tethera.net, notmuch@notmuchmail.org\r
39 Subject: Re: [Patch v2 04/11] perf-test: optionally print description for each\r
40         group of tests\r
41 In-Reply-To: <1354762908-5788-5-git-send-email-david@tethera.net>\r
42 References: <1354762908-5788-1-git-send-email-david@tethera.net>\r
43         <1354762908-5788-5-git-send-email-david@tethera.net>\r
44 User-Agent: Notmuch/0.14+159~g6895fee (http://notmuchmail.org) Emacs/23.4.1\r
45         (i486-pc-linux-gnu)\r
46 Date: Mon, 10 Dec 2012 23:31:15 -0500\r
47 Message-ID: <87lid5nrak.fsf@awakening.csail.mit.edu>\r
48 MIME-Version: 1.0\r
49 Content-Type: text/plain; charset=us-ascii\r
50 X-Brightmail-Tracker:\r
51  H4sIAAAAAAAAA+NgFmpileLIzCtJLcpLzFFi42IRYrdT0RXbfizAYNlfa4uNy34yW9xo7Wa0\r
52         uH5zJrMDs8evtrnMHs9W3WL22HLoPXMAcxSXTUpqTmZZapG+XQJXxtE5U9gLzvJWzFn2j6mB\r
53         8QNXFyMnh4SAicSF5y/ZIWwxiQv31rN1MXJxCAnsY5SY+q+RCcLZwChx8cB5FgjnIpPEi1Mr\r
54         oZwljBJXXk4B62cT0JdYsXYSaxcjB4eIgJ7Ewq0yIGFmATWJSWvOgJUIC8RKXFpxjhnE5hRw\r
55         lGj+38oCYgsJlErc+dvOBNIqKhAvMfucD0iYRUBV4tbviUwgNi/Qpb+WXYSyBSVOznzCAjFe\r
56         S+LGv5dMExgFZyFJzUKSWsDItIpRNiW3Sjc3MTOnODVZtzg5MS8vtUjXQi83s0QvNaV0EyM4\r
57         eF1UdzBOOKR0iFGAg1GJh7dC9ViAEGtiWXFl7iFGSQ4mJVFe3+VAIb6k/JTKjMTijPii0pzU\r
58         4kOMEhzMSiK8pblAOd6UxMqq1KJ8mJQ0B4uSOO+NlJv+QgLpiSWp2ampBalFMFkZDg4lCd75\r
59         24AaBYtS01Mr0jJzShDSTBycIMN5gIYHgNTwFhck5hZnpkPkTzHqcvT+63rCKMSSl5+XKiXO\r
60         2wVSJABSlFGaBzcHlnReMYoDvSXM+2UrUBUPMGHBTXoFtIQJaMlJwcMgS0oSEVJSDYxtl0rY\r
61         jcpPZGXmm+RH8zy54DL7ytMbN42+X880eOVjuuqsGPvGEP5efffXd2xYGRuXfJu6NEjKTaPo\r
62         7xmbR0F+9VIiz/WX3Y1i5WE4Hb8qcfeX77/myHI9K0046rT/1E+9eVuW63d7F+q1nM84pMrN\r
63         yfpV51LN4zcW0WE1Ar83NxyMfTn58yMlluKMREMt5qLiRACOC4p7FQMAAA==\r
64 Cc: David Bremner <bremner@debian.org>\r
65 X-BeenThere: notmuch@notmuchmail.org\r
66 X-Mailman-Version: 2.1.13\r
67 Precedence: list\r
68 List-Id: "Use and development of the notmuch mail system."\r
69         <notmuch.notmuchmail.org>\r
70 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
71         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
72 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
73 List-Post: <mailto:notmuch@notmuchmail.org>\r
74 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
75 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
76         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
77 X-List-Received-Date: Tue, 11 Dec 2012 04:31:20 -0000\r
78 \r
79 On Wed, 05 Dec 2012, david@tethera.net wrote:\r
80 > From: David Bremner <bremner@debian.org>\r
81 >\r
82 > Output from tests is indented slightly in the same style as the\r
83 > correctness tests.\r
84 > ---\r
85 >  performance-test/perf-test-lib.sh |    9 +++++++--\r
86 >  1 file changed, 7 insertions(+), 2 deletions(-)\r
87 >\r
88 > diff --git a/performance-test/perf-test-lib.sh b/performance-test/perf-test-lib.sh\r
89 > index e399d3f..415bf15 100644\r
90 > --- a/performance-test/perf-test-lib.sh\r
91 > +++ b/performance-test/perf-test-lib.sh\r
92 > @@ -67,12 +67,12 @@ add_email_corpus ()\r
93 >  }\r
94 >  \r
95 >  print_header () {\r
96 > -    printf "[v%4s %6s]        Wall(s)\tUsr(s)\tSys(s)\tRes(K)\tIn/Out(512B)\n" \\r
97 > +    printf "[v%4s %6s]          Wall(s)\tUsr(s)\tSys(s)\tRes(K)\tIn/Out(512B)\n" \\r
98 >          ${PERFTEST_VERSION} ${corpus_size}\r
99 >  }\r
100 >  \r
101 >  time_run () {\r
102 > -    printf "%-22s" "$1"\r
103 > +    printf "  %-22s" "$1"\r
104 >      if test "$verbose" != "t"; then exec 4>test.output 3>&4; fi\r
105 >      if ! eval >&3 "/usr/bin/time -f '%e\t%U\t%S\t%M\t%I/%O' $2" ; then\r
106 >       test_failure=$(($test_failure + 1))\r
107 > @@ -92,3 +92,8 @@ time_done () {\r
108 >  \r
109 >  cd -P "$test" || error "Cannot setup test environment"\r
110 >  test_failure=0\r
111 > +\r
112 > +if [[ -n "test_description" ]]; then\r
113 \r
114 I think you meant "$test_description".  Though, it seems like it would\r
115 be confusing if $test_description wasn't set and there was no output.\r
116 Maybe this shouldn't be conditional and below should be\r
117 ${test_description:-UNNAMED} or something?\r
118 \r
119 > +    echo\r
120 > +    echo $(basename "$0"): "Benchmarking ${test_description}"\r
121 > +fi\r
122 > -- \r
123 > 1.7.10.4\r
124 >\r
125 > _______________________________________________\r
126 > notmuch mailing list\r
127 > notmuch@notmuchmail.org\r
128 > http://notmuchmail.org/mailman/listinfo/notmuch\r