From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61513 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Lars_Tobias_B=F8rsting?= Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap check for new mail in the background Date: Tue, 13 Dec 2005 16:01:51 +0100 Message-ID: <83acf5f3c0.fsf@ntnu.no> References: <87irtzhs6x.fsf@ntnu.no> Reply-To: ding@gnus.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1134486261 10789 80.91.229.2 (13 Dec 2005 15:04:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2005 15:04:21 +0000 (UTC) Original-X-From: ding-owner+m10045@lists.math.uh.edu Tue Dec 13 16:04:04 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EmBgB-0008TS-97 for ding-account@gmane.org; Tue, 13 Dec 2005 16:02:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EmBg3-0002IC-00; Tue, 13 Dec 2005 09:02:51 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EmBf9-0002I6-00 for ding@lists.math.uh.edu; Tue, 13 Dec 2005 09:01:55 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1EmBf7-0006jm-9k for ding@lists.math.uh.edu; Tue, 13 Dec 2005 09:01:55 -0600 Original-Received: from fri.itea.ntnu.no ([129.241.7.60]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EmBf6-00048y-00 for ; Tue, 13 Dec 2005 16:01:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by fri.itea.ntnu.no (Postfix) with ESMTP id 6133B8170 for ; Tue, 13 Dec 2005 16:01:52 +0100 (CET) Original-Received: from localhost.localdomain (dhcp-75169.itea.ntnu.no [129.241.75.169]) by fri.itea.ntnu.no (Postfix) with ESMTP for ; Tue, 13 Dec 2005 16:01:52 +0100 (CET) Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org In-Reply-To: (Simon Josefsson's message of "Sat, 10 Dec 2005 12:39:02 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/23.0.0 (gnu/linux) X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61513 Archived-At: Simon Josefsson writes: > Historically, the reason for the "update info" message was that your > groups' server method (type `G e' on the group in the *Group* buffer) > said (nnimap "foo") rather than "nnimap:foo". Changing the former > into to the latter would solve the problem. OK, I changed all my groups to "nnimap:foo" now. > It should not print the "Updating info" messages -- that will be much > slower than regular new mail checking. It should only say "Quickly > checking mailbox foo", for each nnimap mailbox. It isn't saying "Quickly checking mailbox foo", it says "nnimap: Checking mailboxes...". It is also approximatelyten thousand times faster than before, so thanks a lot! :-) > However, recently (perhaps last month) I have noticed that Gnus CVS > say "Updating info" for me too. Not always, but sometimes. So I > think we have another bug. So, it doesn't say "Updating info" anymore after I changed to "nnimap:foo". > Lars Tobias B=F8rsting writes: > >> Is it possible to do new mail checking in a separate thread that runs >> in the background, so that it doesn't lock up the interface? If not, >> is it hard to implement such a feature? > > It should be possible. Implement something run with the idle timer > and iterate over all groups. The problem is in informing Gnus about > the update -- there is no clean API to do that. It could be added, > but I don't know how. Would it be possible to do what gnus-group-get-new-news-this-group does when updating each modified group? --=20 Regards, Lars Tobias