help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus: Defining a new nnml server with a different nnml-directory


From: Rodolfo Medina
Subject: Re: Gnus: Defining a new nnml server with a different nnml-directory
Date: Sat, 23 Aug 2008 02:49:30 -0700 (PDT)
User-agent: G2/1.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]