From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/6824 Path: main.gmane.org!not-for-mail From: Mark Borges Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus 5.2.20: SAVEDIR Date: 20 Jun 1996 00:22:15 -0600 Sender: mdb@cdc.noaa.gov Message-ID: References: <199606200515.XAA10443@gielgud.lanl.gov.xdiv> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035147225 4871 80.91.224.250 (20 Oct 2002 20:53:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:53:45 +0000 (UTC) Cc: xemacs-beta@xemacs.org Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id XAA18880 for ; Wed, 19 Jun 1996 23:50:23 -0700 Original-Received: from cdc.noaa.gov (manager.Colorado.EDU [128.138.218.210]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Thu, 20 Jun 1996 08:22:26 +0200 Original-Received: from suomi by cdc.noaa.gov (SMI-8.6/SMI-SVR4) id AAA10183; Thu, 20 Jun 1996 00:22:17 -0600 Original-Received: by suomi (SMI-8.6) id AAA13315; Thu, 20 Jun 1996 00:22:16 -0600 Original-To: Ding Gnus List In-Reply-To: John Turner's message of Wed, 19 Jun 1996 23:15:14 -0600 Original-Lines: 57 X-Mailer: Gnus v5.2.20/XEmacs 19.14 Xref: main.gmane.org gmane.emacs.gnus.general:6824 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:6824 >> On Wed, 19 Jun 1996 23:15:14 -0600, >> John Turner(JT) wrote: [...] JT> The problem is that once again gnus-directory isn't being set to JT> the value of the env. var. SAVEDIR as it should be: JT> gielgud.lanl.gov% echo $SAVEDIR JT> /home/turner/Mail/News JT> C-h v gnus-directory: JT> gnus-directory's value is "~/News/" I hate it when that happens. What *should* work according to my understanding of the `gnus-directory' documentation is to (setq gnus-directory "/my/news/path/") in your gnus-init-file. But it doesn't, because all the other Gnus file variables the doc-string talks about: ------------------------------------------------------------ gnus-directory's value is "/home/mdb/Mail/news" -- a variable declared in Lisp. Documentation: *Directory variable from which all other Gnus file variables are derived. ------------------------------------------------------------ have already been set by the time gnus-init-file is read. So, for example, you wind up with gnus-article-save-directory still pointing at the default ("~/News"). And then bad things happen. The obvious fix it to have `gnus-init-file' be read earlier on in gnus.el, but I don't know if there are any side-effects to doing this. The only way I've been able to get what I want is the ugly gross way: manually set each of these in my gnus-init-file, e.g., ------------------------------------------------------------ (setq gnus-directory (expand-file-name "~/Mail/news") gnus-nocem-directory (expand-file-name "~/Mail/news/NoCeM/") gnus-article-save-directory gnus-directory gnus-kill-files-directory gnus-directory ) ------------------------------------------------------------ I don't want to use SAVEDIR; my environment is polluted enough. But it appears from looking at gnus.el that using SAVEDIR should work (if it's been properly exported), but you're right it doesn't. -- -mb-