From: Rodolfo Medina <rodolfo.medina@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus: Defining a new nnml server with a different nnml-directory
Date: Sat, 23 Aug 2008 02:49:30 -0700 (PDT) [thread overview]
Message-ID: <80f083eb-4b7f-4945-b846-4cf4027d9d5c@i76g2000hsf.googlegroups.com> (raw)
In-Reply-To: mailman.17266.1219352155.18990.help-gnu-emacs@gnu.org
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
prev parent reply other threads:[~2008-08-23 9:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=80f083eb-4b7f-4945-b846-4cf4027d9d5c@i76g2000hsf.googlegroups.com \
--to=rodolfo.medina@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.