[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Location of .gnus init file

From: Rainer Thiel
Subject: Location of .gnus init file
Date: Sat, 07 Feb 2015 23:43:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt)

I am keeping my home directory ~/ synchronized through several machines
and am trying to place the .gnus init file elsewhere than in ~/.  This
works fine when I put

   > (setq gnus-init-file "C:/Emacs-local/.gnus.d/.gnus.el")
   > (setq gnus-directory "C:/Emacs-local/.gnus.d/")
   > (setq gnus-home-directory "C:/Emacs-local/.gnus.d/")
   > (setq gnus-startup-file (concat gnus-home-directory ".newsrc"))

in my .emacs init file.  In this case, emacs/gnus reads .gnus.el from
C:/Emacs-local/.gnus.d/ and writes/reads .newsrc and .newsrc.eld to/from
this very directory, as expected.

So far, so good.  As I'd prefer to configure gnus on a machine-dependent
basis, I tried to put the code cited above in my site-start.el.  This
does not have the desired effect, though.

Can someone please tell me why, and what I could do?

Many thanks in advance

Prof. Dr. Rainer Thiel
Institut für Altertumswissenschaften
07737 Jena, Germany (EU)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]