From: wgreenhouse@riseup.net (W. Greenhouse)
To: help-gnu-emacs@gnu.org
Subject: Re: gnus trying to read news while I want only mail
Date: Tue, 10 Sep 2013 19:13:21 +0000 [thread overview]
Message-ID: <8761u88p7y.fsf@motoko.kusanagi> (raw)
In-Reply-To: CAKoxK+59aqXVsG2k7cAsTzqo=nNjQSggK-2XcaYbeX9duJnk=Q@mail.gmail.com
Hello Luca,
Luca Ferrari <fluca1978@infinito.it> writes:
> Hi,
> I'm moving the first steps into gnus following this tutorial
> http://www.emacswiki.org/emacs/GnusTutorial, 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
`gnus-select-method'.
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.
--
Best,
WGG
next prev parent reply other threads:[~2013-09-10 19:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-10 15:35 gnus trying to read news while I want only mail Luca Ferrari
2013-09-10 19:13 ` W. Greenhouse [this message]
[not found] <mailman.1724.1378827316.10748.help-gnu-emacs@gnu.org>
2013-09-10 18:50 ` Damien Wyart
2013-09-10 19:29 ` Felix Dietrich
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8761u88p7y.fsf@motoko.kusanagi \
--to=wgreenhouse@riseup.net \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).