From: "romeomedina\@libero\.it" <romeomedina@libero.it>
Cc: "asjo" <asjo@koldfront.dk>
Subject: Re: How to change the default ~/Mail and ~/News dirs with their subdirs?
Date: Sat, 3 Sep 2005 21:14:33 +0200 [thread overview]
Message-ID: <IM99G9$5B32CFEC2CE3D1FBAD996AB5694D9C01@libero.it> (raw)
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øgren 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 order
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 ]
>
> [...]
>
> (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 for his help
about 'gnus-message-archive-method' customization).
I followed your indications, then performed searches in Gnus Manual from info 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 index,
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:
~/
|
|
|
/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 setting.
Note that what is said in §5.5 of Gnus Manual about the default value of
'gnus-message-archive-method' is not according to what is said in §6.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 file,
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
| |
| |
| |
| /lib
|
|
|
/drafts
|
|
|
/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!
Abbonati subito su http://www.libero.it
next reply other threads:[~2005-09-03 19:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-03 19:14 romeomedina [this message]
2005-09-03 21:22 ` Adam Sjøgren
2005-09-07 14:28 ` David Z Maze
-- strict thread matches above, loose matches on Subject: below --
2005-09-03 22:23 romeomedina
2005-09-03 22:18 romeomedina
2005-09-03 22:43 ` Adam Sjøgren
2005-09-02 18:23 Rodolfo Medina
2005-09-02 18:48 ` Adam Sjøgren
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='IM99G9$5B32CFEC2CE3D1FBAD996AB5694D9C01@libero.it' \
--to=romeomedina@libero.it \
--cc=asjo@koldfront.dk \
/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).