From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77893 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP and IDLE... Date: Thu, 17 Mar 2011 12:31:17 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <8762rh4psq.fsf@lifelogs.com> References: <87k4fzxjbp.fsf@lifelogs.com> <878vwfxi3d.fsf@gandalf.home.thebuble.org> <87hbb3w35i.fsf@lifelogs.com> <87y64eucju.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300383317 31898 80.91.229.12 (17 Mar 2011 17:35:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2011 17:35:17 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26211@lists.math.uh.edu Thu Mar 17 18:35:13 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 1Q0H6O-0001He-NI for ding-account@gmane.org; Thu, 17 Mar 2011 18:35:13 +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 1Q0H6N-0001oM-NQ; Thu, 17 Mar 2011 12:35:11 -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 1Q0H6M-0001o5-9s for ding@lists.math.uh.edu; Thu, 17 Mar 2011 12:35:10 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q0H6I-0001GI-AQ for ding@lists.math.uh.edu; Thu, 17 Mar 2011 12:35:10 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q0H6H-0007ei-Jc for ding@gnus.org; Thu, 17 Mar 2011 18:35:05 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q0H6H-0001F7-B6 for ding@gnus.org; Thu, 17 Mar 2011 18:35:05 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Mar 2011 18:35:05 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Mar 2011 18:35:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:LqR2vHRjYyxnUjyrx6aLFe3/gc0= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77893 Archived-At: On Thu, 17 Mar 2011 18:18:25 +0100 Lars Magne Ingebrigtsen wrote: LMI> Ted Zlatanov writes: >> Maybe a nnimap backend variable of "IDLE-handler" would be nice. It >> would receive a list of the new raw message bodies and then the user can >> decide what to do by customizing that handler. So we can provide >> pre-defined defaults: >> >> for (1), 'run-splits >> for (2), 'update-INBOX >> for (3), a custom lambda or symbol >> >> That way you can implement the IDLE functionality without worrying about >> writing all the rest of the code immediately. LMI> Yup; I think that's the way to go. I am actually not sure if the whole body needs to be transferred (I'd like it but others may not). Does IDLE offer granularity or is it just one mode where you get everything? Anyhow, I hope you have time to do this at some point. Ted