Gnus development mailing list
 help / color / mirror / Atom feed
* Start using gnus-home-directory - what do I have to move?
@ 2014-03-11 12:41 Rainer M Krug
  2014-03-11 13:06 ` Tassilo Horn
  0 siblings, 1 reply; 4+ messages in thread
From: Rainer M Krug @ 2014-03-11 12:41 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

Hi

I would like to have all gnus related files in one directory (~/.gnus or
~/.emacs.d/gnus - undecided still) but I would obviously like to keep my
configs, newsgroups subscriptions, ...

So which files / directories do I have to move to have all this
available?

There is also the gnus-directory - Is this automatically changed to
gnus-home-directory/News/ if I change the gnus-home-directory?

Thanks,

Rainer

-- 
Rainer M. Krug

email: RMKrug<at>gmail<dot>com

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Start using gnus-home-directory - what do I have to move?
  2014-03-11 12:41 Start using gnus-home-directory - what do I have to move? Rainer M Krug
@ 2014-03-11 13:06 ` Tassilo Horn
  2014-03-11 13:31   ` Rainer M Krug
  0 siblings, 1 reply; 4+ messages in thread
From: Tassilo Horn @ 2014-03-11 13:06 UTC (permalink / raw)
  To: Rainer M Krug; +Cc: ding

[-- Attachment #1: Type: text/plain, Size: 1083 bytes --]

Rainer M Krug <Rainer@krugs.de> writes:

Hi Rainer,

> I would like to have all gnus related files in one directory (~/.gnus
> or ~/.emacs.d/gnus - undecided still) but I would obviously like to
> keep my configs, newsgroups subscriptions, ...
>
> So which files / directories do I have to move to have all this
> available?
>
> There is also the gnus-directory - Is this automatically changed to
> gnus-home-directory/News/ if I change the gnus-home-directory?

I also wanted to have most gnus stuff (especially News and Mail) in some
hidden directory (I called in ~/.gnus.d/).  Therefore I have

(setq gnus-home-directory    "~/.gnus.d/"
      gnus-init-file	     "~/.gnus.el"
      message-directory	     (expand-file-name "Mail/" gnus-home-directory))

in my ~/.emacs (it must be in ~/.emacs rather than ~/.gnus.el so that
the variable is already set to my likings when gnus is loaded).

Using that setup, ~/.gnus.d/ contains the Mail and News folders, and
also the .newsrc, .newsrc.eld, and .gnus.registry.eieio files.  I've
simply moved them from $HOME in there.

HTH,
Tassilo

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 229 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Start using gnus-home-directory - what do I have to move?
  2014-03-11 13:06 ` Tassilo Horn
@ 2014-03-11 13:31   ` Rainer M Krug
  2014-05-12  5:43     ` Jorge A. Alfaro-Murillo
  0 siblings, 1 reply; 4+ messages in thread
From: Rainer M Krug @ 2014-03-11 13:31 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 1491 bytes --]

Tassilo Horn <tsdh@gnu.org> writes:

> Rainer M Krug <Rainer@krugs.de> writes:
>
> Hi Rainer,
>
>> I would like to have all gnus related files in one directory (~/.gnus
>> or ~/.emacs.d/gnus - undecided still) but I would obviously like to
>> keep my configs, newsgroups subscriptions, ...
>>
>> So which files / directories do I have to move to have all this
>> available?
>>
>> There is also the gnus-directory - Is this automatically changed to
>> gnus-home-directory/News/ if I change the gnus-home-directory?
>
> I also wanted to have most gnus stuff (especially News and Mail) in some
> hidden directory (I called in ~/.gnus.d/).  Therefore I have
>
> (setq gnus-home-directory    "~/.gnus.d/"
>       gnus-init-file	     "~/.gnus.el"
>       message-directory (expand-file-name "Mail/"
> gnus-home-directory))
>
> in my ~/.emacs (it must be in ~/.emacs rather than ~/.gnus.el so that
> the variable is already set to my likings when gnus is loaded).
>
> Using that setup, ~/.gnus.d/ contains the Mail and News folders, and
> also the .newsrc, .newsrc.eld, and .gnus.registry.eieio files.  I've
> simply moved them from $HOME in there.

Thanks - just did the same and everything is still there - I actiualy
like the ide of the hidden . folder

In addition, I set the gnus-init-file to ~/.emacs.d/gnus.el - but I
might move it to the .gnus folder.

Cheers,

Rainer

>
> HTH,
> Tassilo

-- 
Rainer M. Krug

email: RMKrug<at>gmail<dot>com

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Start using gnus-home-directory - what do I have to move?
  2014-03-11 13:31   ` Rainer M Krug
@ 2014-05-12  5:43     ` Jorge A. Alfaro-Murillo
  0 siblings, 0 replies; 4+ messages in thread
From: Jorge A. Alfaro-Murillo @ 2014-05-12  5:43 UTC (permalink / raw)
  To: ding

Tassilo Horn <tsdh@gnu.org> writes:
> I also wanted to have most gnus stuff (especially News and Mail) in some
> hidden directory (I called in ~/.gnus.d/).  Therefore I have
>
> (setq gnus-home-directory    "~/.gnus.d/"
>       gnus-init-file	     "~/.gnus.el"
>       message-directory (expand-file-name "Mail/"
> gnus-home-directory))
>
> in my ~/.emacs (it must be in ~/.emacs rather than ~/.gnus.el so that
> the variable is already set to my likings when gnus is loaded).

I just tried this, thanks for the tip. Gnus was still creating ~/Mail, I
think that also one needs something like:

      (setq nnfolder-directory 
            (expand-file-name "archive/" message-directory))

Best,

Jorge.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-12  5:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-11 12:41 Start using gnus-home-directory - what do I have to move? Rainer M Krug
2014-03-11 13:06 ` Tassilo Horn
2014-03-11 13:31   ` Rainer M Krug
2014-05-12  5:43     ` Jorge A. Alfaro-Murillo

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).