Gnus development mailing list
 help / color / mirror / Atom feed
From: Rodolfo Medina <romeomedina@libero.it>
Subject: Re: How to change the default ~/Mail and ~/News dirs with their subdirs? [solved]
Date: Sun, 4 Sep 2005 11:35:21 +0000 (UTC)	[thread overview]
Message-ID: <loom.20050904T133437-545@post.gmane.org> (raw)
In-Reply-To: <IM9I7Q$381E26D51FC1309AFB8466DBFA7A09C4@libero.it>

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")





      reply	other threads:[~2005-09-04 11:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=loom.20050904T133437-545@post.gmane.org \
    --to=romeomedina@libero.it \
    /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).