* Re: run agent in -batch mode reading a batch rc file instead of .gnus
[not found] ` <87lm698cji.fsf@bundalo.shootybangbang.com>
@ 2002-09-11 3:02 ` Harry Putnam
0 siblings, 0 replies; only message in thread
From: Harry Putnam @ 2002-09-11 3:02 UTC (permalink / raw)
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] [...]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-09-11 3:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <m3u1kyz3lx.fsf@newsguy.com>
[not found] ` <87lm698cji.fsf@bundalo.shootybangbang.com>
2002-09-11 3:02 ` run agent in -batch mode reading a batch rc file instead of .gnus Harry Putnam
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).