From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53283 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: How to make gnus read something besides .gnus in batch mode Date: Sun, 29 Jun 2003 13:47:23 -0700 Organization: Still searching... Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1056919635 6725 80.91.224.249 (29 Jun 2003 20:47:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 29 Jun 2003 20:47:15 +0000 (UTC) Original-X-From: ding-owner+M1827=ding+2Daccount=gmane.org@lists.math.uh.edu Sun Jun 29 22:47:13 2003 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 19Wj4r-0001kK-00 for ; Sun, 29 Jun 2003 22:47:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19Wj5G-0003iY-01 for ding-account@gmane.org; Sun, 29 Jun 2003 15:47:38 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19Wj57-0003iO-00 for ding@lists.math.uh.edu; Sun, 29 Jun 2003 15:47:29 -0500 Original-Received: (qmail 77899 invoked by alias); 29 Jun 2003 20:47:28 -0000 Original-Received: (qmail 77894 invoked from network); 29 Jun 2003 20:47:28 -0000 Original-Received: from main.gmane.org (80.91.224.249) by sclp3.sclp.com with SMTP; 29 Jun 2003 20:47:28 -0000 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Wj4d-0001jQ-00 for ; Sun, 29 Jun 2003 22:46:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Wj4c-0001jE-00 for ; Sun, 29 Jun 2003 22:46:58 +0200 Original-Lines: 17 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:BCGy/aLAdobcP1oj5KqM+TccUPo= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53283 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53283 Harry Putnam writes: > So how can I tell the function `gnus-agent-batch' which code to load > and prevent it from automatically reading ~/.gnus. Alternatively, maybe examine the call to ~/.gnus on the first line of ~/.gnus to see if it is a batch command. Will gnus be aware of some thing like shell $@ when .gnus is read, where I could look for the `-batch' flag and load certain stuff if its pressent? Any example how that might be done?