Re: [Further-devel] new launcher plugin

From: Chris Ball (
Date: Sat Jan 12 2002 - 13:20:22 PST

On Sat, Jan 12, 2002 at 04:14:27PM +0000, Ed Lea wrote:
> So, it's the bits you wrote that are unstable then? I've not had any
> problems with it either, not that I really use it that much... one day
> I'll sort out the IMAP/POP version I started months ago

It seems so long ago, but I think I wrote the routines to actually check
for mail, and you wrote the further-side displaying of the string that
all of that returned. (i.e. count_mails() for me and check_update() for

In any case, I can see why it stalls further on large mailboxes; I
couldn't find a well documented algorithm, so I ended up going through
the file sequentially and counting /^From /s. This should be converted
to a better algorithm by someone who Has Clue.
All that mail.c does is run check_update as an event, and call out to
count_mails() to handle the mail checking; if you wanted to use a better
algorithm, all you'd need to do is modify count_mails(). It should
return an int for the number of mails.

- Chris.

Chris Ball. ||

_______________________________________________ Further-devel mailing list

This archive was generated by hypermail 2.1.4 : Tue May 28 2002 - 23:37:04 PDT