From: "Bryan K. Walton" <walton@mailbag.com>
Subject: autochecking for new messages/articles while inside group
Date: Wed, 9 Jan 2002 08:24:12 -0600 [thread overview]
Message-ID: <20020109142412.GA17799@berbee.com> (raw)
Forgive me if this issue has been addressed before. I am new to Gnus
and recently subscribed to the list.
I am running Gnus inside Emacs 21.1. I am using Gnus to do imap to my
mailserver. I have that successfully working for the most part. What I
am interested in doing is having Gnus automatically check for new
messages while the imap session is running and I am inside the group.
After searching the web for a while, I stumbled across the following but
it still isn't auto-checking:
-- snip --
(defvar check-gnus-timer nil)
(defvar check-gnus-interval 60
"* Seconds between gnus-checks.")
(defvar check-gnus-level 1
"* Gnus level to check.")
(defun check-gnus ()
""
(interactive)
(and check-gnus-timer (cancel-timer check-gnus-timer))
(setq check-gnus-timer
(run-at-time nil check-gnus-interval
'check-gnus-event-handler)))
(defun check-gnus-event-handler ()
(message (concat (current-time-string) "- check-gnus - checking
mail..."))
; save current state here for comparison after check?
(gnus-group-get-new-news check-gnus-level))
-- snip
So far, the only way I can get Gnus to see new messages is to exit the
group and then tell Gnus to "get newly arrived articles".
Is there a way to automate this?
Thanks!
Bryan Walton
next reply other threads:[~2002-01-09 14:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-09 14:24 Bryan K. Walton [this message]
2002-01-09 15:38 ` Simon Josefsson
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=20020109142412.GA17799@berbee.com \
--to=walton@mailbag.com \
/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).