From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74563 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C5=81ukasz?= Stelmach Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP IDLE command Date: Wed, 01 Dec 2010 02:05:30 +0100 Message-ID: <87wrnu2tgl.fsf%lukasz.stelmach@iem.pw.edu.pl> References: <87zkst74to.fsf@kotik.lan> <87sjyj24iz.fsf@pcuds33.cern.ch> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1291165613 27379 80.91.229.12 (1 Dec 2010 01:06:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Dec 2010 01:06:53 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22922@lists.math.uh.edu Wed Dec 01 02:06:49 2010 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 1PNb9l-00063t-Jp for ding-account@gmane.org; Wed, 01 Dec 2010 02:06:49 +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 1PNb8p-0001En-Gh; Tue, 30 Nov 2010 19:05:51 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PNb8m-0001EW-Mj for ding@lists.math.uh.edu; Tue, 30 Nov 2010 19:05:48 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PNb8k-0001Rl-Cb for ding@lists.math.uh.edu; Tue, 30 Nov 2010 19:05:48 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PNb8j-0005bs-00 for ; Wed, 01 Dec 2010 02:05:45 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PNb8g-0005ih-Kb for ding@gnus.org; Wed, 01 Dec 2010 02:05:42 +0100 Original-Received: from 87-205-242-8.adsl.inetia.pl ([87.205.242.8]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Dec 2010 02:05:42 +0100 Original-Received: from lukasz.stelmach by 87-205-242-8.adsl.inetia.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Dec 2010 02:05:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 87-205-242-8.adsl.inetia.pl User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:hOkKy6zKojoyN76Wmlnj5uj5fuI= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74563 Archived-At: Tibor Simko writes: > On Mon, 29 Nov 2010, Lars Magne Ingebrigtsen wrote: >> Nope. Gnus really doesn't have any sort of mechanism for getting >> updates from the servers asynchronously. But it'd be nice if it did. [...] > A use case would go like this: instead of helping user to decide whether > to do `g' (as in the case of IMAP IDLE), one would do `g' periodically > anyway (e.g. via daemon), and if certain conditions are met for certain > articles, notification would get displayed for each interesting article. > (Could be all incoming ones, could be an interesting subset only.) I don't like the idea of automatic `g' it may work if you've got fat cable and few servers you pull mail from. Today I've got something like five IMAP servers configured and two POP3 accounts and a full `g' takes about 10 seconds if IMAP connections have been closed. I would not be happy with a 10s delay when I am coding. That's why I think IMAP IDLE is such a good thing. If you do not use server side splitting (procmail, sieve etc.) you alway get your inbound mail in the INBOX. There is no need to watch for more than one folder and it is enough you get a flag next to the INBOX group in the *Group* buffer indicating that a new mail is ready for `M-g'. It's quite late here so I won't go furher. -- Miłego dnia, Łukasz Stelmach