[PATCH 0/3] Notmuch pick: a threaded view
authorMark Walters <markwalters1009@gmail.com>
Wed, 11 Jul 2012 18:57:04 +0000 (19:57 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:48:11 +0000 (09:48 -0800)
a9/da7e430f54872d61ef3d6c86afb4aefe291701 [new file with mode: 0644]

diff --git a/a9/da7e430f54872d61ef3d6c86afb4aefe291701 b/a9/da7e430f54872d61ef3d6c86afb4aefe291701
new file mode 100644 (file)
index 0000000..7b60786
--- /dev/null
@@ -0,0 +1,120 @@
+Return-Path: <markwalters1009@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1C538429E34\r
+       for <notmuch@notmuchmail.org>; Wed, 11 Jul 2012 11:57:22 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.201\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
+       RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 1GAeAOpg3k6t for <notmuch@notmuchmail.org>;\r
+       Wed, 11 Jul 2012 11:57:19 -0700 (PDT)\r
+Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com\r
+ [74.125.82.41])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ A1176431FAE   for <notmuch@notmuchmail.org>; Wed, 11 Jul 2012 11:57:19 -0700\r
+ (PDT)\r
+Received: by wgbds1 with SMTP id ds1so512063wgb.2\r
+       for <notmuch@notmuchmail.org>; Wed, 11 Jul 2012 11:57:16 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer;\r
+       bh=z/ayXMJphAjtkwIJU1SD2RtYg13EPqici3MiSUX74Go=;\r
+       b=yS0ngeXDM2nHmiyrIw0oM99ve6sNs2GXMMzDY/CnYCYibl1j2xQM9z+EijTGed+cOl\r
+       zfRHEtd0I11eyx4ATgaFoTmZtYcm49Qkd9enWElpmjuZh9Avsl4TacsgE7fa8XBwMEyH\r
+       iZkV9G9+ZAxyPbAv3jTXCjAkZCNtxn60Rbr0VIef+KxZBiOVEIACT/Ems3pSfT+6xeS5\r
+       PMcs2IRHHGGo1iEEGI9aQFbHDdwN35SCQGpzFh5RQ/qe1LcUwt7Kj00vHsx/+V7QMJUJ\r
+       NXOL4E3/sSPtwPEp1e8ZIRog1V9PhTGtP46vzlJp6RwzWYuqPn8eNkLLW1tGbyPrO/Ck\r
+       iBdQ==\r
+Received: by 10.216.166.197 with SMTP id g47mr19305637wel.179.1342033036885;\r
+       Wed, 11 Jul 2012 11:57:16 -0700 (PDT)\r
+Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
+ [94.192.233.223])     by mx.google.com with ESMTPS id\r
+ t7sm6969540wix.6.2012.07.11.11.57.15  (version=TLSv1/SSLv3 cipher=OTHER);     Wed,\r
+ 11 Jul 2012 11:57:15 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/3] Notmuch pick: a threaded view \r
+Date: Wed, 11 Jul 2012 19:57:04 +0100\r
+Message-Id: <1342033027-30286-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 11 Jul 2012 18:57:22 -0000\r
+\r
+Hello\r
+\r
+Notmuch pick is an emacs view which displays a threaded view of\r
+messages: each message has its own line and the thread structure is\r
+shown with UTF-8 graphics characters (so it looks vaguely similar to\r
+mutt's threaded view)\r
+\r
+Pick was originally written by David Edmondon and posted on irc and I\r
+have been developing it on and off since.  Now that almost all the\r
+backend changes it uses are in I would like to see about getting it\r
+into mainline.\r
+\r
+However, the code is definitely not of the same standard as the main\r
+notmuch code. One suggestion on irc was that we put it in contrib and\r
+ship a stub notmuch-pick.el file in mainline so all a user would need\r
+to do is replace the stub by the full version and compile.\r
+\r
+This patch series implements this approach. I have managed to keep the\r
+impact on the main notmuch code minimal: a stub pick file (which is\r
+almost entirely the copyright boilerplate) and a entry from the main\r
+notmuch.el. The way it works is that notmuch unconditionally calls\r
+notmuch-pick-init when started: in the default case (the stub file)\r
+this does nothing, whereas if the user replaces the stub by the full\r
+file this sets up all the keybinding etc.\r
+\r
+I have code for another approach which is only a little bigger: I add\r
+a variable notmuch-pick-wanted and if the user sets this (which could\r
+be by using setq in their .emacs file, or we could add a defcustom\r
+option) which tells the code whether to load the pick functionality or\r
+not.\r
+\r
+In all the above cases this should give no change for a user who does\r
+not enable the functionality. In the latter two cases notmuch-pick\r
+would show up during compilation, whereas in the former it should be\r
+completely invisible.\r
+\r
+Any comments on the preferred approach?\r
+\r
+Finally there have been suggestion that the name notmuch-pick is not\r
+intuitive: are there any suggestions for a better name?\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+Mark Walters (3):\r
+  emacs: add a stub notmuch-pick.el file\r
+  emacs: add a stub entry to notmuch-pick in notmuch.el\r
+  emacs: make notmuch-show return its buffer\r
+\r
+ emacs/Makefile.local  |    3 ++-\r
+ emacs/notmuch-pick.el |   28 ++++++++++++++++++++++++++++\r
+ emacs/notmuch-show.el |    3 ++-\r
+ emacs/notmuch.el      |    2 ++\r
+ 4 files changed, 34 insertions(+), 2 deletions(-)\r
+ create mode 100644 emacs/notmuch-pick.el\r
+\r
+-- \r
+1.7.9.1\r
+\r