From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brendan Halpin Newsgroups: gmane.emacs.help Subject: Re: batch mode Date: Tue, 11 Mar 2008 21:18:22 +0000 Message-ID: <87y78p2c4h.fsf@wivenhoe.staff8.ul.ie> References: <87tzjo3asi.fsf@thalassa.informatimago.com> Reply-To: brendan.halpin@ul.ie NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205296952 27169 80.91.229.12 (12 Mar 2008 04:42:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Mar 2008 04:42:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 12 05:42:58 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JZInn-0006X5-Rg for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Mar 2008 05:42:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZInF-0008Sa-0Q for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Mar 2008 00:42:21 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-X-Trace: individual.net 8YJzi9fI5OSUI4lzyy2zPwraWoY1f1B3vyX8qc9dbebT8TaMNK Cancel-Lock: sha1:t0xzv45vUC03d3IYldJJbS9fxHM= sha1:4Qwl6LwBLZJELVliy+8pUQ6fs0g= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:156900 X-Mailman-Approved-At: Wed, 12 Mar 2008 00:39:18 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52276 Archived-At: Can I hijack the thread to ask if there is a way of suppressing the "Loading" and related start-up messages when using the #!/usr/bin/emacs --script convention? At present this: ------------------------------------------------------------------- #!/usr/bin/emacs --script (princ "Hello World!\n") ------------------------------------------------------------------- generates the following output: ------------------------------------------------------------------- brendan@annacotty:/tmp$ ./hw.el Loading 00debian-vars... Loading /etc/emacs-snapshot/site-start.d/50auctex.el (source)... Loading /usr/share/emacs/23.0.50/site-lisp/auctex.el (source)... Loading /usr/share/emacs/23.0.50/site-lisp/preview-latex.el (source)... Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Skipping dictionaries-common setup for emacs-snapshot Loading /etc/emacs/site-start.d/50gcl.el (source)... Loading /etc/emacs/site-start.d/50slime.el (source)... Loading /usr/share/emacs-snapshot/site-lisp/slime/slime-autoloads... Hello World! ------------------------------------------------------------------- Adding options like -q and --no-site-file to the bang line don't seem to have any effect, and this makes Emacs unattractive for small scripts. Brendan -- Brendan Halpin, Department of Sociology, University of Limerick, Ireland Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F2-025 x 3147 mailto:brendan.halpin@ul.ie http://www.ul.ie/sociology/brendan.halpin.html