[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnus trying to read news while I want only mail

From: W. Greenhouse
Subject: Re: gnus trying to read news while I want only mail
Date: Tue, 10 Sep 2013 19:13:21 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Hello Luca,

Luca Ferrari <address@hidden> writes:

> Hi,
> I'm moving the first steps into gnus following this tutorial
>, and I've created my
> .gnus.el file with my mail information. I want to use gnus only for
> reading mail, not newsgroup, so I've removed the select-methods
> variables. 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.
> Is there a way to instrument gnus for not reading news at all?

Yes.  There are at least three options:

1. As described in (info "(gnus) The Empty Backend"), set `nnnil' for a
   select method; this select method is a noop and just silently
   succeeds while returning no new news.  This was an option designed
   for mail-only Gnus users:

   (setq gnus-select-method '(nnnil ""))

2. Start Gnus with M-x gnus-no-server.  This will get new messages from
   the `gnus-secondary-select-methods' while ignoring

3. If you wish to use Gnus for mail only, it is actually perfectly fine
   to use your chosen mail backend as `gnus-select-method' instead of as
   one of the `gnus-secondary-select-methods'.  There is no requirement
   that `gnus-select-method' be a news backend; in fact, aside from a
   few convenience functions, Gnus does not differentiate in its
   handling of "mail", "news", and other sources of messages (e.g. RSS,
   local files, etc.)

   In this configuration, you may also wish to

   (setq gnus-read-newsrc-file nil
         gnus-save-newsrc-file nil)
   as there's not much point in creating/using this old-style newsreader
   compatibility file if you are not visiting news servers anyway.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]