From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68290 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: How to avoid loading certain things in batch mode Date: Fri, 13 Feb 2009 10:37:16 -0600 Organization: Still searching... Message-ID: <87r6225m4j.fsf@newsguy.com> References: <877i3yfctl.fsf@newsguy.com> <87tz704soy.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234543153 30106 80.91.229.12 (13 Feb 2009 16:39:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2009 16:39:13 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16731@lists.math.uh.edu Fri Feb 13 17:40:28 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LY15K-0005xy-K8 for ding-account@gmane.org; Fri, 13 Feb 2009 17:40:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LY12p-0004ft-R7; Fri, 13 Feb 2009 10:37:39 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LY12n-0004fe-Vq for ding@lists.math.uh.edu; Fri, 13 Feb 2009 10:37:37 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LY12j-0007XU-If for ding@lists.math.uh.edu; Fri, 13 Feb 2009 10:37:37 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LY134-0000b8-00 for ; Fri, 13 Feb 2009 17:37:54 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LY12b-00070k-9g for ding@gnus.org; Fri, 13 Feb 2009 16:37:25 +0000 Original-Received: from c-98-215-178-6.hsd1.in.comcast.net ([98.215.178.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Feb 2009 16:37:25 +0000 Original-Received: from reader by c-98-215-178-6.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Feb 2009 16:37:25 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-215-178-6.hsd1.in.comcast.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:3D7XM7Xd2L41MsOrXquMAb1iQ0I= X-Spam-Score: -3.6 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68290 Archived-At: Reiner Steib writes: > On Tue, Feb 10 2009, Harry Putnam wrote: > >> For example: >> emacs -batch -l ~/.emacs -l ~/.gnus -f gnus-agent-batch >> [...] >> Loading /home/gnusu/.emacs-dir/sub_gnus.el... >> Symbol's value as variable is void: gnus-summary-mode-map >> >> That file (sub_gnus.el) loads fine in a live session but balks when gnus >> is run in batch mode. > > We could give more specific help if you posted the code in question. Well maybe, but I haven't sorted out all the different parts that make -batch cough.. and any way, what is doing it isn't as important as how to steer gnus around it when in batch mode. Thanks for supplying that information in your post [...] > > (unless noninteractive > ...fancy stuff...) Yup that is what I was after.