all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joe Wells <jbw@macs.hw.ac.uk>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Kazuo YAGI <kyagi@miraclelinux.com>, 458@emacsbugs.donarmstrong.com
Subject: bug#458: [PATCH] Restrain the load message when emacs running with --script option
Date: Thu, 09 Jul 2009 18:52:43 +0100	[thread overview]
Message-ID: <863a95oiac.fsf@macs.hw.ac.uk> (raw)
In-Reply-To: <87hbxpg8y3.fsf@stupidchicken.com> (Chong Yidong's message of "Mon\, 06 Jul 2009 10\:52\:35 -0400")

Chong Yidong <cyd@stupidchicken.com> writes:

> Joe Wells <jbw@macs.hw.ac.uk> 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	other threads:[~2009-07-09 17:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-05  5:10 bug#458: [PATCH] Restrain the load message when emacs running with --script option Chong Yidong
2009-07-06 14:45 ` Joe Wells
2009-07-06 14:52   ` Chong Yidong
2009-07-09 17:52     ` Joe Wells [this message]
2009-07-09 21:51       ` Dan Nicolaescu
2012-04-11 12:15         ` Lars Magne Ingebrigtsen
     [not found] <mailman.13668.1214062038.18990.bug-gnu-emacs@gnu.org>
2008-06-22  8:48 ` Joe Wells
  -- strict thread matches above, loose matches on Subject: below --
2008-06-21 15:15 Kazuo YAGI

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=863a95oiac.fsf@macs.hw.ac.uk \
    --to=jbw@macs.hw.ac.uk \
    --cc=458@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=kyagi@miraclelinux.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.