From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60861 Path: news.gmane.org!not-for-mail From: "romeomedina\@libero\.it" Newsgroups: gmane.emacs.gnus.general Subject: Re: How to change the default gnus-message-archive-method? Date: Thu, 1 Sep 2005 13:01:00 +0200 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1125572876 20886 80.91.229.2 (1 Sep 2005 11:07:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Sep 2005 11:07:56 +0000 (UTC) Cc: "ding" Original-X-From: ding-owner+m9393=ding+2daccount=gmane.org@lists.math.uh.edu Thu Sep 01 13:07:52 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EAmu5-0003pg-I6 for ding-account@gmane.org; Thu, 01 Sep 2005 13:06:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EAmu4-000289-01 for ding-account@gmane.org; Thu, 01 Sep 2005 06:06:44 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EAmof-00027h-00 for ding@lists.math.uh.edu; Thu, 01 Sep 2005 06:01:09 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1EAmoe-0006ba-7D for ding@lists.math.uh.edu; Thu, 01 Sep 2005 06:01:08 -0500 Original-Received: from smtp0.libero.it ([193.70.192.33]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EAmod-0003d1-00 for ; Thu, 01 Sep 2005 13:01:07 +0200 Original-Received: from libero.it (172.16.1.114) by smtp0.libero.it (7.0.027-DD01) id 42E0A09D004112B7; Thu, 1 Sep 2005 13:01:00 +0200 X-Sensitivity: 3 Original-To: "yamaoka" X-XaM3-API-Version: 4.1 (B27pl2) X-type: 0 X-SenderIP: 151.26.56.96 X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60861 Archived-At: 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, whic= h 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. =0D 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=0D ----------------------------------------------------------------- (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