Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 56C9D431FBF; Thu, 3 Dec 2009 16:32:10 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QGKrPe1hzknE; Thu, 3 Dec 2009 16:32:09 -0800 (PST) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id DBB08431FBD; Thu, 3 Dec 2009 16:32:07 -0800 (PST) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 02B7E2542FC; Thu, 3 Dec 2009 16:29:35 -0800 (PST) From: Carl Worth To: Gregor Hoffleit , notmuch In-Reply-To: <1259840063-sup-1478@sam.mediasupervision.de> References: <1259840063-sup-1478@sam.mediasupervision.de> Date: Thu, 03 Dec 2009 16:29:34 -0800 Message-ID: <871vjbh98x.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: [notmuch] Notmuch's search view sucks X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2009 00:32:10 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Thu, 03 Dec 2009 14:33:51 +0100, Gregor Hoffleit wr= ote: > first a short introduction: I was a mutt user for ages. When I read > about Sup, I was intrigued. After a short evaluation period, I switched > to Sup, which I'm now using since six months.=20 Hi Gregor, welcome to notmuch! > But. Compared to Sup, the current notmuch clients suck :-) Hey, we like our rough edges *really* rough, dontcha know? > I'm experimenting with a notmuch web client (currently 'evenless'), > trying to replicate much of the feeling of Sup, in a web client. Hey, that sounds really interesting! I'll definitely look forward to what you come up with. > Also, any l10n (e.g. of time representation) would have to be hardcoded > as well (btw, anybody knows a library for human readable time > representations which supports l10n and i18n?). I'd love to see one. The quick scan I did for human-readable time formatting found stuff in languages like perl, python, and ruby, but I didn't notice much in C. I also didn't look close enough to see if any of these have multi-language suport. > So perhaps it's better to move the polishing into the client (Yeah! > Python to the rescue! ;-). But then, 'notmuch search' would need to > return some raw representation of the date field as well. Good point. There's actually a weird mix of raw and cooked output from the notmuch command line right now. As you noticed, "notmuch search" cooks the date too much, (and in a way useful only to English speakers). Meanwhile, the "notmuch show" output is far too raw to be read without a client prettying it up. (The message{ header{ body{ body} header} message} stuff is almost as bad as XML.) > Any comment? Any other thoughts about this? I think I'd like to see notmuch output get both more cooked and more raw at the same time. I'd like things to be more cooked by default, ("notmuch show" shouldn't print the ugly delimiters, should indent messages, and should start up a pager). And then we just need options that frontends can pass to get the raw output, (but quoted safely---which the current "notmuch show" output is *not*). =2DCarl PS. If you're worried about multi-lingualization issues for notmuch, you'll want to know that notmuch is (for now) unconditionally instructing Xapian to use an English-language stemmer when indexing mail. Obviously we'll want to support a configuration option for specifying a default stemmer, (Xapian has stemmers for many languages I believe). And a step beyond that would support different languages for different emails, but that sounds like something "hard" to identify. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLGFfu6JDdNq8qSWgRAtSdAKCPTpCgtqV+8OmwWLm3Bt4GJxC7UACdFAbF EErCmrC0auP9+OWj3XYiK3s= =WDGx -----END PGP SIGNATURE----- --=-=-=--