From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75626 Path: news.gmane.org!not-for-mail From: Noorul Islam Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-demon question Date: Sun, 9 Jan 2011 19:58:37 +0530 Message-ID: References: <87sjxqe23b.fsf@noorul.maa.corp.collab.net> <87k4ilyzv7.fsf@noorul.maa.corp.collab.net> <877hekj42b.fsf@topper.koldfront.dk> <87k4ikrhz9.fsf@noorul.maa.corp.collab.net> <8739p8j08q.fsf@topper.koldfront.dk> <87vd24hhp4.fsf@topper.koldfront.dk> <87lj30boa2.fsf@member.fsf.org> <87ipy4sg1v.fsf@topper.koldfront.dk> <87r5cq3qjh.fsf@nzebook.haselwarter.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1294583342 1515 80.91.229.12 (9 Jan 2011 14:29:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 9 Jan 2011 14:29:02 +0000 (UTC) Cc: "ding@gnus.org" To: Philipp Haselwarter Original-X-From: ding-owner+M23977@lists.math.uh.edu Sun Jan 09 15:28:57 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PbwGO-0001db-IS for ding-account@gmane.org; Sun, 09 Jan 2011 15:28:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PbwGF-0003wL-U4; Sun, 09 Jan 2011 08:28:47 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PbwGE-0003w8-Bm for ding@lists.math.uh.edu; Sun, 09 Jan 2011 08:28:46 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PbwGD-0003Np-8Y for ding@lists.math.uh.edu; Sun, 09 Jan 2011 08:28:45 -0600 Original-Received: from mail-yi0-f44.google.com ([209.85.218.44]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PbwGC-0007zO-09 for ding@gnus.org; Sun, 09 Jan 2011 15:28:44 +0100 Original-Received: by yie19 with SMTP id 19so5745874yie.17 for ; Sun, 09 Jan 2011 06:28:37 -0800 (PST) Original-Received: by 10.151.100.5 with SMTP id c5mr28015962ybm.316.1294583317671; Sun, 09 Jan 2011 06:28:37 -0800 (PST) Original-Received: by 10.150.157.19 with HTTP; Sun, 9 Jan 2011 06:28:37 -0800 (PST) In-Reply-To: <87r5cq3qjh.fsf@nzebook.haselwarter.org> X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75626 Archived-At: On Thursday, January 6, 2011, Philipp Haselwarter wrote: > 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. > Yes, I would like to take a look. -Noorul