From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14136 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus works `at it is' but isn't that a coincidence? Date: Thu, 09 Dec 2010 17:07:58 +0100 Message-ID: <87sjy70w0x.fsf@member.fsf.org> References: <8739xq5sy8.fsf@merciadriluca-station.MERCIADRILUCA> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291932181 16227 80.91.229.12 (9 Dec 2010 22:03:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 22:03:01 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Dec 09 23:02:57 2010 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQoZl-0002Jd-3M for gegu-info-gnus-english@m.gmane.org; Thu, 09 Dec 2010 23:02:57 +0100 Original-Received: from localhost ([127.0.0.1]:48541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQoZk-0007Bv-Ar for gegu-info-gnus-english@m.gmane.org; Thu, 09 Dec 2010 17:02:56 -0500 Original-Received: from [140.186.70.92] (port=56458 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQj2e-0005RT-0U for info-gnus-english@gnu.org; Thu, 09 Dec 2010 11:08:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQj2W-0004JM-Sw for info-gnus-english@gnu.org; Thu, 09 Dec 2010 11:08:18 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:35688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQj2W-0004J4-Ex for info-gnus-english@gnu.org; Thu, 09 Dec 2010 11:08:16 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PQj2T-00087X-Si for info-gnus-english@gnu.org; Thu, 09 Dec 2010 17:08:13 +0100 Original-Received: from tsdh.uni-koblenz.de ([141.26.67.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Dec 2010 17:08:13 +0100 Original-Received: from tassilo by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Dec 2010 17:08:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 81 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: tsdh.uni-koblenz.de User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:yBIZk9c/wEq+OvIhjL56dPT/7GM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:14136 Archived-At: Merciadri Luca writes: Hi! First, the link to your emacs init file is broken... > 2. What's the interest of gnus-select-method? Is it the `primary' > method? I think so, but then, what is the interest of defining a > secondary method? What is the difference in their order? I define > > == > (setq gnus-select-method '((nntp "news.stuff.com"))) > (setq gnus-secondary-select-methods '((nnml ""))) > == > > but I do not know what they do exactly. Basically, there's no real difference between the "main" select method and secondary ones. I guess, the former was implemented first, and then someone argued that having many select methods would be good. So the secondary ones were invented in order not to break the existing interface. But that's just a blind guess. Anyway, for you as a user, there are no differences. In fact, I've set my `gnus-select-method' to nnil (a backend that does nothing) and only use secondary select methods. > 6. I use > > == > (setq message-send-mail-function 'smtpmail-send-it); For message-mode > (setq send-mail-function 'smtpmail-send-it); ditto > (setq send-mail-command 'smtpmail-send-it); For mail-mode (Rmail) > == > > but why do I need the three ones to make the whole stuff work? Since Emacs 23.2, you don't need the former, because the default is to send by using smtpmail. The second is needed for mail modes that don't use message-mode. With very recent emacs snapshots, Rmail uses message-mode, too, so that won't be needed. But probably you need it with VM or Wanderlust... The third is totally unneeded. There is no variable send-mail-command at all. ;-) > 7. What's the interest of `my-signature' in > > == > (setq message-signature 'my-signature) > (setq gnus-signature-separator '("^-- $")) > == > ? That variable can be a string (your signature), nil (don't use a signature), a form (eval it and use the result as signature), or a symbol corresponding to some function which is called to produce the signature. So you either have a function `my-signature', or you've stolen an incomplete snippet. ;-) > 8. I set > > == > (setq nntp-authinfo-file ".someauthfile.gpg") > (setq smtpmail-auth-credentials ".someauthfile.gpg") > == > > but what's the difference between them? One applies to nntp only, the latter to smtp. Since Emacs 23.2, you'd normally only set the variable `auth-sources'. > 9. Providing that the whole stuff works as it is, what is the scheme > which is done when I want to fetch e-mails, or when I want to send an > e-mail, both through Gnus? I think, I don't get your question. Bye, Tassilo