From: Keith Packard <keithp@keithp.com>
To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org
Subject: Re: notmuch 'index' mode.
Date: Sun, 22 Nov 2009 23:18:33 -0800 [thread overview]
Message-ID: <yunhbslpv3q.fsf@aiko.keithp.com> (raw)
In-Reply-To: <87639122sx.fsf@yoom.home.cworth.org>
[-- Attachment #1: Type: text/plain, Size: 2992 bytes --]
On Mon, 23 Nov 2009 07:06:06 +0100, Carl Worth <cworth@cworth.org> wrote:
> On Fri, 20 Nov 2009 23:35:29 -0800, Keith Packard <keithp@keithp.com> wrote:
> > I posted a patch adding an 'index' mode to notmuch and though I'd
> > explain my idea. Most mail systems provide a 'folder view' mode which
> > displays the set of folders and a count of messages in each folder. I
> > used this myself as the first sort of which messages I want to read.
>
> I've just pushed this set of patches out now.
>
> I like it quite a bit. Here are some thoughts:
>
> * The mode documentation really needs to walk the user through how to
> setup a custom set of folders.
You can use the standard emacs customization interface, although it's
not exactly well documented there. Additional docs are clearly
indicated.
> * It's not opening my "to-me" folder for some reason. (I thought it
> was the '-' at first, but "xorg-board" is working fine). I can debug
> this later.
It shouldn't work on xorg-board either -- it just skips forward one
'word' and assumes it's gotten the folder name. Lame programming, I
know. Should be easy to fix.
> * The presentation is impressively spartan[*]. :-)
What more do you need? Pretty fonts? Icons? A pony?
> If we spruce this up a bit, I think we'll want to make this the default
> view of "M-x notmuch".
Let's figure out what we want it to look like then. I suggest that we
use some font tricks (bold/regular) to highlight folders with
un-archived mail. I'd also like to be able to create a hierarchy.
> Oh, and instead of just documenting how to set a variable in .emacs we
> should just provide commands to add/remove folders.
That seems doable; it really only takes two text fields after all.
> I think the number of threads matching the search is the only
> interesting number actually. Otherwise, you just end up printing a bunch
> of big numbers that the user doesn't need for anything.
Threads or messages? Threads are more expensive to compute, and when the
number is zero, it means the same thing. But, it is surprising to see a
huge number in the folder view and then get only a handful of threads in
the search view. Perhaps if the count is small enough we can go through
and actually figure out how many threads are involved.
> So maybe the user configures a search template to use for each automatic
> tag or so?
Ack! I suggest that the simpler approach of just duplicating the search
field will work fine in practice. Otherwise, you're talking miles of UI
goo, and constantly confused users. Really, you can use emacs to edit
these things if you get too many.
> It's only when I get my search results down below a particular
> threshold that I decide I want to read everything linearly.
I have started doing this sometimes too. But, I still skim things like
the mesa list and only read a few by clicking through and 'x'ing back.
--
keith.packard@intel.com
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2009-11-23 7:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-21 7:35 notmuch 'index' mode Keith Packard
2009-11-23 6:06 ` Carl Worth
2009-11-23 7:18 ` Keith Packard [this message]
2009-11-24 3:16 ` Carl Worth
2009-11-24 3:43 ` Keith Packard
2009-11-24 10:20 ` Jed Brown
2009-11-24 12:14 ` Jan Janak
2009-11-24 16:38 ` Keith Packard
2009-11-24 17:14 ` Jed Brown
2009-11-24 17:51 ` Jan Janak
2009-11-24 23:40 ` Bart Trojanowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yunhbslpv3q.fsf@aiko.keithp.com \
--to=keithp@keithp.com \
--cc=cworth@cworth.org \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).