From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46474 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: run agent in -batch mode reading a batch rc file instead of .gnus Date: Tue, 10 Sep 2002 10:20:39 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031678510 10225 127.0.0.1 (10 Sep 2002 17:21:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Sep 2002 17:21:50 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17oohx-0002en-00 for ; Tue, 10 Sep 2002 19:21:49 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17oohG-0001Dl-00; Tue, 10 Sep 2002 12:21:06 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 10 Sep 2002 12:21:42 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id MAA10372 for ; Tue, 10 Sep 2002 12:21:29 -0500 (CDT) Original-Received: (qmail 18262 invoked by alias); 10 Sep 2002 17:20:49 -0000 Original-Received: (qmail 18257 invoked from network); 10 Sep 2002 17:20:49 -0000 Original-Received: from mail.dslextreme.com (66.51.205.14) by gnus.org with SMTP; 10 Sep 2002 17:20:49 -0000 Original-Received: (qmail 26044 invoked from network); 10 Sep 2002 17:18:55 -0000 Original-Received: from adsl-66.51.210.228.dslextreme.com (HELO reader.local.lan) (66.51.210.228) by mail.dslextreme.com with SMTP; 10 Sep 2002 17:18:55 -0000 Original-Received: from reader.local.lan (localhost [127.0.0.1]) by reader.local.lan (8.12.3/8.12.3) with ESMTP id g8AHKkm3029950 for ; Tue, 10 Sep 2002 10:20:46 -0700 Original-Received: (from reader@localhost) by reader.local.lan (8.12.3/8.12.3/Submit) id g8AHKkIL029947; Tue, 10 Sep 2002 10:20:46 -0700 Original-To: ding@gnus.org In-Reply-To: (Reiner Steib's message of "Tue, 10 Sep 2002 10:58:45 +0200") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Original-Lines: 29 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46474 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46474 Reiner Steib <4uce.02.r.steib@gmx.net> writes: > On Tue, Sep 10 2002, Harry Putnam wrote: > >> The following message is a courtesy copy of an article >> that has been posted to gnu.emacs.gnus as well. > > I couldn't find the article in g.e.g. on my server. I don't think it's > a good idea to do this, because the answers will be split between > g.e.g and the ding list. Not sure I see why that is a bad thing. >> How can I run gnus in batch mode and force it to read some other rc >> file instead of gnus. > > ,----[ 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] [...] Thanks, that fixed me up.