On 2/20/07, Richard Curnow <[EMAIL PROTECTED]> wrote: > It sounds like a good idea, but which 200 mails do you want? I think > you're going to end up using a date range or something anyway. > > For now, you could probably script what you want with something > involving > > $(mairix -r "$@" | wc -l) > > or similar, and abandon the real search if this returns too many > results.
I have something like that in my script, and when it kicks in I do add a date range. But it would still be very nice to be able to say "I want the latest 100 messages that have these words", so that I don't have to keep iterating with longer and longer ranges until I find the message I'm looking for. The assumption is that I'm looking for recent mail, but I'm not sure exactly how recent, and my query is reasonably specific. I think that applies to most of the queries I do. I would be happy if -t applied after the 100-message limit, but if it's easier to implement it the other way, that's fine too. By the way, I've been using the -F flag for a while now, and am very happy with it. It's replaced my "only index the last month's maildir" hack. --David ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mairix-users mailing list Mairix-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mairix-users