Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: ding@gnus.org
Subject: Re: How to change the default gnus-message-archive-method?
Date: Thu, 01 Sep 2005 09:56:53 +0900	[thread overview]
Message-ID: <b4mwtm1txka.fsf@jpl.org> (raw)
In-Reply-To: <loom.20050831T203912-991@post.gmane.org>

>>>>> In <loom.20050831T203912-991@post.gmane.org> Rodolfo Medina wrote:

> It seems that I don't manage to change at my pleasure
> the gnus-message-archive-method variable.
> On page 119 of Gnus Manual it is said that I can change the default, which is:

[...]

> , with something like:

> (setq gnus-message-archive-method
> 	'(nnfolder "archive"
> 		 (nnfolder-inhibit-expiry t)
> 		 (nnfolder-active-file "~/News/sent-mail/active")
> 		 (nnfolder-directory "~/News/sent-mail/")))

> , but it doesn't work: 

How doesn't it work?  What is the value you've set to the
`gnus-message-archive-group' variable?  What is the Gnus version
you are using?

> I put in my .gnus.el that stuff but the default values did not change.

If you mean the values of `nnfolder-directory', etc., their
values which can be observed by using `C-h v' won't change.
They will be bound to the values specified by
`gnus-message-archive-method' only when archiving articles.

While I normally use

(setq gnus-message-archive-method '(nnml ""))

, I tried the following configuration:

(setq gnus-message-archive-method
      '(nnfolder "archive"
		 (nnfolder-inhibit-expiry t)
		 (nnfolder-active-file "~/News/sent-mail/active")
		 (nnfolder-directory "~/News/sent-mail/")))

(setq gnus-message-archive-group "all")

There's no problem.  All the sent message were saved in:

~/News/sent-mail/all



  reply	other threads:[~2005-09-01  0:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-31 18:39 Rodolfo Medina
2005-09-01  0:56 ` Katsumi Yamaoka [this message]
2005-09-01 11:01 romeomedina
2005-09-02  6:23 ` Katsumi Yamaoka

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=b4mwtm1txka.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.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.
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).