all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Felix Dietrich <felix.dietrich@sperrhaken.name>
To: help-gnu-emacs@gnu.org
Subject: Re: gnus trying to read news while I want only mail
Date: Tue, 10 Sep 2013 21:29:40 +0200	[thread overview]
Message-ID: <87li34wk4b.fsf@sperrhaken.name> (raw)
In-Reply-To: mailman.1724.1378827316.10748.help-gnu-emacs@gnu.org

Luca Ferrari <fluca1978@infinito.it> writes:
> I want to use gnus only for reading mail, not newsgroup, so I've
> removed the select-methods variables.

You can set gnus-select-method to your preferred mail retrieval method if
you don't want to use Gnus for news, like in the following example from
the manual:

(setq gnus-select-method
           '(nnimap "imap.gmail.com"))

If you have multiple e-mail accounts/servers you can then add them to
`gnus-secondary-select-methods'. Have a look at the info-manual:

(gnus) Getting Started Reading Mail
(gnus) FAQ 3-6

> However, when I start gnus it spins searching for news
> servers. I then set such variables to nil, but an error "attempting to
> use a nil select method" arises. So I tried to point them to localhost
> fake news server, and this made a connection error to raise and asked
> me to continue or not, so I was able to get into gnus at last.

I don't know what Gnus does when it starts and decides what servers to
use.  Having `gnus-select-method' set might be necessary for it to
start-up without hick-ups.

--
Felix Dietrich


  parent reply	other threads:[~2013-09-10 19:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1724.1378827316.10748.help-gnu-emacs@gnu.org>
2013-09-10 18:50 ` gnus trying to read news while I want only mail Damien Wyart
2013-09-10 19:29 ` Felix Dietrich [this message]
2013-09-10 15:35 Luca Ferrari
2013-09-10 19:13 ` W. Greenhouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87li34wk4b.fsf@sperrhaken.name \
    --to=felix.dietrich@sperrhaken.name \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.