Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
Subject: Re: run agent in -batch mode reading a batch rc file instead of .gnus
Date: Tue, 10 Sep 2002 20:02:35 -0700	[thread overview]
Message-ID: <m3sn0hkz3o.fsf@newsguy.com> (raw)
In-Reply-To: <87lm698cji.fsf@bundalo.shootybangbang.com>

John Paul Wallington <jpw@shootybangbang.com> writes:

> Harry Putnam <reader@newsguy.com> wrote:
>
>> How can I run gnus in batch mode and force it to read some other rc
>> file instead of gnus.
>
> Have you tried changing the value of `gnus-init-file'?  (untested)

I hadn't tried that no, but it turned out to be the right tool.
A solution was posted on the ding list from Reiner Steib:


> How can I run gnus in batch mode and force it to read some other rc
> file instead of gnus.
Reiner wrote (in part):

[...]
  ,----[ C-h v gnus-init-file RET ]
  | gnus-init-file's value is "~/.gnus"
  | 
  | Documentation:
  | Your Gnus Emacs-Lisp startup file name.
  | If a file with the `.el' or `.elc' suffixes exists, it will be read instead.
  `----
  
  So I would try to use something similar to ...
  
  $ emacs [...] -eval "(setq gnus-init-file \"foo.el\")" [-f gnus] [...]


           reply	other threads:[~2002-09-11  3:02 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <87lm698cji.fsf@bundalo.shootybangbang.com>]

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=m3sn0hkz3o.fsf@newsguy.com \
    --to=reader@newsguy.com \
    /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).