From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75608 Path: news.gmane.org!not-for-mail From: Philipp Haselwarter Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-demon question Date: Thu, 06 Jan 2011 18:12:02 +0100 Message-ID: <87r5cq3qjh.fsf@nzebook.haselwarter.org> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294333998 19969 80.91.229.12 (6 Jan 2011 17:13:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Jan 2011 17:13:18 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23959@lists.math.uh.edu Thu Jan 06 18:13:14 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 1PatOj-0003oY-T8 for ding-account@gmane.org; Thu, 06 Jan 2011 18:13:14 +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 1PatNx-0006yD-MD; Thu, 06 Jan 2011 11:12:25 -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 1PatNw-0006y0-Cw for ding@lists.math.uh.edu; Thu, 06 Jan 2011 11:12:24 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PatNu-00016l-AB for ding@lists.math.uh.edu; Thu, 06 Jan 2011 11:12:23 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PatNs-0007cr-Cj for ding@gnus.org; Thu, 06 Jan 2011 18:12:20 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PatNr-0003A3-K6 for ding@gnus.org; Thu, 06 Jan 2011 18:12:19 +0100 Original-Received: from mna75-3-89-83-43-131.dsl.club-internet.fr ([89.83.43.131]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Jan 2011 18:12:19 +0100 Original-Received: from philipp.haselwarter by mna75-3-89-83-43-131.dsl.club-internet.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Jan 2011 18:12:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: mna75-3-89-83-43-131.dsl.club-internet.fr X-NSA-Fodder: e-bomb BATF Comirex anarchy cypherpunk secure TWA kilderkin X-Emacs-Acronym: Embarrassingly Mundane Advertising Cuts Sales User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:TY/rB5Kr2ZbC/r75q5fczb7eRw4= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75608 Archived-At: 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