From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49807 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: regular and adaptive scoring with nnimap Date: Tue, 04 Feb 2003 16:32:46 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <84u1fwlxj5.fsf@lucy.is.informatik.uni-duisburg.de> <84u1fw7zaw.fsf@lucy.is.informatik.uni-duisburg.de> <4nk7gq8mms.fsf@lockgroove.bwh.harvard.edu> <84wukqtk3c.fsf@lucy.is.informatik.uni-duisburg.de> <4nof5txezm.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044372704 10539 80.91.224.249 (4 Feb 2003 15:31:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 4 Feb 2003 15:31:44 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18g52y-0002jN-00 for ; Tue, 04 Feb 2003 16:31:40 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18g54N-0005aG-00; Tue, 04 Feb 2003 09:33:07 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 04 Feb 2003 09:34:03 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id JAA14371 for ; Tue, 4 Feb 2003 09:33:49 -0600 (CST) Original-Received: (qmail 91151 invoked by alias); 4 Feb 2003 15:32:48 -0000 Original-Received: (qmail 91145 invoked from network); 4 Feb 2003 15:32:48 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by 66.230.238.6 with SMTP; 4 Feb 2003 15:32:48 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.6/8.12.6) with ESMTP id h14FWkeE032174 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 4 Feb 2003 16:32:46 +0100 Original-To: ding@gnus.org Mail-Copies-To: nobody X-Payment: hashcash 1.1 0:030204:ding@gnus.org:eabfc7a3f709543f X-Hashcash: 0:030204:ding@gnus.org:eabfc7a3f709543f In-Reply-To: <4nof5txezm.fsf@lockgroove.bwh.harvard.edu> (Ted Zlatanov's message of "Mon, 03 Feb 2003 15:53:49 -0500") User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 (i386-debian-linux-gnu) X-Face: $uE40g26bSBz:7_i5d,,_~>1,7\~848A:jNZ5WYBRjD@MurE}fc-lA3d@Y}ffA2Lo)W2j-/ |tx$A=HgsJ#kX5+Z%vk=?i>2^a=bVAj|Jd]^_xXbWcd6+I=\bHq{?'7-k%zp'p writes: > I wrote some pieces of code, specifically file creation and listing of > groups on a nnimap server. I'm very slowly working my way through the > file operations - stuff like make-directory is trivial when dealing > with files, but pretty complex with nnimap. Fortunately I can just > ignore most file functionality. > > groups will be mapped to directories > files will be mapped to articles (filename == article number) > the current nnimap server will always be used (good idea? bad idea?) As Kai said, using imap.el directly might be better. nnimap.el is a hack but I like to believe that imap.el isn't as bad. I think nnimap still alters some Gnus internal variables when you enter a group, for instance. OTOH using nnimap might make it easy to generalize the code for any Gnus backend, which could be interesting. > Filenames will have to be numeric. Retrieving an article by subject > is significantly harder. imap.el's `imap-search' is rather powerful; (imap-search "HEADER Message-Id \"mydirectory/myfile.txt\"") should return all UID's for articles with that Subject.