From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77829 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP and IDLE... Date: Wed, 16 Mar 2011 09:28:25 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87hbb3w35i.fsf@lifelogs.com> References: <87k4fzxjbp.fsf@lifelogs.com> <878vwfxi3d.fsf@gandalf.home.thebuble.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300285830 16210 80.91.229.12 (16 Mar 2011 14:30:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Mar 2011 14:30:30 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26149@lists.math.uh.edu Wed Mar 16 15:30: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 1Pzrjv-0003e0-Uf for ding-account@gmane.org; Wed, 16 Mar 2011 15:30:20 +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 1Pzrjp-0001k6-Oe; Wed, 16 Mar 2011 09:30:13 -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 1Pzrjo-0001jg-1y for ding@lists.math.uh.edu; Wed, 16 Mar 2011 09:30:12 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pzrjj-0004FL-UE for ding@lists.math.uh.edu; Wed, 16 Mar 2011 09:30:11 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pzrji-0006sj-Ic for ding@gnus.org; Wed, 16 Mar 2011 15:30:06 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pzrjh-0003Vy-Rt for ding@gnus.org; Wed, 16 Mar 2011 15:30: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 ; Wed, 16 Mar 2011 15:30:05 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Mar 2011 15:30:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 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:EMYTerpdVeQs0IWAv9wOtZI5YsI= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77829 Archived-At: On Wed, 16 Mar 2011 15:20:22 +0100 Olivier Sirven wrote: OS> On 2011-03-16 14:53:46, Ted Zlatanov wrote: >> I'd rather just see a modeline indicator that I have new mail in INBOX. >> I really don't want Emacs to freeze randomly and "instant" splitting >> doesn't have much value for me (if it did, I'd be using Procmail or >> Sieve on the server side). OS> Sometimes you just don't have the possibility to do server side OS> splitting and all you can do is to do it on the client side My point was that instant splitting is not so useful to me with my current work pattern. That may change. On Wed, 16 Mar 2011 14:58:04 +0100 Lars Magne Ingebrigtsen wrote: LMI> I assume that for people who use client-side splitting, the question "is LMI> there new mail in INBOX?" can be emulated with 99.7% accuracy by this LMI> function: LMI> (defun nnimap-new-mail-p () LMI> t) I'd need a count and to be able to peek at the sender and subject of the INBOX, plus to be able to dump the INBOX messages' body text (without attachments) in a temp buffer. So I can say "oh there's mail... let me peek... no, it's not worth splitting it yet." This is how I work now. I'm not suggesting anyone else needs this, but IMHO it's generally useful. Ted