From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12001 Path: main.gmane.org!not-for-mail From: Colin Rafferty Newsgroups: gmane.emacs.gnus.general Subject: Re: slow checking for new mail Date: 08 Sep 1997 11:05:36 -0400 Message-ID: References: <87rab2bntu.fsf@phaedrus.uchicago.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: multipart/mixed; boundary="Multipart_Mon_Sep__8_11:05:36_1997-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035151616 1292 80.91.224.250 (20 Oct 2002 22:06:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:06:56 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.7/8.8.7) with ESMTP id JAA27654 for ; Mon, 8 Sep 1997 09:03:11 -0700 Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with SMTP id KAA02260 for ; Mon, 8 Sep 1997 10:58:39 -0500 (CDT) Original-Received: from wfdutilgw.ml.com (wfdutilf01.ml.com [206.3.74.31]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Mon, 8 Sep 1997 17:06:18 +0200 Original-Received: from ml1.ml.com ([199.201.57.130]) by wfdutilgw.ml.com (8.8.5/8.8.5/MLgw-3.03) with ESMTP id LAA08069 for ; Mon, 8 Sep 1997 11:07:08 -0400 (EDT) Original-Received: from commpost.ml.com (commpost.ml.com [146.125.4.24]) by ml1.ml.com (8.8.5/8.8.5/MLml4-2.07) with SMTP id LAA03922 for ; Mon, 8 Sep 1997 11:05:38 -0400 (EDT) Original-Received: from spssunp.spspme.ml.com (spssunp.spspme.ml.com [192.168.111.13]) by commpost.ml.com (8.6.12/8.6.12) with ESMTP id LAA21963 for ; Mon, 8 Sep 1997 11:05:38 -0400 Original-Received: by spssunp.spspme.ml.com (SMI-8.6/SMI-4.1) id LAA19620; Mon, 8 Sep 1997 11:05:37 -0400 Original-To: (ding) GNUS Mailing List X-Face: y,o:AU/bfCrS+zS/W"^puB!rT!G7?U1Mvp1Hd{6h^>X4@Xp5,|g+rG>4gv/iy^&x9`k#s!]X~{]Js>@A4c}4Z"Ct7=#1nPS:?mrWH8c#>$)>/Wc5yuX_OFO1(4cZM{LvsKWVQSl~/i>!n[-B*i-alq[/m\bsdy;W4p(_ic;$BE.oG@eJf@sr#x#}FT<=H8Ozu%g;JpVz:v_~vt[>ef/MeNeo3~D^R]]*bB7{HB|E1$wfMzw X-Y-Zippy: Am I accompanied by a PARENT or GUARDIAN? In-Reply-To: Lars Magne Ingebrigtsen's message of "08 Sep 1997 12:48:24 +0200" Original-Lines: 54 X-Mailer: Gnus v5.4.65/XEmacs 20.3(beta19) - "Kiev" Xref: main.gmane.org gmane.emacs.gnus.general:12001 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12001 --Multipart_Mon_Sep__8_11:05:36_1997-1 Content-Type: text/plain; charset=US-ASCII Lars Magne Ingebrigtsen writes: > stephen farrell writes: >> Ok... so I wrote a bit about this before--it's really really slow for >> me to check for new mail. I have about 80 nnml groups, nfs mounted, >> which are priority 1. when i punch 1 g, it takes about 10-15 seconds >> to incorperate new mail (even if only 1 new email). > If you have lots of level 1 nnml groups, `1 g' will be slow. nnml > checks each group seperately in these cases. My solution was to have a command that gets that just gets the new mail once, and updates the *Group* lines of the groups that have new mail. This works for nnml only: --Multipart_Mon_Sep__8_11:05:36_1997-1 Content-Type: text/plain; charset=US-ASCII (define-key gnus-group-mode-map [(meta control g)] 'gnus-group-get-new-nnml) (defun gnus-group-get-new-nnml () "Get new mail only." (interactive) (let ((gnus-group-new-mail-list nil) (nnml-prepare-save-mail-hook (cons '(lambda () (setq gnus-group-new-mail-list (union gnus-group-new-mail-list (mapcar 'car group-art)))) nnml-prepare-save-mail-hook))) (nnml-request-scan) (let ((gnus-group-marked (mapcar '(lambda (group) (concat "nnml:" group)) gnus-group-new-mail-list))) (gnus-group-get-new-news-this-group)) (when gnus-goto-next-group-when-activating (gnus-group-next-unread-group 1 t)) (gnus-summary-position-point) (gnus-group-list-groups) gnus-group-new-mail-list)) --Multipart_Mon_Sep__8_11:05:36_1997-1 Content-Type: text/plain; charset=US-ASCII -- Colin --Multipart_Mon_Sep__8_11:05:36_1997-1--