Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Rainer M Krug <Rainer@krugs.de>
To: Brady Trainor <algebrat@uw.edu>
Cc: info-gnus-english@gnu.org
Subject: Re: Move Mail/ and News/ from ~/ ?
Date: Tue, 23 Sep 2014 08:48:59 +0200	[thread overview]
Message-ID: <m27g0u4ysk.fsf@krugs.de> (raw)
In-Reply-To: <87y4tbaqme.fsf@uw.edu> (Brady Trainor's message of "Mon, 22 Sep 2014 21:48:57 -0700")


[-- Attachment #1.1: Type: text/plain, Size: 1516 bytes --]

Brady Trainor <algebrat@uw.edu> writes:

> I am considering moving my Gnus setup to a partition I share between
> OSes. In this way, tick marks, subscribed folders etc will be easier to
> keep in sync.
>
> So for instance, I hope the following will have the desired effect. 
>
> (setq gnus-init-file "/e/.gnus")
> (setq gnus-startup-file "/e/.newsrc")
> (setq gnus-dribble-directory "/e/")
>
> In fact, it seems this can all be done at once with
>
> (setq gnus-home-directory "/e/")
>
> But to deal with `~/Mail/` and `~/News/`, I'm not sure the most
> convenient way. It appears that so many variables may point to it, that
> it may be easier to simply symlink these two. 

I have

--8<---------------cut here---------------start------------->8---
(setq gnus-home-directory    "~/.gnus.d/"
      gnus-init-file	     "~/.gnus.d/gnus.el"
      message-directory	     (expand-file-name "Mail/" gnus-home-directory))
--8<---------------cut here---------------end--------------->8---

in my emacs.el file and all gnus related files are in this directory.

Cheers,

Rainer

>
> I have considered these other variables (I got most of this from word
> search in Gnus help node), but I'm unsure that they would have the
> desired and complete effect. 
>
> nnml-directory
> mail-source-directory
>
> gnus-article-save-directory
> gnus-kill-files-directory
> gnus-directory
>
>
> Thank you, 
> Brady
>
>

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #1.2: Type: application/pgp-signature, Size: 494 bytes --]



  reply	other threads:[~2014-09-23  6:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-23  4:48 Brady Trainor
2014-09-23  6:48 ` Rainer M Krug [this message]
2014-09-23  7:23   ` Brady Trainor
2014-09-23  7:41     ` Rainer M Krug
2014-09-23 16:58       ` Brady Trainor

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

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

  git send-email \
    --in-reply-to=m27g0u4ysk.fsf@krugs.de \
    --to=rainer@krugs.de \
    --cc=algebrat@uw.edu \
    --cc=info-gnus-english@gnu.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.
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 NNTP newsgroup(s).