From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9268 Path: main.gmane.org!not-for-mail From: visigoth@naiad.fac.cs.cmu.edu Newsgroups: gmane.emacs.gnus.general Subject: Re: Getting/setting group parameters/info from backends. Date: 02 Jan 1997 15:50:00 -0500 Sender: visigoth@naiad.fac.cs.cmu.edu Message-ID: References: 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 1035149317 17401 80.91.224.250 (20 Oct 2002 21:28:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:28:37 +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 NAA29388 for ; Thu, 2 Jan 1997 13:10:34 -0800 Original-Received: from naiad.fac.cs.cmu.edu (NAIAD.FAC.CS.CMU.EDU [128.2.191.173]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Thu, 2 Jan 1997 21:50:07 +0100 Original-To: ding@ifi.uio.no In-Reply-To: Lars Magne Ingebrigtsen's message of 02 Jan 1997 16:18:38 +0100 Original-Lines: 78 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:9268 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9268 Old business: Lars Magne Ingebrigtsen writes: > Why do you need to store that information in the group info? Most > other backends store information they need in separate files. I > realize that this may be a pain to do with IMAP, since that would make > things much less portable, but can't you store that in a special > folder on the IMAP server or something? (I know nothing about IMAP, > so just bonk me on the head if I'm raving here...) Hmm. I was just trying to find a conveniet place to shove it, actually. I was lazy and didn't want to go through the trouble of making up some sort of separate file to store the info, though I considered it. The real problem is that this number that gets stored is intimately related with the message numbers in the group file. Without the base uid, message numbers are meaningless. In any case--why have two files when you can have one? As far as putting stuff on the server--I can stow stuff away on the ACAP server, and I'm considering doing so. Problem with that for right now is that the protocols for IMSP/ACAP are in great flux, and there's no (ahem) server out there for ACAP yet. I also just wanted something quick. > The nntp backend just has `nntp-current-group' that says what the > current group is. The nnoo stuff will switch between various virtual > servers for you, so that's no problem. Yeah--I'm keeping track of stuff in a similar way. Just trying to keep all my bases covered. > > The list appears to be down for now--but I look forward to input when > > it comes back up. > > Has it been down? Eeek! Could have been some net problem on my side, too, but the machine the MX record for ifi.uio.no points to wasn't responding to SMTP for some days, nor was www.ifi.uio.no talking HTTP. But it's all better now. > You can call `gnus-group-set-parameter' directly, but that's somewhat > naughty... Let's see. Right now I'm searching through the gnus-newsrc-alist to find the group, and if I find it, I'm destructively modifying it to include my information. I threw this in (again out of laziness) to avoid fetching the information multiple times--the first time I need it, I put it into the group info. I assume this way is even more naughty? > That's what you're supposed to do -- the return value is just > discarded. The documentation here was *very* unclear; I've now fixed > it. Okay. Good to know. :) Thanks for updating the info. New business: It's well known that native methods and foreign methods are treated differently, but I'm not sure I understood exactly how differently. For some reason, if I set up nnimap as the native method, Gnus decides that there are no messages in any group. I'm not actually sure why. By watching debugging output, I've noticed some things. First, it seems like getting the active list is the primary method Gnus uses to get information about groups on a native server, whereas request-group is used to get info from foregin groups. I've also not been able to figure out exactly when update-info is called for native groups, if at all. I'm having fun hacking on this, in any case. I'm going to try to have an alpha of nnimap.el available for ftp by Saturday, for anyone who's interested. John.