emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Eraldo Helal <eraldo@eraldo.org>
Cc: nicholas.dokos@hp.com, Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: changing Gnus paths: 'News' and 'Mail'
Date: Fri, 30 Apr 2010 12:32:05 -0400	[thread overview]
Message-ID: <18498.1272645125@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Eraldo Helal <eraldo@eraldo.org> of "Fri, 30 Apr 2010 12:14:13 +0200." <87k4rpb62y.fsf@eraldo.org>

Eraldo Helal <eraldo@eraldo.org> 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 <RET> 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

  parent reply	other threads:[~2010-04-30 16:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-30 10:14 changing Gnus paths: 'News' and 'Mail' Eraldo Helal
2010-04-30 15:19 ` [OT] " Eric S Fraga
2010-04-30 15:57 ` Sebastian Rose
2010-04-30 16:32 ` Nick Dokos [this message]
2010-04-30 21:37 ` Paul Mead
2010-05-01 17:32   ` Eraldo Helal

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18498.1272645125@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eraldo@eraldo.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).