* Re: How to change the default ~/Mail and ~/News dirs with their subdirs? [solved]
2005-09-03 22:23 How to change the default ~/Mail and ~/News dirs with their subdirs? romeomedina
@ 2005-09-04 11:35 ` Rodolfo Medina
0 siblings, 0 replies; 2+ messages in thread
From: Rodolfo Medina @ 2005-09-04 11:35 UTC (permalink / raw)
Thanks to this list, and in particular to Adam and Katsumi, it seems
that I managed to change the gnus default ~/Mail and ~/News dirs
with all their subdirs into other dirs and subdirs at my pleasure.
Other adjustments will probably necessary in the future, using Gnus,
and I'll be seeing if it really works: it seems it does, now.
I'm reporting my ~/.gnus.el to show the necessary settings I had to do.
I have:
Gnus version 5.11, included in Emacs CVS 21.3.50.1 of 2005-03-13.
Thanks,
Rodolfo
-------------------------------------------------------------------
; see Gnus Manual, FAQ, question 3.1 p.327:
(setq user-mail-address "rodolfo.medina@libero.it")
(setq user-full-name "Rodolfo Medina")
(setq gnus-select-method
'(nnml ""
; see Gnus Manual §6.1.5, 'Server Variables', p.128:
(nnml-directory "~/mail")
(nnml-active-file "~/mail/received-mail/active")
(nnml-newsgroups-file "~/mail/newsgroups")
))
; See Gnus Manual, §6.3.2 'Getting Started Reading Mail' p.137
(setq nnmail-split-methods '(("received-mail" "")))
; see Gnus Manual § 6.3.4.1 `Mail source specifiers' pp.138 , 139
; see also...
(setq mail-sources '((pop :server "popmail.libero.it"
:user "rodolfo.medina")))
; see...
(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-default-smtp-server "mail.libero.it")
; this will prevent gnus from creating the
; 'agent', 'agent/lib' and 'queue' directories.
; I just tried and observed this
(setq gnus-agent nil)
; See Gnus Manual, § 5.4 `Archived Messages' p.119,
; and also §6.1.5, 'Server Variables', p.128:
(setq gnus-message-archive-method '(nnml ""
(nnml-directory "~/mail/sent-mail")
(nnml-active-file "~/mail/sent-mail/active")
(nnml-newsgroups-file "~/mail/sent-mail/newsgroups")
))
(setq gnus-message-archive-group "sent-mail")
(setq mm-text-html-renderer 'w3m)
(setq mm-inline-text-html-with-images t)
(setq mm-w3m-safe-url-regexp nil)
; tells gnus to not split large messages:
(setq message-send-mail-partially-limit nil)
; see Gnus Manual, § 4.1 `Hiding headers' p.109
;(setq gnus-show-all-headers t)
; see Gnus Manual, § 5.6 `Drafts' p.123: in the draft-directory
; will be stored the messages you save with C-x C-s. The default value
; should be '~/News/drafts' (not sure, verify)
(setq nndraft-directory "~/mail")
^ permalink raw reply [flat|nested] 2+ messages in thread