Re: BUG: bad notmuch shared library install_name on Mac OS X
[notmuch-archives.git] / 85 / 80d47b7ceb6655be66b5e9735c8f7fe5e6dfec
1 Return-Path: <markwalters1009@gmail.com>\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 1EE12431FBC\r
6         for <notmuch@notmuchmail.org>; Thu, 23 Feb 2012 13:40:10 -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.201\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id qDEwQ3qy72Lw for <notmuch@notmuchmail.org>;\r
18         Thu, 23 Feb 2012 13:40:09 -0800 (PST)\r
19 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com\r
20         [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 815C6431FAE\r
23         for <notmuch@notmuchmail.org>; Thu, 23 Feb 2012 13:40:09 -0800 (PST)\r
24 Received: by wibhi8 with SMTP id hi8so1195426wib.26\r
25         for <notmuch@notmuchmail.org>; Thu, 23 Feb 2012 13:40:08 -0800 (PST)\r
26 Received-SPF: pass (google.com: domain of markwalters1009@gmail.com designates\r
27         10.216.138.34 as permitted sender) client-ip=10.216.138.34; \r
28 Authentication-Results: mr.google.com; spf=pass (google.com: domain of\r
29         markwalters1009@gmail.com designates 10.216.138.34 as permitted\r
30         sender) smtp.mail=markwalters1009@gmail.com;\r
31         dkim=pass header.i=markwalters1009@gmail.com\r
32 Received: from mr.google.com ([10.216.138.34])\r
33         by 10.216.138.34 with SMTP id z34mr45315wei.27.1330033208162 (num_hops\r
34         = 1); Thu, 23 Feb 2012 13:40:08 -0800 (PST)\r
35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
36         h=from:to:cc:subject:date:message-id:x-mailer;\r
37         bh=xyxw8nV2gF+lHhVXnUozzP0TshkazbWt1KU6iCYlWaU=;\r
38         b=jNVlBvNEdlExGEZr8QPZ+60Fqd/qLuTs4ozAuE6vIsqVmAwiNcus9qmWi+nPAQ8kkm\r
39         u2Cb51VFk/CIA+6xaYN8CcAsHFAMU12A1UUtiOG/qUIDQwqzdkXaU9ziaMMfwIf4RUz5\r
40         PL9mWgqc1za89Rj7kPa1DHZrdEmW3AAXM5LsU=\r
41 Received: by 10.216.138.34 with SMTP id z34mr37627wei.27.1330033208072;\r
42         Thu, 23 Feb 2012 13:40:08 -0800 (PST)\r
43 Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
44  [94.192.233.223])      by mx.google.com with ESMTPS id\r
45  d7sm12320042wiz.6.2012.02.23.13.40.06  (version=TLSv1/SSLv3 cipher=OTHER);\r
46         Thu, 23 Feb 2012 13:40:07 -0800 (PST)\r
47 From: Mark Walters <markwalters1009@gmail.com>\r
48 To: notmuch@notmuchmail.org\r
49 Subject: [PATCH 0/2] Make elide messages use cli side\r
50 Date: Thu, 23 Feb 2012 21:41:32 +0000\r
51 Message-Id: <1330033294-21980-1-git-send-email-markwalters1009@gmail.com>\r
52 X-Mailer: git-send-email 1.7.2.3\r
53 X-BeenThere: notmuch@notmuchmail.org\r
54 X-Mailman-Version: 2.1.13\r
55 Precedence: list\r
56 List-Id: "Use and development of the notmuch mail system."\r
57         <notmuch.notmuchmail.org>\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
61 List-Post: <mailto:notmuch@notmuchmail.org>\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
65 X-List-Received-Date: Thu, 23 Feb 2012 21:40:10 -0000\r
66 \r
67 Currently the elide messages option in notmuch-show.el fetches all\r
68 messages in the thread (via notmuch-show.c) parses the JSON and throws \r
69 away all the non-matching messages.\r
70 \r
71 This patch removes the entire-thread assumption for format=json from \r
72 notmuch-show.c. This allows the emacs code to call notmuch-show with \r
73 out the --entire-thread flag and just receive the matching messages \r
74 (but with the full thread structure) in return. \r
75 \r
76 This makes notmuch-show.c much faster (but in practice this is small\r
77 anyway) but more importantly substantially improves the speed of the\r
78 JSON parsing. Rough wall clock timing on my system shows (best case) a\r
79 4 second time for showing a large thread (170 messages) reduced to an\r
80 almost instant time for a single matching message from that thread.\r
81 \r
82 For the existing show view the gain is nice but not critical. However,\r
83 notmuch-pick shows a single message at a time and the speed increase\r
84 will be needed there.\r
85 \r
86 Best wishes\r
87 \r
88 Mark\r
89 \r
90 \r
91 \r
92 Mark Walters (2):\r
93   emacs/cli: remove entire-thread default from show: JSON\r
94   emacs: make elide messages use notmuch-show for omitting messages.\r
95 \r
96  emacs/notmuch-show.el |   15 +++++++++------\r
97  notmuch-show.c        |    1 -\r
98  2 files changed, 9 insertions(+), 7 deletions(-)\r
99 \r
100 -- \r
101 1.7.2.3\r
102 \r