From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: changing Gnus paths: 'News' and 'Mail' Date: Fri, 30 Apr 2010 12:32:05 -0400 Message-ID: <18498.1272645125@gamaville.dokosmarshall.org> References: <87k4rpb62y.fsf@eraldo.org> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O7t8m-0008Hg-Eq for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 12:32:36 -0400 Received: from [140.186.70.92] (port=57581 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7t8k-0008GU-SC for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 12:32:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O7t8i-0006ib-1C for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 12:32:34 -0400 Received: from vms173013pub.verizon.net ([206.46.173.13]:22949) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O7t8h-0006iN-Pb for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 12:32:31 -0400 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173013.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0L1P00NIR7FX0B01@vms173013.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 11:35:58 -0500 (CDT) In-reply-to: Message from Eraldo Helal of "Fri, 30 Apr 2010 12:14:13 +0200." <87k4rpb62y.fsf@eraldo.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eraldo Helal Cc: nicholas.dokos@hp.com, Org-Mode Eraldo Helal wrote: > I want to get rid of the 'News' and 'Mail' directories in my home and > put them somewhere else instead: > '~/News' => '~/mypath/News' > '~/Mail' => '~/mypath/Mail' > > Question: Which variables do I have to change so that gnus won't have > troubles with moving those directories? > > E.g.: If I change 'gnus-home-directory' from '~/' to '~/mypath/', will > gnus-directory change to '~/mypath/News' or will it still be '~/News'? > Making it necessary for me to change it as well. (and maybe others too?) > ============================================ > Why not try it? Make a dot-emacs-modified-gnus with a different setting of gnus-home-directory and the rest of your gnus settings unchanged, start emacs with emacs -q -l dot-emacs-modified-gns and check. FWIW, C-h v gnus-home-directory says ,---- | gnus-home-directory is a variable defined in `gnus.el'. | Its value is "~/" | | Documentation: | Directory variable that specifies the "home" directory. | All other Gnus file and directory variables are initialized from this variable. | | You can customize this variable. `---- so it would seem that changing it would be enough to do what you want (except that if you have explicitly set other directory-related variables you might have to undo those, e.g. ,---- | gnus-directory is a variable defined in `gnus.el'. | Its value is "~/News/" | | Documentation: | *Directory variable from which all other Gnus file variables are derived. | | Note that Gnus is mostly loaded when the `.gnus.el' file is read. | This means that other directory variables that are initialized from | this variable won't be set properly if you set this variable in `.gnus.el'. | Set this variable in `.emacs' instead. | | You can customize this variable. `---- I read this that gnus-directory is initialized *from* gnus-home-directory, but a small amount of experimentation should settle the matter. Similarly ,---- | gnus-article-save-directory is a variable defined in `gnus.el'. | Its value is "~/News/" | | Documentation: | *Name of the directory articles will be saved in (default "~/News"). | | You can customize this variable. `---- If you have explicitly set those, you probably want to unset them. And there may be others of course.) HTH, Nick