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

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

bug#458: [PATCH] Restrain the load message when emacs running with --scr


From: Joe Wells
Subject: bug#458: [PATCH] Restrain the load message when emacs running with --script option
Date: Thu, 09 Jul 2009 18:52:43 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Chong Yidong <address@hidden> writes:

> Joe Wells <address@hidden> writes:
>
>> For example, I have an Emacs script that prints these messages in the
>> middle of its run:
>>
>>   Loading subst-ksc...
>>   Loading subst-gb2312...
>>   Loading subst-big5...
>>   Loading subst-jis...
>>
>> These are not files I loaded directly.  Some package which is not
>> under the control of ordinary users is loading them.
>
> Could you find out which package is performing this noisy loading?
> Normally, packages should use `require', which does not emit messages
> when loading.

Sorry, don't have time to track this down.  Other packages have other
problems.  For example, on another system, I have a Emacs script that
emits these messages:

  Loading /usr/share/emacs/site-lisp/site-start.d/auctex-init.el (source)...
  Loading /usr/share/emacs/site-lisp/site-start.d/auctex.el (source)...
  Loading /usr/share/emacs/site-lisp/site-start.d/ess-init.el (source)...
  Loading /usr/share/emacs/site-lisp/site-start.d/focus-init.el (source)...
  Loading /usr/share/emacs/site-lisp/site-start.d/igrep-init.el (source)...
  Loading /usr/share/emacs/site-lisp/site-start.d/logo-mode.el (source)...
  Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)...
  Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el (source)...
  Loading /usr/share/emacs/site-lisp/site-start.d/preview-latex.el (source)...
  Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el (source)...
  Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el 
(source)...
  Loading /usr/local/share/emacs/site-lisp/sml-mode/sml-mode-startup.el 
(source)...
  Loading subst-ksc...
  Loading subst-gb2312...
  Loading subst-big5...
  Loading subst-jis...
  Loading quail/latin-ltx...
  
  
  
  Loading vc-cvs...

In this case, a bunch of extra loading messages get printed by
site-specific initialization files that come with extra packages (from
Fedora).

(By the way, I don't know what is printing the 3 blank lines in the
middle of the messages above.)

In general, it would be nice if there was a global variable which when
non-nil means “don't print any loading messages at all right now” and
if using the --script command-line option set this variable to t.

I hope this message helps.

-- 
Joe


-- 
Heriot-Watt University is a Scottish charity
registered under charity number SC000278.






reply via email to

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