From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2641 Path: news.gmane.org!not-for-mail From: Marcus Frings Newsgroups: gmane.emacs.gnus.user Subject: Re: gnus-demon-scan-mail problems Date: Fri, 20 Jun 2003 13:33:47 +0200 Organization: Schismatrix Message-ID: References: Reply-To: protagonist@gmx.net NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669000 15863 80.91.229.2 (31 Jan 2006 00:56:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:56:40 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:31:00 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!p508ea25a.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: p508ea25a.dip.t-dialin.net (80.142.162.90) Original-X-Trace: fu-berlin.de 1056109210 24332916 80.142.162.90 (16 [127360]) X-Orig-Path: mekong.dyndns.org!not-for-mail Mail-Copies-To: never X-PGP-Key: 0xE10F502E (DH/DSS) X-PGP-Fingerprint: 53FC 5A87 27BE 1D30 FEB4 861A 948F D6A0 E10F 502E X-Face: $[;GBu{%NxxO[]ap?u_JuWQ<;Hc8O^i>>%7gIuh>2i5?~O%$W1EH\0K"H!n?q6&g5JSVC)A@X'TU!$"xjJ*<{#'kt[nMXyQ9b>kb/OK[47]$)$fZEk|zzE)||'G8|^9wN\m]v_oT~3L'vg\+_[EC.VV_DqT1'|mtf,q(~>Z0~ User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:5XE0K0RYy0jN848RawSreUQtwOc= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2781 Original-Lines: 43 X-Gnus-Article-Number: 2781 Tue Jan 17 17:31:00 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2641 Archived-At: * Sam Steingold wrote: >> (setq gnus-use-demon t) > this variable is not mentioned in the gnus sources. Uhm, yes, you are right. I removed this variable. I found this code somewhere on the web, copied it to my gnus setup and it worked from the beginning. Hm, has there ever been a gnus-use-demon variable in older versions of Gnus? >> (defun gnus-demon-scan-news () >> (when (gnus-alive-p) >> (save-excursion >> (set-buffer gnus-group-buffer) >> (gnus-group-get-new-news)))) >> >> (gnus-demon-add-handler 'gnus-demon-scan-news 5 10) >> >> (gnus-demon-init) > > `gnus-demon-add-handler' already calls `gnus-demon-init'. Yes, you are right again. :-) After checking gnus-demon.el I also removed this code from my setup. > now, how do you know that there was new mail? > do you visit the *Group* buffer every 10 minutes? Well, after being done with reading mails and news I just switch back to the group buffer and do other stuff. And if new mails/news arrive the group buffer will be automatically updated. > `gnus-demon-scan-news' does no notification! Well, seeing that new postings arrived in my group buffer is enough notification for me. Having a sound alert might be a nice feature though. Regards, Marcus -- "Intentions not up front and the shit that never faced reflects the sliver of God's face and looped a flaw rotates forever unresolved. Sure to die. I'll think about that."