From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Xu Newsgroups: gmane.emacs.help Subject: Re: gnus - how to force skip nntp connection at gnus startup Date: Sun, 04 Apr 2010 20:45:00 +0800 Organization: the Church of Emacs Message-ID: <21glr5mvfktv.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1270388835 31286 80.91.229.12 (4 Apr 2010 13:47:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 4 Apr 2010 13:47:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 04 15:47:11 2010 Return-path: Envelope-to: geh-help-gnu-emacs@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 1NyQAR-0000Zm-3H for geh-help-gnu-emacs@m.gmane.org; Sun, 04 Apr 2010 15:47:11 +0200 Original-Received: from localhost ([127.0.0.1]:40290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyQAQ-0007Xb-IC for geh-help-gnu-emacs@m.gmane.org; Sun, 04 Apr 2010 09:47:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NyQ9z-0007UI-SM for help-gnu-emacs@gnu.org; Sun, 04 Apr 2010 09:46:43 -0400 Original-Received: from [140.186.70.92] (port=53630 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyQ9x-0007Qe-JA for help-gnu-emacs@gnu.org; Sun, 04 Apr 2010 09:46:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NyQ9w-0008FW-8E for help-gnu-emacs@gnu.org; Sun, 04 Apr 2010 09:46:41 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:58931) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyQ9w-0008FL-2T for help-gnu-emacs@gnu.org; Sun, 04 Apr 2010 09:46:40 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NyQ9t-00007X-Ke for help-gnu-emacs@gnu.org; Sun, 04 Apr 2010 15:46:37 +0200 Original-Received: from esprx01x.nokia.com ([192.100.124.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Apr 2010 15:46:37 +0200 Original-Received: from william.xwl by esprx01x.nokia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Apr 2010 15:46:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: esprx01x.nokia.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (windows-nt) Cancel-Lock: sha1:sC13ePb6MGImGX54TQxYjnAvoYI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72595 Archived-At: Pawel writes: > Hallo Group Members. > > When I do M-x gnus, > it always tries to connect to nntp server (that are probably defined > gnus-select-method): > > gnus-select-method is a variable defined in `gnus.el'. > Its value is (nntp "news") > > It does it, even when I set: > (setq gnus-select-method `(nntp nil)) I think the correct way should be: (setq gnus-select-method nil) And, (setq gnus-nntp-server nil) > I am not interrested gnus-select-method. I use gnus only for email > through imap (secondary methods). > > Is there a way to skip nntp server connection. You can also set nnimap to gnus-select-method, then you won't need gnus-secondary-select-methods at all. -- William http://xwl.appspot.com