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: Mon, 06 Jul 2009 15:45:22 +0100	[thread overview]
Message-ID: <86vdm5q399.fsf@macs.hw.ac.uk> (raw)
In-Reply-To: <87d48fsoj5.fsf@stupidchicken.com> (Chong Yidong's message of "Sun\, 05 Jul 2009 01\:10\:38 -0400")

Chong Yidong <cyd@stupidchicken.com> 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	other threads:[~2009-07-06 14:45 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 [this message]
2009-07-06 14:52   ` Chong Yidong
2009-07-09 17:52     ` Joe Wells
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=86vdm5q399.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.