From: "romeomedina\@libero\.it" <romeomedina@libero.it>
Cc: "ding" <ding@gnus.org>
Subject: Re: How to change the default gnus-message-archive-method?
Date: Thu, 1 Sep 2005 13:01:00 +0200 [thread overview]
Message-ID: <IM4X9O$82198AFDD420649AC1B63D82C0B2AE92@libero.it> (raw)
Rodolfo Medina wrote:
> It seems that I don't manage to customize
> the gnus-message-archive-method variable.
> On page 119 of Gnus Manual it is said that I can change the default, which is:
>
> (nnfolder "archive"
> (nnfolder-directory "~/Mail/archive")
> (nnfolder-active-file "~/Mail/archive/active")
> (nnfolder-get-new-mail nil)
> (nnfolder-inhibit-expiry t))
>
> , 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:
> I put in my .gnus.el that stuff but the default values did not change.
Katsumi Yamaoka wrote:
> 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?
It doesn't work in the sense that gnus is going on storing the mail
I send in its default `~/Mail/archive' directory.
I've set the `gnus-message-archive-group' variable to the value 'all'.
I'm using the Gnus version 5.11, included in Emacs CVS 21.3.50.1 of 2005-03-13.
Katsumi:
> 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.
I did: `C-h v gnus-message-archive-method', and the following appeared:
-----------------------------------------------------------------------
gnus-message-archive-method's value is
(nnfolder "archive"
(nnfolder-inhibit-expiry t)
(nnfolder-active-file "~/News/sent-mail/active")
(nnfolder-directory "~/News/sent-mail/"))
*Method used for archiving messages you've sent.
This should be a mail method.
You can customize this variable.
Defined in `gnus'.
-----------------------------------------------------------------------
, but, as I said before, sent mail is going on being stored
in the default directory `~/Mail/archive'.
Katsumi:
> 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
. Instead, I have problem: gnus is going on storing the mail
I send in `~/Mail/archive'.
I'm really stuck! Any idea?
I'm showing my whole .gnus.el.
Thanks indeed,
Rodolfo
-----------------------------------------------------------------
(setq user-mail-address "rodolfo.medina@libero.it")
(setq user-full-name "Rodolfo Medina")
(setq gnus-select-method '(nnml "received-mail"
(nnml-directory "~/mail-prova")
))
(setq mail-sources '((pop :server "popmail.libero.it"
:user "rodolfo.medina"
)))
(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-default-smtp-server "mail.libero.it")
(setq gnus-agent t)
(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")
(setq nndraft-directory "~/mail-prova2")
(setq mm-text-html-renderer 'w3m)
(setq mm-inline-text-html-with-images t)
(setq mm-w3m-safe-url-regexp nil)
(setq message-send-mail-partially-limit nil)
(setq gnus-show-all-headers t)
------------------------------------------------------------------------
____________________________________________________________
6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!
Scaricalo su INTERNET GRATIS 6X http://www.libero.it
next reply other threads:[~2005-09-01 11:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-01 11:01 romeomedina [this message]
2005-09-02 6:23 ` Katsumi Yamaoka
2005-09-02 18:18 ` How to change the default gnus-message-archive-method? [solved] Rodolfo Medina
-- strict thread matches above, loose matches on Subject: below --
2005-08-31 18:39 How to change the default gnus-message-archive-method? Rodolfo Medina
2005-09-01 0:56 ` 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='IM4X9O$82198AFDD420649AC1B63D82C0B2AE92@libero.it' \
--to=romeomedina@libero.it \
--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).