From: Garjola Dindi <garjola@garjola.net>
To: info-gnus-english@gnu.org
Subject: Re: Emacs resident looking for advice when Gnus blocks while fetching news
Date: Mon, 09 Dec 2019 12:02:19 +0100 [thread overview]
Message-ID: <87o8whahj8.fsf@pc-117-162.ovh.com> (raw)
In-Reply-To: <87fthzvend.fsf@sdf.org>
On Thu 05-Dec-2019 at 00:45:26 +01, William Henderson <wmhenderson@freeshell.org> wrote:
> ;; AUTOMATICALLY CHECK MAILPERIODICALLY
> (add-hook 'gnus-startup-hook
> '(lambda ()
> (gnus-demon-init)
> (setq gnus-demon-timestep 1) ;; each timestep is 1 second
> ;; Check for new mail every 300 timesteps (5 minute)
> (gnus-demon-add-handler 'gnus-demon-scan-news 300 t)
> (gnus-demon-add-handler 'gnus-demon-scan-mail 300 t)
>
> ;; Don't crash gnus if disconnected
> (defadvice gnus-demon-scan-news (around gnus-demon-timeout activate)
> "Timeout for Gnus."
> (with-timeout
> (120 (message "Gnus timed out."))
> ad-do-it))))
>
Thanks for the detailed information. I am wondering if the use of the
demon does not block emacs?
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
prev parent reply other threads:[~2019-12-09 11:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-04 14:46 Garjola Dindi
2019-12-04 15:42 ` Fraga, Eric
2019-12-04 21:04 ` Garjola Dindi
2019-12-05 22:28 ` Fraga, Eric
2019-12-09 11:04 ` Garjola Dindi
2019-12-09 12:19 ` Fraga, Eric
2019-12-10 11:28 ` Emanuel Berg via info-gnus-english
2019-12-10 11:35 ` Emanuel Berg via info-gnus-english
2019-12-10 12:01 ` Emanuel Berg via info-gnus-english
2019-12-04 23:45 ` William Henderson
2019-12-09 11:02 ` Garjola Dindi [this message]
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=87o8whahj8.fsf@pc-117-162.ovh.com \
--to=garjola@garjola.net \
--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).