From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18566 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE Newsgroups: gmane.emacs.gnus.general Subject: Re: MIME composition (was: Storing the group a message has been written to) Date: 13 Nov 1998 23:08:09 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035157068 6841 80.91.224.250 (20 Oct 2002 23:37:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:37:48 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id RAA28123 for ; Fri, 13 Nov 1998 17:09:07 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id QAB08151; Fri, 13 Nov 1998 16:08:49 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 13 Nov 1998 16:08:30 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id QAA04298 for ; Fri, 13 Nov 1998 16:08:21 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id RAA28106 for ; Fri, 13 Nov 1998 17:08:12 -0500 (EST) Original-Received: from ramses.informatik.uni-dortmund.de (ramses.cs.uni-dortmund.de [129.217.20.180]) by waldorf.cs.uni-dortmund.de with SMTP id XAA02403 for ; Fri, 13 Nov 1998 23:08:10 +0100 (MET) Original-Received: (grossjoh@localhost) by ramses.informatik.uni-dortmund.de id XAA06300; Fri, 13 Nov 1998 23:08:09 +0100 Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "13 Nov 1998 19:47:12 +0100" Original-Lines: 54 User-Agent: Gnus/5.070042 (Pterodactyl Gnus v0.42) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:18566 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:18566 Lars Magne Ingebrigtsen writes: > Kai.Grossjohann@CS.Uni-Dortmund.DE writes: > > > (1) This is truly horrible, one should not depend on such an > > obfuscated fact. Any suggestions for improving this? > > We could document it, and rename the variable to something > reasonable. That's a great way to remove a bug and add a feature :-) How about gnus-command-group, to go with gnus-command-method? There's another tiny problem: nnfolder-save-mail uses GROUP-ART-LIST rather than GROUP-ART, which is what all the other nnchoke-save-mail functions use. But the structure of the parameter suggests that GROUP-ART-LIST is a more appropriate name... And a question: I did a bit of tracing, and apparently, GROUP-ART always contains exactly one cons cell when nnmail-cache-insert is called. (Well it did in all of the two cases I looked at...) So I just use the first one in the list. > > (2) The group name is not unique. Sometimes the group name is > > `drafts' which comes from the nndraft server, sometimes the group > > name comes from the normal nnml server. I want to use this for > > mail splitting. Mail splitting deals with one backend only. > > Thus, I would need to find out whether the group concerned is from > > that backend and to ignore it if it doesn't come from the backend > > where mail splitting is done. > > Yes. The mail fetching/splitting this is going to be redone, so > that instead of each mail backend trying to slurp in as much mail > as possible, there should be one slurping instance that dispathes > the mail to the backends where they should go. > > Should I do that next, or is MIME composition more important? Hm. I could add a kludge which finds the right backend most of the time. Here's a guess on finding the right server: For each G in gnus-select-method, gnus-secondary-select-methods do: If (gnus-method-option-p G 'respool) then: Return G Fi Rof Does this have a non-negligible probability of finding the right server? If so, does this sound like a workable interim solution (though solution is surely much too strong a word)? kai -- Life is hard and then you die.