Re: [notmuch] notmuch 'index' mode.
authorKeith Packard <keithp@keithp.com>
Mon, 23 Nov 2009 07:18:33 +0000 (23:18 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:41 +0000 (09:35 -0800)
61/a097d2fc71afbba34910be59590d5338e9f2a9 [new file with mode: 0644]

diff --git a/61/a097d2fc71afbba34910be59590d5338e9f2a9 b/61/a097d2fc71afbba34910be59590d5338e9f2a9
new file mode 100644 (file)
index 0000000..f0e79b7
--- /dev/null
@@ -0,0 +1,135 @@
+Return-Path: <keithp@keithp.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 C6F8D431FBC\r
+       for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 23:18:41 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\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 OgauUbKEv0M0 for <notmuch@notmuchmail.org>;\r
+       Sun, 22 Nov 2009 23:18:39 -0800 (PST)\r
+Received: from keithp.com (home.keithp.com [63.227.221.253])\r
+       by olra.theworths.org (Postfix) with ESMTP id 81B57431FAE\r
+       for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 23:18:38 -0800 (PST)\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by keithp.com (Postfix) with ESMTP id C4E91B9402F;\r
+       Sun, 22 Nov 2009 23:18:37 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at keithp.com\r
+Received: from keithp.com ([127.0.0.1])\r
+       by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024)\r
+       with LMTP id 8gFle5Mz7ds7; Sun, 22 Nov 2009 23:18:34 -0800 (PST)\r
+Received: by keithp.com (Postfix, from userid 1033)\r
+       id 9A75EB84011; Sun, 22 Nov 2009 23:18:34 -0800 (PST)\r
+Received: from keithp.com (localhost [127.0.0.1])\r
+       by keithp.com (Postfix) with ESMTP id 8D71CB80040;\r
+       Sun, 22 Nov 2009 23:18:34 -0800 (PST)\r
+From: Keith Packard <keithp@keithp.com>\r
+To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org\r
+In-Reply-To: <87639122sx.fsf@yoom.home.cworth.org>\r
+References: <yun7htkcou6.fsf@aiko.keithp.com>\r
+       <87639122sx.fsf@yoom.home.cworth.org>\r
+Date: Sun, 22 Nov 2009 23:18:33 -0800\r
+Message-ID: <yunhbslpv3q.fsf@aiko.keithp.com>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Subject: Re: [notmuch] notmuch 'index' mode.\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\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: Mon, 23 Nov 2009 07:18:45 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Mon, 23 Nov 2009 07:06:06 +0100, Carl Worth <cworth@cworth.org> wrote:\r
+> On Fri, 20 Nov 2009 23:35:29 -0800, Keith Packard <keithp@keithp.com> wro=\r
+te:\r
+> > I posted a patch adding an 'index' mode to notmuch and though I'd\r
+> > explain my idea. Most mail systems provide a 'folder view' mode which\r
+> > displays the set of folders and a count of messages in each folder. I\r
+> > used this myself as the first sort of which messages I want to read.\r
+>=20\r
+> I've just pushed this set of patches out now.\r
+>=20\r
+> I like it quite a bit. Here are some thoughts:\r
+>=20\r
+>   * The mode documentation really needs to walk the user through how to\r
+>     setup a custom set of folders.\r
+\r
+You can use the standard emacs customization interface, although it's\r
+not exactly well documented there. Additional docs are clearly\r
+indicated.\r
+\r
+>   * It's not opening my "to-me" folder for some reason. (I thought it\r
+>     was the '-' at first, but "xorg-board" is working fine). I can debug\r
+>     this later.\r
+\r
+It shouldn't work on xorg-board either -- it just skips forward one\r
+'word' and assumes it's gotten the folder name. Lame programming, I\r
+know. Should be easy to fix.\r
+\r
+>   * The presentation is impressively spartan[*]. :-)\r
+\r
+What more do you need? Pretty fonts? Icons? A pony?\r
+\r
+> If we spruce this up a bit, I think we'll want to make this the default\r
+> view of "M-x notmuch".\r
+\r
+Let's figure out what we want it to look like then. I suggest that we\r
+use some font tricks (bold/regular) to highlight folders with\r
+un-archived mail. I'd also like to be able to create a hierarchy.\r
+\r
+> Oh, and instead of just documenting how to set a variable in .emacs we\r
+> should just provide commands to add/remove folders.\r
+\r
+That seems doable; it really only takes two text fields after all.\r
+\r
+> I think the number of threads matching the search is the only\r
+> interesting number actually. Otherwise, you just end up printing a bunch\r
+> of big numbers that the user doesn't need for anything.\r
+\r
+Threads or messages? Threads are more expensive to compute, and when the\r
+number is zero, it means the same thing. But, it is surprising to see a\r
+huge number in the folder view and then get only a handful of threads in\r
+the search view. Perhaps if the count is small enough we can go through\r
+and actually figure out how many threads are involved.\r
+\r
+> So maybe the user configures a search template to use for each automatic\r
+> tag or so?\r
+\r
+Ack! I suggest that the simpler approach of just duplicating the search\r
+field will work fine in practice. Otherwise, you're talking miles of UI\r
+goo, and constantly confused users. Really, you can use emacs to edit\r
+these things if you get too many.\r
+\r
+> It's only when I get my search results down below a particular\r
+> threshold that I decide I want to read everything linearly.\r
+\r
+I have started doing this sometimes too. But, I still skim things like\r
+the mesa list and only read a few by clicking through and 'x'ing back.\r
+\r
+=2D-=20\r
+keith.packard@intel.com\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFLCjdKQp8BWwlsTdMRAiGiAJ9I+0PlI9KaB8Bf4u3um2MIzl7MuACgz83D\r
+JoVkrVehZOeRZKVr+cyCGFI=\r
+=zPYV\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r