From: David Z Maze <dmaze@MIT.EDU>
Subject: Make mail-source files/directories use gnus-home-directory?
Date: 23 Jan 2001 21:35:15 -0500 [thread overview]
Message-ID: <y6866j5ekyk.fsf@indiana.mit.edu> (raw)
lisp/mail-source.el has a couple of variable declarations that look
like
(defcustom mail-source-crash-box "~/.emacs-mail-crash-box" ...)
(defcustom mail-source-directory "~/Mail/" ...)
Shouldn't these be based on gnus-home-directory instead? This would
give a little more consistency with the rest of Gnus; in my particular
case, the place gnus-home-directory points to has a lot more quota
than $HOME does. So, you'd have (starting at line 223 of mail-source.el):
(defcustom mail-source-crash-box
(nnheader-concat gnus-home-directory ".emacs-mail-crash-box")
"File where mail will be stored while processing it."
:group 'mail-source
:type 'file)
(defcustom mail-source-directory
(nnheader-concat gnus-home-directory "Mail/")
"Directory where files (if any) will be stored."
:group 'mail-source
:type 'directory)
The one other occurence of ~ is in mail-source-keyword-map; I *think*
it's the default directory for a maildir mail source if one appears.
I don't know a whole lot about how these sorts of systems usually
work, but I'd guess a subdirectory of the user's home directory is
more likely than wherever they told Gnus to start up. Hmm.
--
David Maze dmaze@mit.edu http://www.mit.edu/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
reply other threads:[~2001-01-24 2:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=y6866j5ekyk.fsf@indiana.mit.edu \
--to=dmaze@mit.edu \
/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).