From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46998 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Do nnmail-split-fancy-with-parent for nnimap? Date: Sun, 06 Oct 2002 00:41:35 +0200 Organization: University of Dortmund, Germany Sender: owner-ding@hpc.uh.edu Message-ID: <87y99cik4g.fsf@crybaby.cs.uni-dortmund.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033857744 19048 127.0.0.1 (5 Oct 2002 22:42:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 5 Oct 2002 22:42:24 +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 17xxct-0004x3-00 for ; Sun, 06 Oct 2002 00:42:23 +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 17xxcP-00047R-00; Sat, 05 Oct 2002 17:41:53 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 05 Oct 2002 17:42:34 -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 RAA08479 for ; Sat, 5 Oct 2002 17:42:22 -0500 (CDT) Original-Received: (qmail 13775 invoked by alias); 5 Oct 2002 22:41:36 -0000 Original-Received: (qmail 13770 invoked from network); 5 Oct 2002 22:41:36 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 5 Oct 2002 22:41:36 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17xyNy-00082E-00 for ; Sun, 06 Oct 2002 01:31:02 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 30 Original-NNTP-Posting-Host: pd9e1eed0.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1033860662 26134 217.225.238.208 (5 Oct 2002 23:31:02 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 5 Oct 2002 23:31:02 GMT User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:XocRRiJOP0pnLzSIxTRzCD8mOJc= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46998 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46998 In principle, it should be possible to use nnmail-split-fancy-with-parent for nnimap, too. But there are some issues, and I'm looking for ideas about them and about issues I missed. nnmail-cache-insert looks for the "primary mail backend" and only inserts the group name without server name. My idea was to extend this mechanism to record which server the group is in. Now the cache lines are msg id, then tab, then group. I could add another tab and then the server. That would make the format backward-compatible. The code would assume the primary mail backend for lines missing the server. I guess that nnmail-split-fancy-with-parent should somehow find out the current backend and then ignore all the lines with the wrong backend. Right? How would nnmail-split-fancy-with-parent find out the current backend? (Especially given that it might be called from nnmail-split-methods as well as nnimap-split-rule!) It would be really cool if ~/.nnmail-cache was stored on the server somehow. Is there a way to store data like this alongside IMAP mail on a server? Hm. Actually I'm going to be really really really really busy starting in a couple of days, so I'm afraid this might be no more than some wishful thinking and day-dreaming :-| kai -- ~/.signature is: umop ap!sdn (Frank Nobis)