From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45842 Path: main.gmane.org!not-for-mail From: Josh Huber Newsgroups: gmane.emacs.gnus.general Subject: Re: nnmaildir oddities! Date: Fri, 26 Jul 2002 16:06:19 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <87y9byb6f8.fsf@mail.paradoxical.net> References: <877kjtm1vl.fsf@mail.paradoxical.net> <87ofd4hqap.fsf@mail.paradoxical.net> <87heiw6fr0.fsf@mail.paradoxical.net> <87vg7c4wrb.fsf@mail.paradoxical.net> <87n0so4vk3.fsf@mail.paradoxical.net> <87vg7c7mlf.fsf@alum.wpi.edu> <87eldzikav.fsf@alum.wpi.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1027714014 28392 127.0.0.1 (26 Jul 2002 20:06:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 26 Jul 2002 20:06:54 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17YBMT-0007Np-00 for ; Fri, 26 Jul 2002 22:06:53 +0200 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 17YBMM-00039f-00; Fri, 26 Jul 2002 15:06:46 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 26 Jul 2002 15:07:11 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id PAA28915 for ; Fri, 26 Jul 2002 15:06:56 -0500 (CDT) Original-Received: (qmail 21197 invoked by alias); 26 Jul 2002 20:06:21 -0000 Original-Received: (qmail 21192 invoked from network); 26 Jul 2002 20:06:21 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 26 Jul 2002 20:06:21 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17YBbU-0006iN-00 for ; Fri, 26 Jul 2002 22:22:24 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 26 Original-NNTP-Posting-Host: paradoxical.net Original-X-Trace: quimby.gnus.org 1027714944 11014 66.92.73.76 (26 Jul 2002 20:22:24 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 26 Jul 2002 20:22:24 GMT Mail-Copies-To: nobody User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Honest Recruiter, i686-pc-linux) Cancel-Lock: sha1:mWILwYvFieTyCA8rvDGITk9M9KI= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45842 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45842 Simon Josefsson writes: > I didn't follow this thread closely, but respooling in Gnus used > either nnmail internal stuff or some undocumented backend interface, > which explains why it doesn't work for nnimap. Maybe the same > applied to nnmaildir. Documenting the backend interface for > respooling should be possible though, as well as fixing nnimap.el. > Anyone? :) Well, the problem in nnmaildir was that when you call the respool function (and eventually call nnmaildir-request-move-article, I think), it's called with a nil destination group value. In nnml, this triggers a lookup with your split rules, with nnmaildir this triggers the backend to save in the current group. (i.e. where it came from) IMHO, the determination of the destination group should happen much earlier in the game -- doing in buried in each backend is just not the right thing to do. Now, the code was a little hard to follow, so I could be completely off base here. (just to cover my ass! :) later, -- Josh Huber