[27633] in SIPB bug reports

home help back first fref pref prev next nref lref last post

Re: mutt-1.5.14 for Solaris

daemon@ATHENA.MIT.EDU (John Hawkinson)
Tue May 29 03:04:11 2007

From jhawk@MIT.EDU Tue May 29 07:04:10 2007
Return-Path: <jhawk@MIT.EDU>
Delivered-To: bug-sipb-mtg@CHARON.mit.edu
Received: (qmail 23031 invoked from network); 29 May 2007 07:04:10 -0000
Received: from biscayne-one-station.mit.edu (18.7.7.80)
  by charon.mit.edu with SMTP; 29 May 2007 07:04:10 -0000
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
	by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id l4T73rbi004625;
	Tue, 29 May 2007 03:03:53 -0400 (EDT)
Received: from multics.mit.edu (MULTICS.MIT.EDU [18.187.1.73])
	(authenticated bits=56)
        (User authenticated as jhawk@ATHENA.MIT.EDU)
	by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id l4T73psq000334
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Tue, 29 May 2007 03:03:52 -0400 (EDT)
Received: (from jhawk@localhost) by multics.mit.edu (8.12.9.20060308)
	id l4T73pLh002561; Tue, 29 May 2007 03:03:51 -0400 (EDT)
Date: Tue, 29 May 2007 03:03:51 -0400 (EDT)
Message-Id: <200705290703.l4T73pLh002561@multics.mit.edu>
To: bug-sipb@MIT.EDU
cc: mutt-users@MIT.EDU
In-reply-to: "[27103] in SIPB bug reports"
Subject: Re: mutt-1.5.14 for Solaris
From: John Hawkinson <jhawk@MIT.EDU>
X-Scanned-By: MIMEDefang 2.42
X-Spam-Flag: NO
X-Spam-Score: 0.00

| Highlights of the ChangeLog follow. Disturbingly the ChangeLog has become
| UTF-8.

I missed some stuff.
Notably:

1.5.13 (2006-08-14):

  + thread patterns.  Use ~(...) to match all threads that
    contain a message that matches ...

That means, for instance, instead of

	l ~C foobar || ~f foobar

you can generally limit it to

	l ~(~C foobar)

In 1.5.14, we got:

+2006-11-15 18:59:27  Rocco Rutte  <pdmef@gmx.net>  (brendan)
+
+       * pattern.c: Display progress during searches.

which is actually kind of problematic. It makes "l ." (aka "l all")
really slow for me, because of all the display updates

	set read_inc=100

(up from the default of 10) makes it acceptably fast again, at the
cost of less precision in the incremental messages when starting up
mutt. (I opened "#2899: progress display is now too slow for common
operations" for this.)

I built 1.5.15 for Solaris only. 

Somewhere along the way, we also got some IMAP server-side searches:

+   =b STRING messages which contain STRING in the message body. If IMAP
+   is enabled, searches for STRING on the server, rather than downloading
+   each message and searching it locally.

(also =B and =h, I believe, though these are undocumented, so maybe
they don't work?).  Unfortunately these are kind of useless on large
imap mailboxes, and what you really want is to be able to replace

	~m 5000-6000 ~b foobar

with
	~m 5000-6000 =b foobar

but that doesn't work :(. I tried a quick hack, (in ~jhawk/bin/mutt-jhawk),
which is

	=m 5000-6000 =b foobar

which uses *IMAP* sequence numbers 5000-6000 to limit the search.
This works OK, and imap sequence numbers are roughly mailbox numbers,
but no guarantees. Ideally, of course, it should convert mailbox numbres
to IMAP sequence numbers (or UIDs), but that's a lot more thinking.
Patch in ~jhawk/tmp/*mutt* if you care.

mutt-jhawk also has a patch to not display ^Ms unless you hit 'h',
which is handy if you get a lot of email from dolby.com, or other
strange people who have piles of spurrious ^Ms in their messages.
(This is "#2898: mutt-1.5.14: mutt's pager should strip spurrious ^M,
most of the time".)

--jhawk

home help back first fref pref prev next nref lref last post