From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/11779 Path: main.gmane.org!not-for-mail From: David Moore Newsgroups: gmane.emacs.gnus.general Subject: Re: BUG: NoCeM and foreign groups: does it work? Date: 24 Jul 1997 12:08:01 -0700 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035151436 32473 80.91.224.250 (20 Oct 2002 22:03:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:03:56 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.6/8.8.6) with ESMTP id NAA07092 for ; Thu, 24 Jul 1997 13:06:29 -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 PAA15851 for ; Thu, 24 Jul 1997 15:02:50 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Thu, 24 Jul 1997 21:08:56 +0200 Original-Received: (qmail 11383 invoked by uid 504); 24 Jul 1997 19:08:54 -0000 Original-Received: (qmail 11380 invoked from network); 24 Jul 1997 19:08:52 -0000 Original-Received: from mailbox2.ucsd.edu (132.239.1.54) by claymore.vcinet.com with SMTP; 24 Jul 1997 19:08:50 -0000 Original-Received: from sdnp5.ucsd.edu (sdnp5.ucsd.edu [132.239.79.10]) by mailbox2.ucsd.edu (8.8.5/8.6.9) with SMTP id MAA09444 for ; Thu, 24 Jul 1997 12:08:38 -0700 (PDT) Original-Received: by sdnp5.ucsd.edu (SMI-8.6/SMI-SVR4) id MAA10207; Thu, 24 Jul 1997 12:08:01 -0700 Original-To: ding@gnus.org X-Face: "oX;zS#-JU$-,WKSzG.1gGE]x^cIg!hW.dq>.f6pzS^A+(k!T|M:}5{_%>Io<>L&{hO7W4cicOQ|>/lZ1G(m%7iaCf,6Qgk0%%Bz7b2-W3jd0m_UG\Y;?]}4s0O-U)uox>P3JN)9cm]O\@,vy2e{`3pb!"pqmRy3peB90*2L Mail-Copies-To: never In-Reply-To: roth@cse.ucsc.edu's message of "23 Jul 1997 17:03:57 -0700" Original-Lines: 54 X-Mailer: Gnus v5.4.59/XEmacs 20.3(beta7) - "Oslo" Xref: main.gmane.org gmane.emacs.gnus.general:11779 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:11779 roth@cse.ucsc.edu (Carl D. Roth) writes: > 1. gnus-nocem-scan-groups seems incapable of scanning for NoCeM in > foreign groups. That is, virtual group names in the NoCeM/active > file have the undesired effect of scanning the local version of > the group instead. > > This sounds like a stupid point, but my local news server doesn't > carry all of the NoCeM bulletin groups. > I use the following to scan some foreign groups at a slightly less frequent rate than normal local groups. Since it works, it suggests that foreign groups work also. Actually, i have news.zippo.com as a secondary server, if that makes a difference. (gnus-demon-add-nocem) (gnus-demon-add-handler 'dmoore::gnus-demon-scan-nocem-zippo 120 t) (defun dmoore::gnus-demon-scan-nocem-zippo () (let ((gnus-nocem-groups (mapcar (lambda (x) (concat "nntp+news.zippo.com:" x)) gnus-nocem-groups)) (nntp-nov-is-evil nil)) (save-window-excursion (gnus-nocem-scan-groups) ;; FIX FIX FIX why is this nntp:... ? (gnus-close-server "nntp:news.zippo.com")))) > 3. The real deficiency is in how gnus-nocem-enter-article decides > when a message-id should enter the nocem cache. Basically, unless > one of the groups mentioned in the nocem article matches a > locally-subscribed group, the scan will miss. > > I noticed this problem because I orthogonally set up my newsrc so > that *all* groups are foreign... I watched nocem run for about a > week without matching a single article! > > The way I've worked around points 1. and 3. above is to slightly > modify gnus-nocem-enter-article to match groups out of a *different* > hashtb than gnus-newsrc-hashtb. This new hash table consists of the > gnus-group-real-name mappings of all of the groups in the newsrc. > This way, the nocem groups match up, and I can start accumulating > message-ids. yeah, something like this is a good idea. -- David Moore | Computer Systems Lab __o UCSD Dept. Computer Science - 0114 | Work: (619) 534-8604 _ \<,_ La Jolla, CA 92093-0114 | Fax: (619) 534-1445 (_)/ (_) | In a cloud bones of steel.