From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60878 Path: news.gmane.org!not-for-mail From: "romeomedina\@libero\.it" Newsgroups: gmane.emacs.gnus.general Subject: Re: How to change the default ~/Mail and ~/News dirs with their subdirs? Date: Sat, 3 Sep 2005 21:14:33 +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 1125775508 12091 80.91.229.2 (3 Sep 2005 19:25:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Sep 2005 19:25:08 +0000 (UTC) Cc: "asjo" Original-X-From: ding-owner+m9410=ding+2daccount=gmane.org@lists.math.uh.edu Sat Sep 03 21:25:05 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EBdcK-00025Q-Md for ding-account@gmane.org; Sat, 03 Sep 2005 21:23:57 +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 1EBdcJ-0007EA-02 for ding-account@gmane.org; Sat, 03 Sep 2005 14:23:55 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EBdTK-0007DO-00 for ding@lists.math.uh.edu; Sat, 03 Sep 2005 14:14:38 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1EBdTG-00088x-SD for ding@lists.math.uh.edu; Sat, 03 Sep 2005 14:14:38 -0500 Original-Received: from smtp20.libero.it ([193.70.192.147]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EBdTF-0000Fo-00 for ; Sat, 03 Sep 2005 21:14:33 +0200 Original-Received: from libero.it (172.16.1.85) by smtp20.libero.it (7.0.027-DD01) id 41D02BD60232F60F; Sat, 3 Sep 2005 21:14:33 +0200 X-Sensitivity: 3 Original-To: "ding" X-XaM3-API-Version: 4.1 (B27pl2) X-type: 0 X-SenderIP: 151.26.49.235 X-Spam-Score: -1.0 (-) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60878 Archived-At: I have: Gnus version 5.11, included in Emacs CVS 21.3.50.1 of 2005-03-13. Rodolfo wrote: > I'd like to change the gnus default `~/Mail' and '~/News' directories, > together with all their subdirectories: > '~/Mail/drafts', '~/Mail/queue', '~/Mail/mail/misc', > '~/News/agent', '~/News/lib' etcetera, > into other dirs and subdirs at my pleasure. Adam Sj=F8gren wrote: > Just out of curiosity: Why? Because I want to decide where to put my stuff, and besides: I'm totally new to the 'newrseaderly fashion' gnus is conceived, and I still haven't even well understood what a newsreader actually is. I come from MS Outlook world, only know about sending and receiving e-mails from internet and am just now having a look at gnus, that for me is very very strange (although interesting). So I don't understand the meaning of subdirectories such as 'agent', 'lib', 'queue', and so on. Now, as beginner, I only need three directories: received-mail, sent-mail and drafts, included under a superdirectory 'mail'. Nothing more, nothing less. In future, when I've learned more about using gnus, and will be able to understand the meaning of the other dirs, I will maybe be using them. At the moment I'm not actually even using gnus, I'm preparing things in ord= er to migrate from MS Outlook to Gnus. Rodolfo: > Can anyone suggest how? What variables shall I customize? I couldn't > work it out from the Gnus Manual. Adam: > How about: > > ~/Mail: > > ,----[ C-h v message-directory RET ] > [...] > > ~/News: > > ,----[ C-h v gnus-directory RET ] >=0D > [...] > > (and your 'gnus-message-archive-method'). Note: I haven't tried this, > so I don't know how much more, if anything, you need to set. Thanks indeed for your precious help (and also thanks to Katsumi Yamaoka fo= r his help about 'gnus-message-archive-method' customization).=0D I followed your indications, then performed searches in Gnus Manual from in= fo buffer. Adam: > > Where in the manual did you look? I just searched for '~/Mail' and > '~/News'... I have a paper copy of Gnus Manual, and was searching things through its in= dex, which is quite poor. I'd never used the info buffer before. Now the situation is the following: the complete tree of the directories that Gnus creates by default under the= '~/' directory is something like: ~/ | |=0D | /Mail | | | | | /drafts | | | | | /mail | | | | | /misc | | | /News | | /agent | | | | | /lib | | /drafts | | /drafts | | /queue . Now, I wanted to change the gnus default directories '~/Mail' and '~/News= ', together with all their subdirs, into other dirs and subdirs at my pleasure. To do that, I had to customize the 'message-directory' and 'gnus-directory', but not only. I customized the following variables altogether (maybe other ones have to be customized as well): variable name gnus default value ------------- ------------------ message-directory ~/Mail gnus-directory ~/News nnml-directory ~/Mail nnml-active-file ~/Mail/active nnml-newsgroups-file ~/Mail/newsgroups nndraft-directory ~/News/drafts gnus-message-archive-method (nnfolder "archive" (nnfolder-directory "~/Mail/archive") (nnfolder-active-file "~/Mail/archive/active") (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)) nnfolder-directory ~/Mail/archive nnfolder-active-file ~/Mail/archive/active , the latter two included in the 'gnus-message-archive-method' variable set= ting. Note that what is said in =A75.5 of Gnus Manual about the default value of 'gnus-message-archive-method' is not according to what is said in =A76.3.13= .10 about the default values of 'nnfolder-directory' and 'nnfolder-active-file'. 'message-directory' and 'gnus-directory' have to be set in the ~/.emacs fil= e, the other ones in the ~/.gnus.el file. After setting all those variables, the ~/Mail and ~/News dirctories didn't exist any more and the above tree became: ~/ | | | /mail | | | /agent=0D | | | | | | | /lib | | | /drafts | | |=0D /queue | | | /received-mail | | | /sent-mail . Now, I want to get rid of the subdirs 'agent', 'agent/lib' and 'queue'. Can anyone suggest how? I searched through the info buffer but couldn't work the problem out. Thanks, Rodolfo ____________________________________________________________ Libero Flat, sempre a 4 Mega a 19,95 euro al mese!=20 Abbonati subito su http://www.libero.it