From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24266 Path: main.gmane.org!not-for-mail From: Colin Rafferty Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus and NoCeM. Date: 15 Jul 1999 15:05:05 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161862 7783 80.91.224.250 (21 Oct 2002 00:57:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:57:42 +0000 (UTC) Keywords: gnus-group-new-mail-list,nnml,nocem,method,group Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA01905 for ; Thu, 15 Jul 1999 15:06:47 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB15555; Thu, 15 Jul 1999 14:06:28 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 15 Jul 1999 14:06:50 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id OAA04661 for ; Thu, 15 Jul 1999 14:06:38 -0500 (CDT) Original-Received: from hqinbh2.ms.com (hqinbh2.ms.com [205.228.12.72]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA01875 for ; Thu, 15 Jul 1999 15:05:34 -0400 (EDT) Original-Received: (from uucp@localhost) by hqinbh2.ms.com (8.8.6/fw v1.30) id PAA05912 for ; Thu, 15 Jul 1999 15:05:28 -0400 (EDT) Original-Received: from unknown(144.14.9.190) by hqinbh2 via smap (4.1) id xma005882; Thu, 15 Jul 99 15:05:06 -0400 Original-Received: from sag3 (sag3.morgan.com [144.14.8.198]) by safid1.morgan.com (8.8.5/hub+ldap v2.3) with ESMTP id PAA20780 for ; Thu, 15 Jul 1999 15:05:06 -0400 (EDT) Original-Received: (craffert@localhost) by sag3 (980427.SGI.8.8.8/sendmail.cf.client v1.05) id PAA97249; Thu, 15 Jul 1999 15:05:06 -0400 (EDT) Original-To: GNUS Mailing List Mail-Copies-To: never X-Attribution: > 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: I'm CONTROLLED by the CIA!! EVERYONE is controlled by the CIA!! In-Reply-To: Ken McGlothlen's message of "Thu, 15 Jul 1999 10:59:42 -0700 (PDT)" Original-Lines: 59 User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) XEmacs/21.2 (Chiyoda) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24266 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24266 Ken McGlothlen writes: > 1. Is there a way to run NoCeM asynchronously? (gnus-demon-add-nocem) Since you have a DSL link, I asume you have a full-time connection, so the nocem can take place all day long (as long as emacs is up). > 3. Is there an easy way to divide up the gnus-group-get-new-news function > into two functions: gnus-group-get-new-news (which obeys NoCeM) and > gnus-group-get-new-mail (which doesn't)? (This doesn't matter if > either 1 or 2 can be answered in the positive.) I wrote this function to do exactly that. I bind it to C-M-g. Note that this only works for nnml backends (though I'm sure it can be easily converted to other nn*). (defun gnus-group-get-new-nnml () "Get new mail only." (interactive) (let ((gnus-group-new-mail-list nil) (method '(nnml "")) (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))) (when (gnus-check-server method) (gnus-request-scan nil method)) (while gnus-group-new-mail-list (let ((gnus-group-marked (mapcar '(lambda (group) (concat "nnml:" group)) gnus-group-new-mail-list))) (setq gnus-group-new-mail-list (cdr 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) (run-hooks 'gnus-after-getting-new-news-hook) (gnus-group-list-groups))) > However, I should point out that I'm gradually incorporating my email (finally) > into Gnus, and dang, I love this thing. Only 80 more old mailfolders and a > LOT of procmail recipes to go. :) Don't forget that your old folders can be just viewed with nnfolder, and you can just continute using nnfolder as your backend. If you want to actually convert them to nnml, you can `G f' the file in *Group*, then in *Summary*, `C-c C-s C-n', followed by `9999 #', followed by `B c'. Of course, first you need to convert your procmail to nnmail-split. -- Colin