From: Brendan Halpin <brendan.halpin@ul.ie>
To: help-gnu-emacs@gnu.org
Subject: Re: Suppressing load messages
Date: Wed, 12 Mar 2008 17:53:07 +0000 [thread overview]
Message-ID: <87ejafsubg.fsf@wivenhoe.staff8.ul.ie> (raw)
In-Reply-To: mailman.8771.1205337534.18990.help-gnu-emacs@gnu.org
"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
> Excuse me, I did not follow, but do you need to run site-start.el
>
> I tested this:
>
> C:\test>emacs -Q -batch -l hello.el
> Hello World!
No, I'm talking about using it to write script files than be invoked
under the shell (bash etc.):
+-------------------------------------------------------------------
|brendan@wivenhoe:/tmp$ cat hw.el
|#! /usr/bin/emacs --script
|(princ "Hello!\n")
|brendan@wivenhoe:/tmp$ chmod +x hw.el
|brendan@wivenhoe:/tmp$ ./hw.el
|Loading 00debian-vars...
|Loading /etc/emacs/site-start.d/50a2ps.el (source)...
|Loading a2ps-print...
|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/50css-mode.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/50emacs-goodies-el.el (source)...
|Loading /etc/emacs/site-start.d/50html-helper-mode.el (source)...
|Loading /etc/emacs/site-start.d/50slime.el (source)...
|Loading /usr/share/emacs-snapshot/site-lisp/slime/slime-autoloads...
|Hello!
|brendan@wivenhoe:/tmp$
+-------------------------------------------------------------------
As you can see, while I do get the output, it also loads a lot of
irrelevant files and generates lots of output to stderr.
The -Q, -batch and -no-site-file arguments aren't accepted on the
"#! /usr/bin/emacs --script" line.
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-12 17:53 UTC|newest]
Thread overview: 26+ 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
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 [this message]
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
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=87ejafsubg.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).