From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9260 Path: main.gmane.org!not-for-mail From: visigoth@naiad.fac.cs.cmu.edu Newsgroups: gmane.emacs.gnus.general Subject: Partially implemented feature. Date: 30 Dec 1996 02:58:11 -0500 Sender: visigoth@naiad.fac.cs.cmu.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.93) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035149311 17368 80.91.224.250 (20 Oct 2002 21:28:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:28:31 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.4/8.8.4) with SMTP id IAA18997 for ; Mon, 30 Dec 1996 08:16:41 -0800 Original-Received: from maud.ifi.uio.no (0@maud.ifi.uio.no [129.240.64.19]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Mon, 30 Dec 1996 09:10:07 +0100 Original-Received: from naiad.fac.cs.cmu.edu (NAIAD.FAC.CS.CMU.EDU [128.2.191.173]) by maud.ifi.uio.no ; Mon, 30 Dec 1996 08:58:38 +0100 Original-To: ding@ifi.uio.no Original-Lines: 43 X-Mailer: Red Gnus v0.76/XEmacs 19.14 Source-Info: Sender is really visigoth@naiad.fac.cs.cmu.edu Xref: main.gmane.org gmane.emacs.gnus.general:9260 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9260 I've written code that extracts the base UID for an IMAP group from the Group parameters. This way I can get at the info before I'm given the group-info to mung. I figured that the race between when I use that information and when I get to mung (and at that point store) the information is something I could deal with for now. Unfortunately, when I wrote my munging code, I noticed that absolutely nothing is happening to the information returned from nnimap-request-update-info. The documentation describes it as being a filter. In any case, this is a problem, and there are several layers of stuff between when the info gets passed into the guts of Gnus and when it gets to my routines, and then comes back again, and I don't trust my knowledge of the internals well enough to muck with that right now. I've made my code adjust the group-info destructively for now, and I don't know how safe that is. But it is, at the least, working quite well for me. If I could only figure out a way to get 11000 group-lines out of an IMAP server without taking five minutes, I'd be happy. I'm considering making available the default behavior for nnimap to snarf down information only about groups that are subscribed on the server. For a big server like ours, it's damnably useful. I can also provide tools to let you sub and unsub from inside emacs, but I'm not sure about inside Gnus. Another possibility is to make multiple virtual servers--a virtual server can describe what subset of the group on the server it wants (i.e. "alt.sex.*" would be a pattern for matching certain groups.) Then each server only pulls that subset in. If you have no interest, say, in the local collection of vms.* stuff, you don't include it in your patterns. I'm almost ready to go public with this. Any comments? (It supports, just so you know, IMAP4rev1--not IMAP anything older. I may add support for older stuff when I get a chance.) John.