From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66042 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Patch submission: Allow group-local mail sources for nnmail Date: Fri, 04 Jan 2008 12:59:04 +0100 Message-ID: References: <86y7b7xeqp.fsf@lifelogs.com> <86r6gyvlj4.fsf@lifelogs.com> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199448035 22866 80.91.229.12 (4 Jan 2008 12:00:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2008 12:00:35 +0000 (UTC) Cc: ding@gnus.org To: Michael Sperber Original-X-From: ding-owner+M14535@lists.math.uh.edu Fri Jan 04 13:00:55 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JAlEH-0001zH-8E for ding-account@gmane.org; Fri, 04 Jan 2008 13:00:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JAlDd-00068C-Kv; Fri, 04 Jan 2008 06:00:09 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JAlDb-00067u-PB for ding@lists.math.uh.edu; Fri, 04 Jan 2008 06:00:07 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JAlDa-0002NV-4w for ding@lists.math.uh.edu; Fri, 04 Jan 2008 06:00:07 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JAlDZ-0001vU-00 for ; Fri, 04 Jan 2008 13:00:05 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m04C01p8010846; Fri, 4 Jan 2008 13:00:02 +0100 (MET) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 46DE212DD3; Fri, 4 Jan 2008 13:00:01 +0100 (CET) X-Face: .*T0'iU(sujq_j9\J>-d4fg;N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Followup-To: Michael Sperber , ding@gnus.org In-Reply-To: (Michael Sperber's message of "Fri, 04 Jan 2008 08:24:19 +0100") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-DCC-CTc-dcc2-Metrics: poseidon 1031; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66042 Archived-At: On Fri, Jan 04 2008, Michael Sperber wrote: > Ted Zlatanov writes: >> Could you add an example of a mail-source use to the manual, as >> both the actual setting you'd use, and what it does? > > Like so? Clearer than before. > --snip-- > The @code{mail-sources} is global for all mail groups. You can specify > an additional mail source for a particular group by including the > @code{group} mail specifier in @code{mail-sources}, and setting a > @code{mail-source} group parameter (@pxref{Group Parameters}) specifying > a single mail source. When this is used, @code{mail-sources} is > typically just @code{(group)}; the @code{mail-source} parameter for a > group might look like this: > > @lisp > (mail-source . (file :path "home/user/spools/foo.spool") > (group) > @end lisp Missing ")" (in the first line?). I don't understand the "(group)" here. I would have thought "(group)" must appear in the `mail-sources' variable, but not in the group parameter. > This means that the group's (and only this group's) messages will be > fetched from the spool file @code{home/user/spools/foo.spool}. > --snip-- This should probably read @samp{/home/user/spools/foo.spool} (absolute file name and @samp{}). I think when using a `file' mail source in the group parameter, a similar setup can already be achieved using a `directory' mail source (though it doesn't allow fetching only a single source). But you mentioned that you fetch from several IMAP folders to local (nnml?) groups. i.e. you need to add a full `imap' mail source for each group or do you use some function or macro for the setup? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/