* Mail first, news second
@ 2005-10-14 14:07 Hrvoje Niksic
2005-10-14 19:42 ` Alexander Kotelnikov
0 siblings, 1 reply; 4+ messages in thread
From: Hrvoje Niksic @ 2005-10-14 14:07 UTC (permalink / raw)
I would like some advice in the following matter. I would like Gnus
to be a mail reader first and a news reader second. That is, I would
like my primary "select method" to be nnml. I would also like to read
news from one or more news servers, which should be "secondary select
methods". Since Gnus is a competent mail reader, that seems like a
much more logical setup than what was traditionally recommended.
I accomplished it by using the following:
(setq gnus-select-method '(nnml "mail")
gnus-secondary-select-methods '((nntp "busola")))
However, it doesn't work as well as I'd like it to. For example,
there seems to be no easy way to add a group -- I always have to go
through the procedure of `G m <group name, no completion> RET nntp RET
busola RET'. It somehow feels suboptimal -- I'd like the news groups
to be valid citizens, but it seems that the
`gnus-secondary-select-methods' line isn't accomplishing that.
What is the best way to make Gnus primarily a mail reader? Has anyone
else attempted that?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Mail first, news second
2005-10-14 14:07 Mail first, news second Hrvoje Niksic
@ 2005-10-14 19:42 ` Alexander Kotelnikov
2005-10-17 16:26 ` David Z Maze
0 siblings, 1 reply; 4+ messages in thread
From: Alexander Kotelnikov @ 2005-10-14 19:42 UTC (permalink / raw)
>>>>> On 14 Oct 2005 16:07:59 +0200
>>>>> "HN" == Hrvoje Niksic <hniksic@xemacs.org> wrote:
HN>
HN> (setq gnus-select-method '(nnml "mail")
HN> gnus-secondary-select-methods '((nntp "busola")))
I believe, you should tell gnus more about your nntp, like
(nntp "busola"
(nntp-address "localhost")
(nntp-port-number "nntp")
)
HN> However, it doesn't work as well as I'd like it to. For example,
HN> there seems to be no easy way to add a group -- I always have to go
HN> through the procedure of `G m <group name, no completion> RET nntp RET
HN> busola RET'. It somehow feels suboptimal -- I'd like the news groups
HN> to be valid citizens, but it seems that the
To add a group I got to the *Server* buffer ('^' from *Group* ),
select server there (using RET) and subscribe ('U').
--
Alexander Kotelnikov
Saint-Petersburg, Russia
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Mail first, news second
2005-10-14 19:42 ` Alexander Kotelnikov
@ 2005-10-17 16:26 ` David Z Maze
2005-10-24 19:21 ` Hrvoje Niksic
0 siblings, 1 reply; 4+ messages in thread
From: David Z Maze @ 2005-10-17 16:26 UTC (permalink / raw)
Alexander Kotelnikov <sacha@myxomop.com> writes:
> I believe, you should tell gnus more about your nntp, like
> (nntp "busola"
> (nntp-address "localhost")
> (nntp-port-number "nntp")
> )
The short form '(nntp "news.example.com") works fine without
explicitly specifying nntp-address and nntp-port-number, but you will
wind up with longer group names
(nntp+news.example.com:gnu.emacs.gnus). I don't know off hand if you
can have servers with different backends but the same name, but in
that case you could have a setup like
(setq gnus-select-method '(nnnil "")
gnus-secondary-select-methods
'((nnml "")
(nntp "" (nntp-address "news.example.com"))))
to be able to refer to both nnml:mail.spam and nntp:gnu.emacs.gnus. I
just suck it up and use the long name; tab-completion is easy.
--dzm
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Mail first, news second
2005-10-17 16:26 ` David Z Maze
@ 2005-10-24 19:21 ` Hrvoje Niksic
0 siblings, 0 replies; 4+ messages in thread
From: Hrvoje Niksic @ 2005-10-24 19:21 UTC (permalink / raw)
David Z Maze <dmaze@MIT.EDU> writes:
> The short form '(nntp "news.example.com") works fine without
> explicitly specifying nntp-address and nntp-port-number, but you
> will wind up with longer group names
> (nntp+news.example.com:gnu.emacs.gnus).
Yes. I don't mind the long names all that much, though. What I do
mind is that I can't add a new newsgroup by just pressing `j
<groupname> RET'.
> I don't know off hand if you can have servers with different
> backends but the same name, but in that case you could have a setup
> like
>
> (setq gnus-select-method '(nnnil "")
> gnus-secondary-select-methods
> '((nnml "")
> (nntp "" (nntp-address "news.example.com"))))
>
> to be able to refer to both nnml:mail.spam and nntp:gnu.emacs.gnus.
> I just suck it up and use the long name; tab-completion is easy.
That's exactly the problem: I *don't* have tab completion for any new
group on that server. I get it only for existing groups, adding new
groups is harder.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-10-24 19:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-14 14:07 Mail first, news second Hrvoje Niksic
2005-10-14 19:42 ` Alexander Kotelnikov
2005-10-17 16:26 ` David Z Maze
2005-10-24 19:21 ` Hrvoje Niksic
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 NNTP newsgroup(s).