help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suppressing load messages


From: Brendan Halpin
Subject: Re: Suppressing load messages
Date: Wed, 12 Mar 2008 17:53:07 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

"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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]