* gnus - how to force skip nntp connection at gnus startup
@ 2010-04-04 11:42 Pawel
2010-04-04 12:45 ` William Xu
0 siblings, 1 reply; 5+ messages in thread
From: Pawel @ 2010-04-04 11:42 UTC (permalink / raw)
To: help-gnu-emacs
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 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.
best regards,
Pawel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gnus - how to force skip nntp connection at gnus startup
2010-04-04 11:42 gnus - how to force skip nntp connection at gnus startup Pawel
@ 2010-04-04 12:45 ` William Xu
2010-04-04 22:26 ` Pawel
0 siblings, 1 reply; 5+ messages in thread
From: William Xu @ 2010-04-04 12:45 UTC (permalink / raw)
To: help-gnu-emacs
Pawel <mafeusek@gmail.com> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gnus - how to force skip nntp connection at gnus startup
2010-04-04 12:45 ` William Xu
@ 2010-04-04 22:26 ` Pawel
2010-04-05 23:12 ` Geralt
0 siblings, 1 reply; 5+ messages in thread
From: Pawel @ 2010-04-04 22:26 UTC (permalink / raw)
To: William Xu; +Cc: help-gnu-emacs
Hallo Wiliam!
William Xu <william.xwl@gmail.com> writes:
> Pawel <mafeusek@gmail.com> writes:
>
> I think the correct way should be:
>
> (setq gnus-select-method nil)
>
> And,
>
> (setq gnus-nntp-server nil)
>
setting these makes secondary methods are not visited at all.
>
> You can also set nnimap to gnus-select-method, then you won't need
> gnus-secondary-select-methods at all.
how should I do this? I just replaced gnus-secondary-select-methods
variable with gnus-select-method, but error was produced.
best regards,
Pawel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gnus - how to force skip nntp connection at gnus startup
2010-04-04 22:26 ` Pawel
@ 2010-04-05 23:12 ` Geralt
2010-04-07 6:23 ` Pawel
0 siblings, 1 reply; 5+ messages in thread
From: Geralt @ 2010-04-05 23:12 UTC (permalink / raw)
To: Pawel; +Cc: William Xu, help-gnu-emacs
Hi,
there's also an nnnil select method which does nothing, just set (setq
gnus-select-method '(nnnil "")).
HTH,
Geralt.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gnus - how to force skip nntp connection at gnus startup
2010-04-05 23:12 ` Geralt
@ 2010-04-07 6:23 ` Pawel
0 siblings, 0 replies; 5+ messages in thread
From: Pawel @ 2010-04-07 6:23 UTC (permalink / raw)
To: Geralt; +Cc: William Xu, help-gnu-emacs
Geralt <usr.gentoo@googlemail.com> writes:
> there's also an nnnil select method which does nothing, just set (setq
> gnus-select-method '(nnnil "")).
>
Did the job!!!
Thank YOu for the help.
best regards,
Pawel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-04-07 6:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-04 11:42 gnus - how to force skip nntp connection at gnus startup Pawel
2010-04-04 12:45 ` William Xu
2010-04-04 22:26 ` Pawel
2010-04-05 23:12 ` Geralt
2010-04-07 6:23 ` Pawel
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.