From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Doug Lewan Newsgroups: gmane.emacs.help Subject: RE: Silently loading site files in -batch mode Date: Mon, 6 Aug 2012 15:55:16 +0000 Message-ID: <155DEC68569B714B86C2C7075F5EDA98268CC8E8@DAKIYA1.pegasus.local> References: <501F552E.1020101@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1344268509 23049 80.91.229.3 (6 Aug 2012 15:55:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2012 15:55:09 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Jack Kelly Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 06 17:55:06 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SyPe6-0004K8-Da for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2012 17:55:06 +0200 Original-Received: from localhost ([::1]:59321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyPe5-0002XQ-Qw for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2012 11:55:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyPdy-0002XA-Jl for help-gnu-emacs@gnu.org; Mon, 06 Aug 2012 11:54:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SyPdw-0007fj-Qw for help-gnu-emacs@gnu.org; Mon, 06 Aug 2012 11:54:58 -0400 Original-Received: from webmail.shubertorg.com ([207.246.209.200]:5415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyPdw-0007fJ-Nu for help-gnu-emacs@gnu.org; Mon, 06 Aug 2012 11:54:56 -0400 Original-Received: from dakiya1.pegasus.local ([::1]) by DAKIYA1.pegasus.local ([::1]) with mapi id 14.01.0339.001; Mon, 6 Aug 2012 11:55:17 -0400 Thread-Topic: Silently loading site files in -batch mode Thread-Index: AQHNc1YbcxZ5M1aS0EyBaFcALZgqCZdMhAoAgAAx5YCAADqYEA== In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-hashedpuzzle: CLls DGtT D/5r EQuU EcZl Hdcm KCXm LiVx MG/h MTLW MkvC PH3h PKUp PiUi PqkN Rtof; 2; aABlAGwAcAAtAGcAbgB1AC0AZQBtAGEAYwBzAEAAZwBuAHUALgBvAHIAZwA7AGoAYQBjAGsAQABqAGEAYwBrAGsAZQBsAGwAeQAuAG4AYQBtAGUA; Sosha1_v1; 7; {19922464-D08C-4B01-BCF2-5177F2BF0799}; ZABvAHUAZwBsAEAAcwBoAHUAYgBlAHIAdAB0AGkAYwBrAGUAdABpAG4AZwAuAGMAbwBtAA==; Mon, 06 Aug 2012 15:54:50 GMT; UgBFADoAIABTAGkAbABlAG4AdABsAHkAIABsAG8AYQBkAGkAbgBnACAAcwBpAHQAZQAgAGYAaQBsAGUAcwAgAGkAbgAgAC0AYgBhAHQAYwBoACAAbQBvAGQAZQA= x-cr-puzzleid: {19922464-D08C-4B01-BCF2-5177F2BF0799} x-originating-ip: [10.0.21.202] X-detected-operating-system: by eggs.gnu.org: Windows XP/2000 (RFC1323+, w+, tstamp-) X-Received-From: 207.246.209.200 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86221 Archived-At: Everything that you (require) will be loaded -- even with -Q. If there's something that's not, then that's a bug in the code that needs i= t. ,Doug > -----Original Message----- > From: help-gnu-emacs-bounces+dougl=3Dshubertticketing.com@gnu.org > [mailto:help-gnu-emacs-bounces+dougl=3Dshubertticketing.com@gnu.org] On > Behalf Of Jack Kelly > Sent: Monday, 2012 August 06 04:24 > To: Andreas R=F6hler > Cc: help-gnu-emacs@gnu.org > Subject: Re: Silently loading site files in -batch mode >=20 > On Mon, Aug 6, 2012 at 3:25 PM, Andreas R=F6hler > wrote: > > Am 06.08.2012 00:02, schrieb Jack Kelly: > > > > $EMACS -Q --batch --eval "(load \"MY-FILE\" nil t)" >=20 > This is quiet and simple, but is it safe to invoke the byte-compiler > with -Q? I worry that in some cases, a required package might not be > loaded if -Q is used. The byte-compile could then fail if (require > 'foo) in the compiled file fails. Or am I wrong? >=20 > -- Jack