On Thu, 23 Dec 2010 08:23:09 +0100
Reiner Steib <[email protected]> wrote:

> > Aaand, while I'm at it: is there a hook that is called whenever a backend
> > receives new mail? I'm trying to integrate emacs with the "awesome"
> > window manager. gnus-biff and gnus-notify seem to check every group
> > manually - I was looking for something more straightforward.
> 
> ,----[ <f1> v nnmail-prepare-save-mail-hook RET ]
> | nnmail-prepare-save-mail-hook is a variable defined in `nnmail.el'.
> | Its value is 
> | (rs-gnus-notify-have-new-mail)
> | 
> | Documentation:
> | Hook called before saving mail.
> `----

I can't test it right now, but this only works for mail backends I guess?
Does it work for nnimap? I never saw any kind of notification of new mail.


_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to