Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: ST <smntov@gmail.com>
To: info-gnus-english@gnu.org
Subject: How to make Emacs Gnus to get new mails automatically?
Date: Thu, 30 Jun 2016 18:30:45 +0300	[thread overview]
Message-ID: <1467300645.1410.74.camel@gmail.com> (raw)

Hello,

I try to fetch new mails with Gnus, but it doesn't work. I tried
following options in my `.emacs` file:

    ;(setq gnus-demon-timestep 10)
    (gnus-demon-add-handler 'gnus-group-get-new-news 1 nil)
    ;(gnus-demon-add-handler 'gnus-demon-scan-mail 1 nil)
    ;(gnus-demon-add-handler 'gnus-demon-scan-news 1 nil)
    (gnus-demon-init)

I tried to add each of the 3 handlers, and put `t` instead of `nil`, but
it didn't work. If I press `g` or run `M-x gnus-group-get-new-news`
manually Gnus does fetchs new mails. I checked `gnus-demon-handlers` and
it indeed says: `gnus-demon-handlers's value is
((gnus-group-get-new-news 1 nil))` but it doesn't fetch mails
automatically.

Thank you!!
Just in case: the question is also here:
http://stackoverflow.com/questions/38100542/how-to-make-emacs-gnus-to-get-new-mails-automatically



             reply	other threads:[~2016-06-30 15:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-30 15:30 ST [this message]
2016-07-21 20:48 ` Adam Sjøgren
2016-07-22 11:28   ` ST
2016-07-22 11:50     ` Adam Sjøgren
2016-07-22 11:49   ` ST
2016-07-22 11:52     ` Adam Sjøgren
2016-07-23 19:44       ` ST
2016-07-23 19:56         ` Adam Sjøgren
2016-07-25  9:10           ` ST
2016-07-25 10:46             ` Adam Sjøgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1467300645.1410.74.camel@gmail.com \
    --to=smntov@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).