From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jack Kelly Newsgroups: gmane.emacs.help Subject: Re: Silently loading site files in -batch mode Date: Mon, 6 Aug 2012 18:23:37 +1000 Message-ID: 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 1344268103 18717 80.91.229.3 (6 Aug 2012 15:48:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2012 15:48:23 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?ISO-8859-1?Q?Andreas_R=F6hler?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 06 17:48:23 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 1SyPXb-0007Bb-2s for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2012 17:48:23 +0200 Original-Received: from localhost ([::1]:57028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyPXa-0000ho-Ew for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2012 11:48:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyIbD-0006kR-7l for help-gnu-emacs@gnu.org; Mon, 06 Aug 2012 04:23:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SyIbC-00086t-BP for help-gnu-emacs@gnu.org; Mon, 06 Aug 2012 04:23:39 -0400 Original-Received: from mail-wi0-f171.google.com ([209.85.212.171]:62782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyIbC-00086i-4b for help-gnu-emacs@gnu.org; Mon, 06 Aug 2012 04:23:38 -0400 Original-Received: by wibhq4 with SMTP id hq4so1069102wib.12 for ; Mon, 06 Aug 2012 01:23:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=SPqCrPKkLjp6gjeeV5ulD6RTgM9vqI6yEEFbntMop/8=; b=fTdKFPDJgGjuZnt9ya3kM00Cbxc6pgnJ5MhsLHgCiHLScloq74FUZBm4bRLnf9v98A wRpK7eaBfWZLOkn1W/rb934WREEH5Rw4LUmLBgaFJPPdPwH7hImZUzp1NX1olH3hN4Te pNC5r3L5W230yJ0nhnrWC07O8tl22NrhgCKWbCLezVO+CWKNRRRXQJzz1uEtpvMPq11n skVGOQGTajcPpHLW2OgXrAM9TY4/jHilZG+OYsv6pll2COaSQPkXAqoFgkH/REdTCYpb yJvtDb6hthqUXadYRxKLmStXxprdnfNxSga4pscyCu7J7z6VKMvE3SS2WZezOdJek+X1 AWEQ== Original-Received: by 10.180.82.164 with SMTP id j4mr16352140wiy.18.1344241417364; Mon, 06 Aug 2012 01:23:37 -0700 (PDT) Original-Received: by 10.194.93.196 with HTTP; Mon, 6 Aug 2012 01:23:37 -0700 (PDT) In-Reply-To: <501F552E.1020101@easy-emacs.de> X-Google-Sender-Auth: 0lyvFVWLtM1m4bIh0zuj169uIhY X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.171 X-Mailman-Approved-At: Mon, 06 Aug 2012 11:48:18 -0400 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:86220 Archived-At: 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)" 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? -- Jack