From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49798 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: regular and adaptive scoring with nnimap Date: Mon, 03 Feb 2003 15:53:49 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: owner-ding@hpc.uh.edu Message-ID: <4nof5txezm.fsf@lockgroove.bwh.harvard.edu> 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044305606 21184 80.91.224.249 (3 Feb 2003 20:53:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Feb 2003 20:53:26 +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 18fnan-0005VW-00 for ; Mon, 03 Feb 2003 21:53:25 +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 18fnbd-0003Y7-00; Mon, 03 Feb 2003 14:54:17 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 03 Feb 2003 14:55:13 -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 OAA12729 for ; Mon, 3 Feb 2003 14:55:00 -0600 (CST) Original-Received: (qmail 35473 invoked by alias); 3 Feb 2003 20:54:00 -0000 Original-Received: (qmail 35465 invoked from network); 3 Feb 2003 20:54:00 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by 66.230.238.6 with SMTP; 3 Feb 2003 20:54:00 -0000 Original-Received: from lockgroove.bwh.harvard.edu (lockgroove [134.174.9.133]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id h13KrxW16316 for ; Mon, 3 Feb 2003 15:53:59 -0500 (EST) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h13Krns16990; Mon, 3 Feb 2003 15:53:49 -0500 (EST) Original-To: ding@gnus.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: ding@gnus.org In-Reply-To: <84wukqtk3c.fsf@lucy.is.informatik.uni-duisburg.de> (kai.grossjohann@uni-duisburg.de's message of "Mon, 27 Jan 2003 21:26:47 +0100") User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 (sparc-sun-solaris2.8) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49798 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49798 On Mon, 27 Jan 2003, kai.grossjohann@uni-duisburg.de wrote: > Ted Zlatanov writes: > >> If I knew anything about filename handlers, I'd love to write this. >> How hard are they to use? This needs to be integrated with >> nnimap.el pretty tightly, so it should be an interesting module. > > When I wrote Tramp, I just looked at the magic filenames node in the > elisp reference and at the documentation of each function referenced > there. From time to time, I also looked at Ange-FTP to see how it > does things. (That's how I discovered that (0 0) appears to be the > way to express a don't-know value for the mtime, ctime and atime > values returned from file-attributes.) > > It seems intimidating at first, but turns out to be not that > difficult. Well, I'm basically trying to figure things out at this point... 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?) Filenames will have to be numeric. Retrieving an article by subject is significantly harder. I'm currently trying to figure out how to enter the storage nnimap group to store or retrieve an article without affecting variables like gnus-newsgroup-name. Ted