From: Philipp Haselwarter <philipp.haselwarter@gmx.de>
To: ding@gnus.org
Subject: Re: gnus-demon question
Date: Thu, 06 Jan 2011 18:12:02 +0100 [thread overview]
Message-ID: <87r5cq3qjh.fsf@nzebook.haselwarter.org> (raw)
In-Reply-To: <87ipy4sg1v.fsf@topper.koldfront.dk>
The problem I encountered with the demon is that `gnus-demon-init'
(which gets called at the end of `gnus-demon-add-handler' btw) has to be
called at a certain point of time (after gnus is launched?).
As I split up my gnus config to have only personal information in my
.gnus.el and keep the other stuff, like adding the handlers, elsewhere,
I used (eval-after-load "gnus" 'load-my-gnus-config) which apparently
resulted in `gnus-demon-init' being run at some suboptimal time.
Long story short, this reliably made the demon work for me:
--8<---------------cut here---------------start------------->8---
(add-hook 'gnus-started-hook 'gnus-demon-init)
--8<---------------cut here---------------end--------------->8---
Also, I use different handlers to get news by group-level; I poll my
imap server way more often than gmane. I can post the setup if anyone's
interested.
--
Philipp Haselwarter
next prev parent reply other threads:[~2011-01-06 17:12 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-22 6:47 Noorul Islam K M
2010-12-22 7:49 ` Tassilo Horn
2010-12-22 8:49 ` Noorul Islam K M
2011-01-03 11:58 ` Noorul Islam K M
2011-01-04 0:02 ` Lars Magne Ingebrigtsen
2011-01-04 5:58 ` Noorul Islam K M
2011-01-04 11:34 ` Adam Sjøgren
2011-01-04 12:06 ` Noorul Islam K M
2011-01-04 12:56 ` Adam Sjøgren
2011-01-04 13:13 ` Robert Pluim
2011-01-04 14:22 ` Adam Sjøgren
2011-01-04 14:47 ` Adam Sjøgren
2011-01-04 16:56 ` Tassilo Horn
2011-01-04 18:02 ` Adam Sjøgren
2011-01-06 17:12 ` Philipp Haselwarter [this message]
2011-01-09 14:28 ` Noorul Islam
2011-01-04 7:54 ` Tassilo Horn
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=87r5cq3qjh.fsf@nzebook.haselwarter.org \
--to=philipp.haselwarter@gmx.de \
--cc=ding@gnus.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).