biff-like functionality for emacs and gnus
NOTE: i don't use gnus anymore but this was an interesting problem to solve. i can't claim it still works in the latest gnus.i spend most of my time in emacs. i like the idea that i can replicate my emacs environment in xmonad or the console. one feature i have always wanted integrated in to gnus is a "biff"-like notifier. i decided to hack one up myself since i could not find an existing solution.
previously i used an external imap polling script to determine the availability of new mail, but gnus is already doing this, i figured that there had to be some local state it was modifying to display the gnus folder listing itself. oddly enough i was unable to locate a simple emacs environment var to check, so i simply decided to write an elisp function that regexes the Group buffer after gnus has polled my imap server, and check to see of INBOX.ALL (my inbox subfolder) had new mail in it. should this be the case, i simply add a "M" to my status line. code from my .gnus.el file is below:
last update 2010-12-04