From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17322 Path: main.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Fran=E7ois_Pinard?= Newsgroups: gmane.emacs.gnus.general Subject: Re: unwanted News and News/drafts directories Date: 23 Sep 1998 08:56:40 -400 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035156043 312 80.91.224.250 (20 Oct 2002 23:20:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:20:43 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA15511 for ; Wed, 23 Sep 1998 11:19:09 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id JAF01183; Wed, 23 Sep 1998 09:49:59 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 23 Sep 1998 10:17:25 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id KAA14052 for ; Wed, 23 Sep 1998 10:17:15 -0500 (CDT) Original-Received: from pluton.rtsq.qc.ca (pluton.grics.qc.ca [199.84.132.10]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA15456 for ; Wed, 23 Sep 1998 11:17:08 -0400 (EDT) Original-Received: by pluton.rtsq.qc.ca (8.8.8/8.8.8) with UUCP id KAA05338; Wed, 23 Sep 1998 10:46:29 -0400 Original-Received: by icule.progiciels-bpi.ca (8.8.5/8.7.3) id IAA00956; Wed, 23 Sep 1998 08:56:43 -0400 Original-To: Justin Sheehy X-Face: "b_m|CE6#'Q8fliQrwHl9K,]PA_o'*S~Dva{~b1n*)K*A(BIwQW.:LY?t4~xhYka_.LV?Qq `}X|71X0ea&H]9Dsk!`kxBXlG;q$mLfv_vtaHK_rHFKu]4'<*LWCyUe@ZcI6"*wB5M@[m écrit: > François Pinard writes: > > Justin Sheehy writes: > > > John H Palmieri writes: > > > > (setq gnus-directory (expand-file-name "~/Mail/News") > > > Move that from ~/.gnus to ~/.emacs, so that those variables are set > > > when Gnus starts. > > Is that move really needed? I preset all directory variables for Gnus in my > > `.gnus' file instead of `.emacs'; it seems to work as expected for me. > Several variables inherit from gnus-directory at startup time. If that > variable is not already set, then the others will inherit the wrong value. > Yes, the move is necessary. For a long while, I used in `.gnus' (not in `.emacs') the following: (setq gnus-default-directory (expand-file-name "~/") gnus-kill-files-directory "~/.scores" nndraft-directory "~/.nndraft/drafts/" nnml-directory "~/.nnmail/" gnus-soup-directory "~/.soup-brew/" nnsoup-directory "~/.soup/" gnus-article-save-directory "~/") [The above is extracted from something bigger, I hope I did not forget any.] > It is certainly possible that one could carefully arrange things to be set > in ~/.gnus and have them work correctly, but there is a strong posibility > that one would forget to set at least one of the directory variables. One thing I see is that I use `gnus-default-directory', and that I did not touch `gnus-directory', which still has "~/News/" as a value, here. I do not even have an existing "~/News" directory! Looking at both docstrings, they seem unrelated. Also, the documentation of `gnus-directory' does explicitly suggest that it be initialised from `.emacs', not `.gnus'. The first time I played with these variables, years ago, it did not work as I expected. I reported a bug, Lars corrected something, and it works since then. -- François Pinard mailto:pinard@iro.umontreal.ca Join the free Translation Project! http://www.iro.umontreal.ca/~pinard