From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66043 Path: news.gmane.org!not-for-mail From: Michael Sperber Newsgroups: gmane.emacs.gnus.general Subject: Re: Patch submission: Allow group-local mail sources for nnmail Date: Fri, 04 Jan 2008 13:28:27 +0100 Message-ID: References: <86y7b7xeqp.fsf@lifelogs.com> <86r6gyvlj4.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1199449741 28839 80.91.229.12 (4 Jan 2008 12:29:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2008 12:29:01 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M14536@lists.math.uh.edu Fri Jan 04 13:29:20 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 1JAlfr-0005fg-TE for ding-account@gmane.org; Fri, 04 Jan 2008 13:29:20 +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 1JAlf8-0006IM-Hr; Fri, 04 Jan 2008 06:28:34 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JAlf7-0006I4-7L for ding@lists.math.uh.edu; Fri, 04 Jan 2008 06:28:33 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JAlf5-00052S-O6 for ding@lists.math.uh.edu; Fri, 04 Jan 2008 06:28:32 -0600 Original-Received: from h615406.serverkompetenz.net ([81.169.143.132]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JAlf5-0002IX-00 for ; Fri, 04 Jan 2008 13:28:31 +0100 Original-Received: from h615406.serverkompetenz.net (localhost [127.0.0.1]) by h615406.serverkompetenz.net (Postfix) with ESMTP id 0251A171D2 for ; Fri, 4 Jan 2008 13:28:30 +0100 (MET) Original-Received: from valmont.local (p5B207C5E.dip.t-dialin.net [91.32.124.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by h615406.serverkompetenz.net (Postfix) with ESMTP id C3600171D1 for ; Fri, 4 Jan 2008 13:28:29 +0100 (MET) Original-Received: by valmont.local (Postfix, from userid 2246) id 87C91492605; Fri, 4 Jan 2008 13:28:27 +0100 (CET) In-Reply-To: (Reiner Steib's message of "Fri, 04 Jan 2008 12:59:04 +0100") User-Agent: Gnus/5.110007 (No Gnus v0.7) XEmacs/21.5-b28 (darwin) X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66043 Archived-At: Reiner Steib writes: > 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. Cut-n-pasto. Sorry. --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")) @end lisp This means that the group's (and only this group's) messages will be fetched from the spool file @samp{/user/spools/foo.spool}. --snip-- > 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). Yes, that's what I was using before. I thought a `file' specifier would make for a simpler example. > 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? I specify a full source. --=20 Cheers =3D8-} Mike Friede, V=F6lkerverst=E4ndigung und =FCberhaupt blabla