From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60858 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: How to change the default gnus-message-archive-method? Date: Thu, 01 Sep 2005 09:56:53 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1125536529 22770 80.91.229.2 (1 Sep 2005 01:02:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Sep 2005 01:02:09 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+m9390=ding+2daccount=gmane.org@lists.math.uh.edu Thu Sep 01 03:02:03 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EAdSg-0007fW-CD for ding-account@gmane.org; Thu, 01 Sep 2005 03:01:50 +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 1EAdSf-0001Gd-02 for ding-account@gmane.org; Wed, 31 Aug 2005 20:01:49 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EAdO2-0001G9-00 for ding@lists.math.uh.edu; Wed, 31 Aug 2005 19:57:02 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1EAdO1-0007WW-1J for ding@lists.math.uh.edu; Wed, 31 Aug 2005 19:57:01 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EAdO0-00054v-00 for ; Thu, 01 Sep 2005 02:57:00 +0200 Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with esmtpa (Exim 4.50) id 1EAdOA-0007HD-Pj; Wed, 31 Aug 2005 19:57:11 -0500 Original-To: Rodolfo Medina X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Po85plCcN5WtAnzirjGZzzTcRNw= X-Hashcash: 1:20:050901:romeomedina@libero.it::gb216cnAo/9A7BZB:00000000000000000000000000000000000000000L/c X-Hashcash: 1:20:050901:ding@gnus.org::vkB9XnLN5ijhh3cp:00004Kh0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -4.8 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60858 Archived-At: >>>>> In 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