Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / a9 / da7e430f54872d61ef3d6c86afb4aefe291701
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 1C538429E34\r
6         for <notmuch@notmuchmail.org>; Wed, 11 Jul 2012 11:57:22 -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: 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 1GAeAOpg3k6t for <notmuch@notmuchmail.org>;\r
18         Wed, 11 Jul 2012 11:57:19 -0700 (PDT)\r
19 Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com\r
20  [74.125.82.41])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
21  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
22  A1176431FAE    for <notmuch@notmuchmail.org>; Wed, 11 Jul 2012 11:57:19 -0700\r
23  (PDT)\r
24 Received: by wgbds1 with SMTP id ds1so512063wgb.2\r
25         for <notmuch@notmuchmail.org>; Wed, 11 Jul 2012 11:57:16 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:x-mailer;\r
28         bh=z/ayXMJphAjtkwIJU1SD2RtYg13EPqici3MiSUX74Go=;\r
29         b=yS0ngeXDM2nHmiyrIw0oM99ve6sNs2GXMMzDY/CnYCYibl1j2xQM9z+EijTGed+cOl\r
30         zfRHEtd0I11eyx4ATgaFoTmZtYcm49Qkd9enWElpmjuZh9Avsl4TacsgE7fa8XBwMEyH\r
31         iZkV9G9+ZAxyPbAv3jTXCjAkZCNtxn60Rbr0VIef+KxZBiOVEIACT/Ems3pSfT+6xeS5\r
32         PMcs2IRHHGGo1iEEGI9aQFbHDdwN35SCQGpzFh5RQ/qe1LcUwt7Kj00vHsx/+V7QMJUJ\r
33         NXOL4E3/sSPtwPEp1e8ZIRog1V9PhTGtP46vzlJp6RwzWYuqPn8eNkLLW1tGbyPrO/Ck\r
34         iBdQ==\r
35 Received: by 10.216.166.197 with SMTP id g47mr19305637wel.179.1342033036885;\r
36         Wed, 11 Jul 2012 11:57:16 -0700 (PDT)\r
37 Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
38  [94.192.233.223])      by mx.google.com with ESMTPS id\r
39  t7sm6969540wix.6.2012.07.11.11.57.15   (version=TLSv1/SSLv3 cipher=OTHER);     Wed,\r
40  11 Jul 2012 11:57:15 -0700 (PDT)\r
41 From: Mark Walters <markwalters1009@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH 0/3] Notmuch pick: a threaded view \r
44 Date: Wed, 11 Jul 2012 19:57:04 +0100\r
45 Message-Id: <1342033027-30286-1-git-send-email-markwalters1009@gmail.com>\r
46 X-Mailer: git-send-email 1.7.9.1\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Wed, 11 Jul 2012 18:57:22 -0000\r
60 \r
61 Hello\r
62 \r
63 Notmuch pick is an emacs view which displays a threaded view of\r
64 messages: each message has its own line and the thread structure is\r
65 shown with UTF-8 graphics characters (so it looks vaguely similar to\r
66 mutt's threaded view)\r
67 \r
68 Pick was originally written by David Edmondon and posted on irc and I\r
69 have been developing it on and off since.  Now that almost all the\r
70 backend changes it uses are in I would like to see about getting it\r
71 into mainline.\r
72 \r
73 However, the code is definitely not of the same standard as the main\r
74 notmuch code. One suggestion on irc was that we put it in contrib and\r
75 ship a stub notmuch-pick.el file in mainline so all a user would need\r
76 to do is replace the stub by the full version and compile.\r
77 \r
78 This patch series implements this approach. I have managed to keep the\r
79 impact on the main notmuch code minimal: a stub pick file (which is\r
80 almost entirely the copyright boilerplate) and a entry from the main\r
81 notmuch.el. The way it works is that notmuch unconditionally calls\r
82 notmuch-pick-init when started: in the default case (the stub file)\r
83 this does nothing, whereas if the user replaces the stub by the full\r
84 file this sets up all the keybinding etc.\r
85 \r
86 I have code for another approach which is only a little bigger: I add\r
87 a variable notmuch-pick-wanted and if the user sets this (which could\r
88 be by using setq in their .emacs file, or we could add a defcustom\r
89 option) which tells the code whether to load the pick functionality or\r
90 not.\r
91 \r
92 In all the above cases this should give no change for a user who does\r
93 not enable the functionality. In the latter two cases notmuch-pick\r
94 would show up during compilation, whereas in the former it should be\r
95 completely invisible.\r
96 \r
97 Any comments on the preferred approach?\r
98 \r
99 Finally there have been suggestion that the name notmuch-pick is not\r
100 intuitive: are there any suggestions for a better name?\r
101 \r
102 Best wishes\r
103 \r
104 Mark\r
105 \r
106 Mark Walters (3):\r
107   emacs: add a stub notmuch-pick.el file\r
108   emacs: add a stub entry to notmuch-pick in notmuch.el\r
109   emacs: make notmuch-show return its buffer\r
110 \r
111  emacs/Makefile.local  |    3 ++-\r
112  emacs/notmuch-pick.el |   28 ++++++++++++++++++++++++++++\r
113  emacs/notmuch-show.el |    3 ++-\r
114  emacs/notmuch.el      |    2 ++\r
115  4 files changed, 34 insertions(+), 2 deletions(-)\r
116  create mode 100644 emacs/notmuch-pick.el\r
117 \r
118 -- \r
119 1.7.9.1\r
120 \r