From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77826 Path: news.gmane.org!not-for-mail From: Olivier Sirven Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP and IDLE... Date: Wed, 16 Mar 2011 15:13:00 +0100 Message-ID: <87hbb3xifn.fsf@gandalf.home.thebuble.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300284810 9960 80.91.229.12 (16 Mar 2011 14:13:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Mar 2011 14:13:30 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26145@lists.math.uh.edu Wed Mar 16 15:13:26 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 1PzrTa-0001wY-0W for ding-account@gmane.org; Wed, 16 Mar 2011 15:13:26 +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 1PzrTU-0001Ww-Sz; Wed, 16 Mar 2011 09:13:20 -0500 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 1PzrTT-0001WS-1M for ding@lists.math.uh.edu; Wed, 16 Mar 2011 09:13:19 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PzrTO-00049l-Pr for ding@lists.math.uh.edu; Wed, 16 Mar 2011 09:13:18 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PzrTO-0006Tq-2z for ding@gnus.org; Wed, 16 Mar 2011 15:13:14 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PzrTN-0001qD-PL for ding@gnus.org; Wed, 16 Mar 2011 15:13:13 +0100 Original-Received: from home.thebuble.org ([88.160.208.28]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Mar 2011 15:13:13 +0100 Original-Received: from the.slaa by home.thebuble.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Mar 2011 15:13:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: home.thebuble.org User-Agent: Gnus/5.110013 (No Gnus v0.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:zG0dGwksd1aXav1PvHIM9nSHh6s= X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77826 Archived-At: On 2011-03-16 12:31:00, Lars Magne Ingebrigtsen wrote: > But here's my idea: We could open an extra connection to every IMAP > server (that we're doing client splits on). We issue an IDLE on the > INBOX. If the connection goes away, we don't do anything asynchronously. > But otherwise, every time we get a new message in the INBOX, we run it > through the normal splitting methods and update the group buffer. > > Since this will mostly be splitting one single message at a time, and we > only download the headers to do the splitting, this can probably be done > without hanging Emacs too badly. It would be a great feature to have (at least for me). I receive about 5K/6K mails a day in my IMAP INBOX and it's a real pain each time I refresh my group buffer. During work days I do it manually (maybe once every 10mn) and I have to wait for 1mn before being able to use my emacs again. I coded an autochecker to do it automatically every 5mn that I can easily launch when I need to because after 2 days without any refresh I would have to wait for 5mn before being able to use emacs again (that time drastically went down with the new nnimap implementation though). So if I can just drop that macro and have an async gnus checking my emails and doing the splitting word everytime I receive a new email and leaving my emacs usable it would be just the best thing in the world ;) That being said it would be quite useful to be able to specify the list of IMAP folders that needs an IDLE command to be issued from time to time. -- Olivier