From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/34371 Path: main.gmane.org!not-for-mail From: David Z Maze Newsgroups: gmane.emacs.gnus.general Subject: Make mail-source files/directories use gnus-home-directory? Date: 23 Jan 2001 21:35:15 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035170310 30072 80.91.224.250 (21 Oct 2002 03:18:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:18:30 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id 00C49D04A0 for ; Tue, 23 Jan 2001 21:36:09 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id UAC26990; Tue, 23 Jan 2001 20:35:41 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 23 Jan 2001 20:34:59 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id UAA23082 for ; Tue, 23 Jan 2001 20:34:48 -0600 (CST) Original-Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by mailhost.sclp.com (Postfix) with SMTP id C7F9ED04A0 for ; Tue, 23 Jan 2001 21:35:17 -0500 (EST) Original-Received: from GRAND-CENTRAL-STATION.MIT.EDU by MIT.EDU with SMTP id AA27307; Tue, 23 Jan 01 21:37:13 EST Original-Received: from melbourne-city-street.MIT.EDU (MELBOURNE-CITY-STREET.MIT.EDU [18.69.0.45]) by grand-central-station.MIT.EDU (8.9.2/8.9.2) with ESMTP id VAA29592; Tue, 23 Jan 2001 21:35:16 -0500 (EST) Original-Received: from indiana.mit.edu (INDIANA.MIT.EDU [18.18.1.138]) by melbourne-city-street.MIT.EDU (8.9.3/8.9.2) with ESMTP id VAA08376; Tue, 23 Jan 2001 21:35:16 -0500 (EST) Original-Received: (from dmaze@localhost) by indiana.mit.edu (8.9.3) id VAA06864; Tue, 23 Jan 2001 21:35:15 -0500 (EST) Original-To: ding@gnus.org User-Agent: Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.1 (Arches) X-Attribution: DZM Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 33 Xref: main.gmane.org gmane.emacs.gnus.general:34371 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:34371 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