From: Brendan Halpin <brendan.halpin@ul.ie>
To: help-gnu-emacs@gnu.org
Subject: Re: batch mode
Date: Tue, 11 Mar 2008 21:18:22 +0000 [thread overview]
Message-ID: <87y78p2c4h.fsf@wivenhoe.staff8.ul.ie> (raw)
In-Reply-To: mailman.8214.1204537035.18990.help-gnu-emacs@gnu.org
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
next prev parent reply other threads:[~2008-03-11 21:18 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.8180.1204483870.18990.help-gnu-emacs@gnu.org>
2008-03-03 0:34 ` batch mode Pascal Bourguignon
2008-03-03 9:36 ` Sebastian Tennant
[not found] ` <mailman.8214.1204537035.18990.help-gnu-emacs@gnu.org>
2008-03-11 21:18 ` Brendan Halpin [this message]
2008-03-12 14:50 ` Suppressing load messages (was: batch mode) Joel J. Adamson
[not found] ` <mailman.8762.1205333492.18990.help-gnu-emacs@gnu.org>
2008-03-12 15:31 ` Suppressing load messages Brendan Halpin
2008-03-12 15:58 ` Lennart Borgman (gmail)
2008-03-12 16:59 ` Joel J. Adamson
[not found] ` <mailman.8775.1205341175.18990.help-gnu-emacs@gnu.org>
2008-03-12 17:30 ` Brendan Halpin
2008-03-12 17:56 ` Lennart Borgman (gmail)
2008-03-12 18:52 ` Joel J. Adamson
[not found] ` <mailman.8782.1205347999.18990.help-gnu-emacs@gnu.org>
2008-03-12 22:35 ` Brendan Halpin
2008-03-13 16:04 ` Joel J. Adamson
[not found] ` <mailman.8845.1205424297.18990.help-gnu-emacs@gnu.org>
2008-03-13 16:54 ` Brendan Halpin
2008-03-13 18:01 ` Lennart Borgman (gmail)
[not found] ` <mailman.8771.1205337534.18990.help-gnu-emacs@gnu.org>
2008-03-12 17:53 ` Brendan Halpin
2008-03-12 18:03 ` Exal de Jesus Garcia Carrillo
2008-03-12 18:35 ` Brendan Halpin
2008-03-12 18:47 ` Exal de Jesus Garcia Carrillo
2008-03-12 22:03 ` Lennart Borgman (gmail)
2008-03-12 23:32 ` Glenn Morris
2008-03-12 23:37 ` Glenn Morris
2008-03-13 3:09 ` Glenn Morris
2008-03-13 1:31 ` Lennart Borgman (gmail)
2008-03-13 3:42 ` Giorgos Keramidas
2008-03-31 2:34 ` David Combs
[not found] ` <mailman.8816.1205371922.18990.help-gnu-emacs@gnu.org>
2008-03-13 9:00 ` Brendan Halpin
2008-03-02 18:50 batch mode Sebastian Tennant
2008-03-02 22:22 ` Peter Dyballa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y78p2c4h.fsf@wivenhoe.staff8.ul.ie \
--to=brendan.halpin@ul.ie \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).