Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Rainer Thiel <r.thiel@uni-jena.de>
To: info-gnus-english@gnu.org
Subject: Location of .gnus init file
Date: Sat, 07 Feb 2015 23:43:57 +0100	[thread overview]
Message-ID: <814mqxz6j6.fsf@uni-jena.de> (raw)

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

Rainer
-- 
Prof. Dr. Rainer Thiel
Institut für Altertumswissenschaften
07737 Jena, Germany (EU)
r.thiel@uni-jena.de


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

             reply	other threads:[~2015-02-07 22:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-07 22:43 Rainer Thiel [this message]
     [not found] <mailman.19522.1423412112.1147.info-gnus-english@gnu.org>
2015-02-09  3:53 ` Ed C.
2015-02-09  4:45   ` Ed C.
2015-02-09  9:29     ` Tassilo Horn
2015-02-09  9:26   ` Tassilo Horn
2015-02-16 21:44   ` Rainer Thiel
     [not found] ` <mailman.19569.1423474015.1147.info-gnus-english@gnu.org>
2015-02-10  6:49   ` B. T. Raven
2015-02-10  7:18     ` Tassilo Horn
2015-02-10  8:33   ` btraven
2015-02-11  7:07     ` Tassilo Horn

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=814mqxz6j6.fsf@uni-jena.de \
    --to=r.thiel@uni-jena.de \
    --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).