Gnus development mailing list
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
Subject: run agent in -batch mode reading a batch rc file instead of .gnus
Date: Tue, 10 Sep 2002 01:11:56 -0700	[thread overview]
Message-ID: <m3u1kyz3lx.fsf@newsguy.com> (raw)

The following message is a courtesy copy of an article
that has been posted to gnu.emacs.gnus as well.

How can I run gnus in batch mode and force it to read some other rc
file instead of gnus.

I want a different setup for this batch run.
I know that if a file named ~/.gnus.el is present it will be read in
preference to .gnus, which comes pretty close, but then the file needs
deleting when batch is completed.

Seems like a sloppy way to do it, there could be moments when the
batch is running as webll as a live gnus.

Maybe a conditional at the start of .gnus that knows if its a batch
session reading .gnus.  If batch is found then a redirect to some
other file... Is that possible?

The easiest would be if I could tell gnus not to read ~/.gnus,
then I could just load what ever I wanted.



             reply	other threads:[~2002-09-10  8:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-10  8:11 Harry Putnam [this message]
2002-09-10  8:58 ` Reiner Steib
2002-09-10 17:20   ` Harry Putnam
2002-09-11 10:01     ` Reiner Steib
2002-09-15  1:43       ` Harry Putnam
2002-09-15  3:09         ` John Paul Wallington
2002-09-15  3:35           ` Harry Putnam
2002-09-10  9:53 ` Kai Großjohann
2002-09-10 17:17   ` Harry Putnam
2002-12-29 17:46   ` Lars Magne Ingebrigtsen
2002-12-29 18:31     ` Kai Großjohann

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