Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 61 / a097d2fc71afbba34910be59590d5338e9f2a9
1 Return-Path: <keithp@keithp.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 C6F8D431FBC\r
6         for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 23:18:41 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id OgauUbKEv0M0 for <notmuch@notmuchmail.org>;\r
11         Sun, 22 Nov 2009 23:18:39 -0800 (PST)\r
12 Received: from keithp.com (home.keithp.com [63.227.221.253])\r
13         by olra.theworths.org (Postfix) with ESMTP id 81B57431FAE\r
14         for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 23:18:38 -0800 (PST)\r
15 Received: from localhost (localhost [127.0.0.1])\r
16         by keithp.com (Postfix) with ESMTP id C4E91B9402F;\r
17         Sun, 22 Nov 2009 23:18:37 -0800 (PST)\r
18 X-Virus-Scanned: Debian amavisd-new at keithp.com\r
19 Received: from keithp.com ([127.0.0.1])\r
20         by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024)\r
21         with LMTP id 8gFle5Mz7ds7; Sun, 22 Nov 2009 23:18:34 -0800 (PST)\r
22 Received: by keithp.com (Postfix, from userid 1033)\r
23         id 9A75EB84011; Sun, 22 Nov 2009 23:18:34 -0800 (PST)\r
24 Received: from keithp.com (localhost [127.0.0.1])\r
25         by keithp.com (Postfix) with ESMTP id 8D71CB80040;\r
26         Sun, 22 Nov 2009 23:18:34 -0800 (PST)\r
27 From: Keith Packard <keithp@keithp.com>\r
28 To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org\r
29 In-Reply-To: <87639122sx.fsf@yoom.home.cworth.org>\r
30 References: <yun7htkcou6.fsf@aiko.keithp.com>\r
31         <87639122sx.fsf@yoom.home.cworth.org>\r
32 Date: Sun, 22 Nov 2009 23:18:33 -0800\r
33 Message-ID: <yunhbslpv3q.fsf@aiko.keithp.com>\r
34 MIME-Version: 1.0\r
35 Content-Type: multipart/signed; boundary="=-=-=";\r
36         micalg=pgp-sha1; protocol="application/pgp-signature"\r
37 Subject: Re: [notmuch] notmuch 'index' mode.\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.12\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Mon, 23 Nov 2009 07:18:45 -0000\r
51 \r
52 --=-=-=\r
53 Content-Transfer-Encoding: quoted-printable\r
54 \r
55 On Mon, 23 Nov 2009 07:06:06 +0100, Carl Worth <cworth@cworth.org> wrote:\r
56 > On Fri, 20 Nov 2009 23:35:29 -0800, Keith Packard <keithp@keithp.com> wro=\r
57 te:\r
58 > > I posted a patch adding an 'index' mode to notmuch and though I'd\r
59 > > explain my idea. Most mail systems provide a 'folder view' mode which\r
60 > > displays the set of folders and a count of messages in each folder. I\r
61 > > used this myself as the first sort of which messages I want to read.\r
62 >=20\r
63 > I've just pushed this set of patches out now.\r
64 >=20\r
65 > I like it quite a bit. Here are some thoughts:\r
66 >=20\r
67 >   * The mode documentation really needs to walk the user through how to\r
68 >     setup a custom set of folders.\r
69 \r
70 You can use the standard emacs customization interface, although it's\r
71 not exactly well documented there. Additional docs are clearly\r
72 indicated.\r
73 \r
74 >   * It's not opening my "to-me" folder for some reason. (I thought it\r
75 >     was the '-' at first, but "xorg-board" is working fine). I can debug\r
76 >     this later.\r
77 \r
78 It shouldn't work on xorg-board either -- it just skips forward one\r
79 'word' and assumes it's gotten the folder name. Lame programming, I\r
80 know. Should be easy to fix.\r
81 \r
82 >   * The presentation is impressively spartan[*]. :-)\r
83 \r
84 What more do you need? Pretty fonts? Icons? A pony?\r
85 \r
86 > If we spruce this up a bit, I think we'll want to make this the default\r
87 > view of "M-x notmuch".\r
88 \r
89 Let's figure out what we want it to look like then. I suggest that we\r
90 use some font tricks (bold/regular) to highlight folders with\r
91 un-archived mail. I'd also like to be able to create a hierarchy.\r
92 \r
93 > Oh, and instead of just documenting how to set a variable in .emacs we\r
94 > should just provide commands to add/remove folders.\r
95 \r
96 That seems doable; it really only takes two text fields after all.\r
97 \r
98 > I think the number of threads matching the search is the only\r
99 > interesting number actually. Otherwise, you just end up printing a bunch\r
100 > of big numbers that the user doesn't need for anything.\r
101 \r
102 Threads or messages? Threads are more expensive to compute, and when the\r
103 number is zero, it means the same thing. But, it is surprising to see a\r
104 huge number in the folder view and then get only a handful of threads in\r
105 the search view. Perhaps if the count is small enough we can go through\r
106 and actually figure out how many threads are involved.\r
107 \r
108 > So maybe the user configures a search template to use for each automatic\r
109 > tag or so?\r
110 \r
111 Ack! I suggest that the simpler approach of just duplicating the search\r
112 field will work fine in practice. Otherwise, you're talking miles of UI\r
113 goo, and constantly confused users. Really, you can use emacs to edit\r
114 these things if you get too many.\r
115 \r
116 > It's only when I get my search results down below a particular\r
117 > threshold that I decide I want to read everything linearly.\r
118 \r
119 I have started doing this sometimes too. But, I still skim things like\r
120 the mesa list and only read a few by clicking through and 'x'ing back.\r
121 \r
122 =2D-=20\r
123 keith.packard@intel.com\r
124 \r
125 --=-=-=\r
126 Content-Type: application/pgp-signature\r
127 \r
128 -----BEGIN PGP SIGNATURE-----\r
129 Version: GnuPG v1.4.10 (GNU/Linux)\r
130 \r
131 iD8DBQFLCjdKQp8BWwlsTdMRAiGiAJ9I+0PlI9KaB8Bf4u3um2MIzl7MuACgz83D\r
132 JoVkrVehZOeRZKVr+cyCGFI=\r
133 =zPYV\r
134 -----END PGP SIGNATURE-----\r
135 --=-=-=--\r