From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78274 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: Re: mail-sources versus select-methods Date: Thu, 31 Mar 2011 15:34:44 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <87lizv5ro9.fsf@bifteki.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301582085 6002 80.91.229.12 (31 Mar 2011 14:34:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 31 Mar 2011 14:34:45 +0000 (UTC) Cc: ding@gnus.org To: Leonidas Tsampros Original-X-From: ding-owner+M26582@lists.math.uh.edu Thu Mar 31 16:34:40 2011 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.69) (envelope-from ) id 1Q5IxJ-00030u-3z for ding-account@gmane.org; Thu, 31 Mar 2011 16:34:37 +0200 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 1Q5IxB-00016I-Pu; Thu, 31 Mar 2011 09:34:29 -0500 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 1Q5IxA-00015z-18 for ding@lists.math.uh.edu; Thu, 31 Mar 2011 09:34:28 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q5Ix4-0001xX-GZ for ding@lists.math.uh.edu; Thu, 31 Mar 2011 09:34:27 -0500 Original-Received: from mail-wy0-f172.google.com ([74.125.82.172]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q5Ix0-0005rw-07 for ding@gnus.org; Thu, 31 Mar 2011 16:34:20 +0200 Original-Received: by wyb29 with SMTP id 29so3253512wyb.17 for ; Thu, 31 Mar 2011 07:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:in-reply-to:date :organization:message-id:references:user-agent:mime-version :content-type; bh=fPS2g38F7/DUvCfkx3DA8Kl+wTqWYC/UdOpGPH50LNs=; b=FL+kmUu67OyJiHZCChdJDkoNQo3J/I1PUagA08IZGLa5KfBBQp65/JxahZoJ552iQV xCJfoUfuyzgGGKlYbcbVSKuiNEZIsYTLX8xxlWQyBzUG/pnRBe69y3pgdv8XX8XW1siG 3Tzs6cHiac7FXSjP2N7+JrVUQFIGnSl9lAsbA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:in-reply-to:date:organization:message-id :references:user-agent:mime-version:content-type; b=npJhqg9V5weBi1d7Yg0HKzl/MJZrx/zc7+dh1p2YwYyoYnAd+PD3xakfqb+DMfF7D8 vkoeHXbhitvmuksm1c3EY/8c173kjJBuT73id9a81TrClNCik5NSD/y9ShjglJrZNhO9 TL2UGrEUBdfBkqm9+d1oXVE/ntJLnSivQC1Kw= Original-Received: by 10.227.207.21 with SMTP id fw21mr2825007wbb.138.1301582052098; Thu, 31 Mar 2011 07:34:12 -0700 (PDT) Original-Received: from asus1015pem (175.Red-217-126-211.staticIP.rima-tde.net [217.126.211.175]) by mx.google.com with ESMTPS id g7sm684591wby.48.2011.03.31.07.34.10 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 Mar 2011 07:34:11 -0700 (PDT) Original-Received: from shamrock by asus1015pem with local (Exim 4.72) (envelope-from ) id 1Q5I1S-0000Co-Nk; Thu, 31 Mar 2011 15:34:50 +0200 In-Reply-To: <87lizv5ro9.fsf@bifteki.lan> (Leonidas Tsampros's message of "Thu, 31 Mar 2011 16:46:14 +0300") User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/23.2 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78274 Archived-At: Leonidas Tsampros writes: > Richard Riley writes: >> Undoubtedly an incredibly naive question but why would one use >> mail-sources over select-methods? >> > > I think I have the same question my self. However, mail-sources is just > a 'digest' method. What does digest mean in this instance? It can be all sorts including pop3 etc. > > Quoting the docs: > > mail-sources is a variable defined in `mail-source.el'. > Its value is ((directory :path "~/Mail" :suffix "")) > Thats not the docs but rather its current value. See (gnus) Mail Source Specifiers in the gnus manual for more info. But you probably meant that ;) > What I do not understand is which mail backend (if multiple are defined) > is going to consume these mails ? Me neither. My setting is ,---- | mail-sources is a variable defined in `mail-source.el'. | Its value is | ((file :path "/var/spool/mail/shamrock")) `---- I access it via nnml : (add-to-list 'gnus-secondary-select-methods '(nnml "spool" )) You would have no idea how long it took me to get to that ;) I still dont really really understand the connection. Gnus does so much under the cover and makes some really clever guesses at what you want. I think because nnml is a mail backend, it just assumes its fed from mail-sources. A reasonable enough assumption. Which then begs your question. > >> Whats the history here? Is it just historical? Or are the select >> methods simply another layer provided by Gnus to smooth over the >> message.el package? > > I think message.el is just the glue part where mails are composed and > sent out. I'm not source it has anything to do with mail-sources. > > Select methods on the other hand is the backends from which you READ > email. (that's how I understand it, please someone correct me if I'm > wrong) and other stuff such as nntp or google "pseudo" groups (which doesnt work in HEAD btw (G W)).