From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53284 Path: main.gmane.org!not-for-mail From: lawrence mitchell Newsgroups: gmane.emacs.gnus.general Subject: Re: How to make gnus read something besides .gnus in batch mode Date: Sun, 29 Jun 2003 22:22:42 +0100 Organization: me 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 1056921765 14945 80.91.224.249 (29 Jun 2003 21:22:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 29 Jun 2003 21:22:45 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M1828@lists.math.uh.edu Sun Jun 29 23:22:43 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 19WjdD-0003sq-00 for ; Sun, 29 Jun 2003 23:22:43 +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 19WjdT-0003ql-00; Sun, 29 Jun 2003 16:22:59 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19WjdK-0003qd-00 for ding@lists.math.uh.edu; Sun, 29 Jun 2003 16:22:50 -0500 Original-Received: (qmail 79163 invoked by alias); 29 Jun 2003 21:22:50 -0000 Original-Received: (qmail 79158 invoked from network); 29 Jun 2003 21:22:50 -0000 Original-Received: from sloth.ph.ed.ac.uk (129.215.72.230) by sclp3.sclp.com with SMTP; 29 Jun 2003 21:22:50 -0000 Original-Received: from sybil.ph.ed.ac.uk (sybil.ph.ed.ac.uk [129.215.73.53]) by sloth.ph.ed.ac.uk (8.9.3p2/8.9.3) with ESMTP id WAA12477; Sun, 29 Jun 2003 22:22:42 +0100 (BST) Original-Received: (from p0198183@localhost) by sybil.ph.ed.ac.uk (8.9.3p2/8.9.3) id WAA27652; Sun, 29 Jun 2003 22:22:42 +0100 (BST) X-Authentication-Warning: sybil.ph.ed.ac.uk: p0198183 set sender to s0198183+ding@sms.ed.ac.uk using -f Original-To: Harry Putnam X-No-Yes: No Mail-Followup-To: Harry Putnam , ding@gnus.org In-Reply-To: (Harry Putnam's message of "Sun, 29 Jun 2003 10:24:31 -0700") User-Agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/20.4 (sparc-sun-solaris2.6) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53284 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53284 Harry Putnam wrote: > I want to run batch commands but not read my standard .emacs .gnus > site-start.el. I've learned from the past that things in any init > files that write to standard out like (message) can cause I/O errors. > But I like having some of those in there... so: > I compile an init file on the fly for gnus (or emacs) to read. But > how can I aim gnus at only that file? [...] How about something along the lines of: emacs -batch --eval '(setq gnus-init-file "~/.not-dot-gnus")' \ -f gnus-agent-batch -- lawrence mitchell