* Gnus: Defining a new nnml server with a different nnml-directory
@ 2008-08-21 15:50 Rodolfo Medina
2008-08-21 20:55 ` David
[not found] ` <mailman.17266.1219352155.18990.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 3+ messages in thread
From: Rodolfo Medina @ 2008-08-21 15:50 UTC (permalink / raw)
To: help-gnu-emacs
I aready postes this on gnu.emacs.gnus but got no solution.
In my .gnus.el, I have:
(setq gnus-select-method '(nnml ""))
(setq nnmail-split-methods '(("inbox" "")))
, and all new mail messages are put in the `inbox' group and stored in
the
"~/Mail/inbox" directory. Now, I want to create a new nnml server,
say
`test', but with a different nnml-directory, say "~/my-dir/" in place
of
"~/Mail/".
Then I put in .gnus.el the following stuff:
(setq gnus-secondary-select-methods
'((nnml "test"
(nnml-directory "~/my-dir/")
(nnml-active-file "~/my-dir/active")
(nnml-newsgroups-file "~/my-dir/newsgroups"))))
. But now my inbox messages are stored in "~/my-dir/inbox", that I
don't want.
How can I avoid that?
Thanks for any help
Rodolfo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Gnus: Defining a new nnml server with a different nnml-directory
2008-08-21 15:50 Gnus: Defining a new nnml server with a different nnml-directory Rodolfo Medina
@ 2008-08-21 20:55 ` David
[not found] ` <mailman.17266.1219352155.18990.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 3+ messages in thread
From: David @ 2008-08-21 20:55 UTC (permalink / raw)
To: help-gnu-emacs
Rodolfo Medina <rodolfo.medina@gmail.com> writes:
> (setq gnus-secondary-select-methods
> '((nnml "test"
> (nnml-directory "~/my-dir/")
> (nnml-active-file "~/my-dir/active")
> (nnml-newsgroups-file "~/my-dir/newsgroups"))))
>
> . But now my inbox messages are stored in "~/my-dir/inbox", that I
> don't want.
> How can I avoid that?
Try putting
(nnml-get-new-mail nil)
in the above server definition.
-David
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Gnus: Defining a new nnml server with a different nnml-directory
[not found] ` <mailman.17266.1219352155.18990.help-gnu-emacs@gnu.org>
@ 2008-08-23 9:49 ` Rodolfo Medina
0 siblings, 0 replies; 3+ messages in thread
From: Rodolfo Medina @ 2008-08-23 9:49 UTC (permalink / raw)
To: help-gnu-emacs
Rodolfo Medina <rodolfo.medina@gmail.com> writes:
> In my .gnus.el, I have:
>
> (setq gnus-select-method '(nnml ""))
> (setq nnmail-split-methods '(("inbox" "")))
>
> , and all new mail messages are put in the `inbox' group and stored in the
> "~/Mail/inbox" directory. Now, I want to create a new nnml server, say
> `test', but with a different nnml-directory, say "~/my-dir/" in place of
> "~/Mail/".
> Then I put in .gnus.el the following stuff:
>
> (setq gnus-secondary-select-methods
> '((nnml "test"
> (nnml-directory "~/my-dir/")
> (nnml-active-file "~/my-dir/active")
> (nnml-newsgroups-file "~/my-dir/newsgroups"))))
>
> . But now my inbox messages are stored in "~/my-dir/inbox", that I don't
> want.
> How can I avoid that?
David <de_bb@arcor.de> writes:
> Try putting
>
> (nnml-get-new-mail nil)
>
> in the above server definition.
Thanks, that was helpful. The right code is:
(setq gnus-secondary-select-methods
'((nnml "test"
(nnml-directory "~/my-dir/")
(nnml-active-file "~/my-dir/active")
(nnml-newsgroups-file "~/my-dir/newsgroups")
(nnml-get-new-mail nil))
))
Bye
Rodolfo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-23 9:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-21 15:50 Gnus: Defining a new nnml server with a different nnml-directory Rodolfo Medina
2008-08-21 20:55 ` David
[not found] ` <mailman.17266.1219352155.18990.help-gnu-emacs@gnu.org>
2008-08-23 9:49 ` Rodolfo Medina
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).