looks useful! On Sat, 25 Dec 2010 00:33:12 +0100, Yuri D'Elia said: ---8<---[snipped 23 lines]---8<--- YD> [1] I know there's already a gnus-notify.el script, but I wasn't YD> able to come up with a better name. Please try harder, there are already at least two with that name: http://www.mail-archive.com/gnu-emacs-sources@gnu.org/msg01615.html http://www.emacswiki.org/emacs/gnus-notify.el and you do something different (*desktop notification* instead of *mode line* stuff)! While I was testing you lib, I discovered that `gnus-newsrc-alist'-elements `g' can contain 3 different type elements at (nth 2 g) (ie `gnus-info-read'): - `nil' - a list, like '(1 . 140) - a list of lists, like '((1 . 9)) Obviously, a cdar on a list (eg. (cdar '(1 . 140))) is invalid, which can result in problems in `gnus-notify-check'. So here's a patch to work around that data inconsistency: