9

I'm using GNUS to read my emails. Is there some way to make it automatically check my mail box and report new mails somehow? Maybe some package exists to do this sort of thing?

  • The idea of Emacs is that you modify it to your wishes. Asking for packages to modify it, seems counter-intuitively to me. I would suggest that you could learn some Lisp, to check if there are new mails. – ReneFroger Aug 17 '15 at 11:23
  • @ReneFroger, heh, well, thanks for your advice, but I know Lisp for years now, I did a lot of Common Lisp and Emacs Lisp in the past, and I've written various Common Lisp libraries and bindings, several Emacs Lisp packages, check my my profile, you may find some of them useful. As for this issue, of course I can write whatever I like, but this won't happen if there is something that is already working, I've other things to do right now. – Mark Karpov Aug 17 '15 at 11:38
  • 1
    Excuse me for my poor advice. I checked your profile, and I'm very sorry for my harsh words. I'm even using one of your packages.. – ReneFroger Aug 17 '15 at 11:46
  • 4
    @ReneFroger, nevermind... Note that even while Emacs let you modify everything you like, we shouldn't reinvent the wheel, so it seems practical to ask if some useful thing is already implemented. When you are not satisfied with existing solutions or you want something special, then yes, go ahead and write some Emacs Lisp! :-D – Mark Karpov Aug 17 '15 at 11:50
  • 3
    Zawinski's law of software envelopment :) – user9215 Aug 17 '15 at 12:11
8

You'll want to look at Gnus Demon.

From gnus-demon.el you'll probably want gnus-demon-scan-mail or gnus-demon-add-scanmail [Defaults to 120, 60: Scan every 2 hours if idle for 1 hour].

This is probably closer to the standard 5-minute scan on phones/applications:

(gnus-demon-add-handler 'gnus-demon-scan-mail 5 t)

EmacsWiki has a comparison of Gnus Notifications, some are for modeline alerts to new email, some are for desktop notifications.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.