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: Mon, 06 Jul 2009 15:45:22 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Chong Yidong <address@hidden> writes:

>> This is a very simple patch for "src/lread.c" to restrain emacs to
>> printing the load message when running with --script option.
>
> Could you explain why this is a good thing?  If the load message is not
> desired, the lisp code should call `load' with a NOERROR argument, or
> use `require'.

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.

It is this kind of message that needs to be silenced.

I hope this helps.

-- 
Joe

P.S.  I'm not entirely sure why I got CC-ed on this message, but I'm
happy to comment on it!


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






reply via email to

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