From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#458: [PATCH] Restrain the load message when emacs running with --script option Date: Thu, 9 Jul 2009 14:51:44 -0700 (PDT) Message-ID: <200907092151.n69LpiCY028329@godzilla.ics.uci.edu> References: <87d48fsoj5.fsf@stupidchicken.com> <86vdm5q399.fsf@macs.hw.ac.uk> <87hbxpg8y3.fsf@stupidchicken.com> <863a95oiac.fsf@macs.hw.ac.uk> Reply-To: Dan Nicolaescu , 458@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247177870 4367 80.91.229.12 (9 Jul 2009 22:17:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jul 2009 22:17:50 +0000 (UTC) Cc: Chong Yidong , Kazuo YAGI , 458@emacsbugs.donarmstrong.com To: Joe Wells Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 10 00:17:42 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MP1vx-0008UZ-QX for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Jul 2009 00:17:42 +0200 Original-Received: from localhost ([127.0.0.1]:55983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MP1vx-0002P3-5n for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Jul 2009 18:17:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MP1vr-0002NF-C6 for bug-gnu-emacs@gnu.org; Thu, 09 Jul 2009 18:17:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MP1vm-0002Lr-9x for bug-gnu-emacs@gnu.org; Thu, 09 Jul 2009 18:17:34 -0400 Original-Received: from [199.232.76.173] (port=43922 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MP1vm-0002Lo-6p for bug-gnu-emacs@gnu.org; Thu, 09 Jul 2009 18:17:30 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38538) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MP1vl-0004Up-Qc for bug-gnu-emacs@gnu.org; Thu, 09 Jul 2009 18:17:30 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n69MHQ7k027087; Thu, 9 Jul 2009 15:17:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n69M03Dr023480; Thu, 9 Jul 2009 15:00:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 09 Jul 2009 22:00:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 458 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Original-Received: via spool by 458-submit@emacsbugs.donarmstrong.com id=B458.124717632222492 (code B ref 458); Thu, 09 Jul 2009 22:00:03 +0000 Original-Received: (at 458) by emacsbugs.donarmstrong.com; 9 Jul 2009 21:52:02 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n69Lpwvk022486 for <458@emacsbugs.donarmstrong.com>; Thu, 9 Jul 2009 14:51:59 -0700 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n69LpkRd022646; Thu, 9 Jul 2009 14:51:46 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n69LpiCY028329; Thu, 9 Jul 2009 14:51:44 -0700 (PDT) In-Reply-To: <863a95oiac.fsf@macs.hw.ac.uk> (Joe Wells's message of "Thu, 09 Jul 2009 18:52:43 +0100") Original-Lines: 42 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n69LpkRd022646 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 09 Jul 2009 18:17:34 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29282 Archived-At: Joe Wells writes: > Chong Yidong writes: > > > Joe Wells 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)... These looks like a Fedora (or RedHat system) system, site-start.el loads these files. site-start.el is not provided by emacs, but by the distribution. You can ask them to use the NOMESSAGE argument to `load' ...