From kyagi@miraclelinux.com Sat Jun 21 08:13:38 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=BAYES_00,FOURLA,MIXEDBDN, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Jun 2008 15:13:38 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5LFDYMr023494 for ; Sat, 21 Jun 2008 08:13:36 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KA4mU-0003Y1-4V for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 11:13:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KA4mR-0003Xp-MI for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 11:13:32 -0400 Received: from [199.232.76.173] (port=53213 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KA4mR-0003Xk-Gk for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 11:13:31 -0400 Received: from nm04omta05.auone-net.jp ([210.196.14.82]:1449 helo=nmomta.auone-net.jp) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KA4mQ-0004DC-6b for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 11:13:31 -0400 Received: from [192.168.0.2] ([59.139.230.131]) by nm04mta.auone-net.jp id <20080622001324989.MA46.8184150@nm04mta.auone-net.jp>; Sun, 22 Jun 2008 00:13:24 +0900 Message-ID: <485D1B1E.70705@miraclelinux.com> Date: Sun, 22 Jun 2008 00:15:42 +0900 From: Kazuo YAGI User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org, =?UTF-8?B?5YWr5pyo5ZKM55Sf77yI5Lya56S+77yJ?= Subject: [PATCH] Restrain the load message when emacs running with --script option Content-Type: multipart/mixed; boundary="------------030101090902000605040808" X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. This is a multi-part message in MIME format. --------------030101090902000605040808 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi guys, This is a very simple patch for "src/lread.c" to restrain emacs to printing the load message when running with --script option. I also attached the test script(cat.el) to reproduce this bug, and show how emacs works before/after applying this patch below. /// BEFORE PATCHED /////////////////////////////////////////////////// $ ./cat.el cat.el Loading subst-ksc... Loading subst-gb2312... Loading subst-big5... Loading subst-jis... #!/usr/local/bin/emacs --script (dolist (file command-line-args-left) (with-current-buffer (find-file-noselect file) (send-string-to-terminal (buffer-string)))) /// AFTER PATCHED /////////////////////////////////////////////////// $ ./cat.el cat.el #!/usr/local/bin/emacs --script (dolist (file command-line-args-left) (with-current-buffer (find-file-noselect file) (send-string-to-terminal (buffer-string)))) Thanks, - Kazuo YAGI ; In GNU Emacs 22.2.2 (i686-pc-linux-gnu) ; of 2008-06-21 on teresa ; Windowing system distributor `The X.Org Foundation', version 11.0.10400090 --------------030101090902000605040808 Content-Type: text/x-diff; name="restrain-load-message.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="restrain-load-message.patch" --- emacs-22.2/src/lread.c 2008-01-10 21:16:15.000000000 +0900 +++ emacs-22.2tmp/src/lread.c 2008-06-21 22:20:52.000000000 +0900 @@ -1003,7 +1003,7 @@ Return t if the file exists and loads su if (! NILP (Vpurify_flag)) Vpreloaded_file_list = Fcons (file, Vpreloaded_file_list); - if (NILP (nomessage)) + if (!noninteractive && NILP (nomessage)) { if (!safe_p) message_with_string ("Loading %s (compiled; note unsafe, not compiled in Emacs)...", --------------030101090902000605040808 Content-Type: text/plain; name="cat.el" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="cat.el" IyEvdXNyL2xvY2FsL2Jpbi9lbWFjcyAtLXNjcmlwdCAKCihkb2xpc3QgKGZpbGUgY29tbWFu ZC1saW5lLWFyZ3MtbGVmdCkKCSh3aXRoLWN1cnJlbnQtYnVmZmVyIChmaW5kLWZpbGUtbm9z ZWxlY3QgZmlsZSkKCQkoc2VuZC1zdHJpbmctdG8tdGVybWluYWwgKGJ1ZmZlci1zdHJpbmcp KSkpCg== --------------030101090902000605040808-- From jbw@macs.hw.ac.uk Sun Jun 22 01:48:51 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.1 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 458) by emacsbugs.donarmstrong.com; 22 Jun 2008 08:48:51 +0000 Received: from mail-r.hw.ac.uk (mail-r.hw.ac.uk [137.195.101.217]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5M8ml01023573 for <458@emacsbugs.donarmstrong.com>; Sun, 22 Jun 2008 01:48:49 -0700 Received: from izanami.macs.hw.ac.uk ([137.195.13.6]) by mail-r.hw.ac.uk with esmtp (Exim 4.54) id 1KALEo-0002Xf-DO for 458@emacsbugs.donarmstrong.com; Sun, 22 Jun 2008 09:47:54 +0100 Received: from lxultra1.macs.hw.ac.uk ([137.195.27.173]:44193 helo=127.0.0.1) by izanami.macs.hw.ac.uk with smtp (Exim 4.51) id 1KALEo-0006Oq-50 for 458@emacsbugs.donarmstrong.com; Sun, 22 Jun 2008 09:47:54 +0100 Received: (nullmailer pid 20680 invoked by uid 1001); Sun, 22 Jun 2008 08:48:06 -0000 To: 458@debbugs.gnu.org Subject: Re: bug#458: [PATCH] Restrain the load message when emacs running with --script option References: From: Joe Wells Date: Sun, 22 Jun 2008 09:48:06 +0100 In-Reply-To: (Kazuo YAGI's message of "Sun\, 22 Jun 2008 00\:15\:42 +0900") Message-ID: <86zlpdony1.fsf@macs.hw.ac.uk> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-HW-MailScanner-Information: Please contact the HW Helpdesk for more information X-HW-MailScanner: Found to be clean X-HW-MailScanner-SpamCheck: not spam, SpamAssassin (score=-4.399, required 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-HW-MailScanner-From: jbw@macs.hw.ac.uk Kazuo YAGI writes: > This is a very simple patch for "src/lread.c" to restrain emacs > to printing the load message when running with --script option. Hurray! Yes, please install this patch! This will help silence a lot of my cron jobs that spew out these loading messages. -- Joe Wells -- Heriot-Watt University is a Scottish charity registered under charity number SC000278. From rgm@gnu.org Tue Jul 1 00:08:08 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, MURPHY_DRUGS_REL8,NOSUBJECT,RCVD_IN_DNSWL_MED,VALID_BTS_CONTROL autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 1 Jul 2008 07:08:09 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m61786A8026915 for ; Tue, 1 Jul 2008 00:08:07 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KDZxt-00022l-Tp; Tue, 01 Jul 2008 03:07:49 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18537.55237.747316.814484@fencepost.gnu.org> Date: Tue, 1 Jul 2008 03:07:49 -0400 From: Glenn Morris To: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: magenta X-Ran: ,E>QeWl#f=6''T'>x1.qAL":W"(7=="T?1HANw<7jaA!d!wa; Mon, 6 Jul 2009 06:41:20 -0700 Received: from furry (dhcp128036014241.central.yale.edu [128.36.14.241]) (authenticated bits=0) by pantheon-po34.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n66DfD10018347 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 Jul 2009 09:41:13 -0400 Received: by furry (Postfix, from userid 1000) id 69487C0E1; Sun, 5 Jul 2009 01:10:38 -0400 (EDT) From: Chong Yidong To: Kazuo YAGI Cc: 458@debbugs.gnu.org, Joe Wells Subject: Re: [PATCH] Restrain the load message when emacs running with --script option Date: Sun, 05 Jul 2009 01:10:38 -0400 Message-ID: <87d48fsoj5.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > 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'. From jbw@macs.hw.ac.uk Mon Jul 6 07:45:50 2009 Received: (at 458) by emacsbugs.donarmstrong.com; 6 Jul 2009 14:45:50 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.9 required=4.0 tests=AWL,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-r.hw.ac.uk (mail-r.hw.ac.uk [137.195.101.215]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n66EjidH011041 for <458@emacsbugs.donarmstrong.com>; Mon, 6 Jul 2009 07:45:46 -0700 Received: from izanami.macs.hw.ac.uk ([137.195.13.6]) by mail-r.hw.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MNpRd-0003t7-Cz; Mon, 06 Jul 2009 15:45:25 +0100 Received: from lxultra1.macs.hw.ac.uk ([137.195.27.173]:52281 helo=127.0.0.1) by izanami.macs.hw.ac.uk with smtp (Exim 4.69) (envelope-from ) id 1MNpRc-0005UM-2l; Mon, 06 Jul 2009 15:45:24 +0100 Received: (nullmailer pid 16780 invoked by uid 1001); Mon, 06 Jul 2009 14:45:22 -0000 X-Mail-Via: hwu To: Chong Yidong Cc: Kazuo YAGI , 458@debbugs.gnu.org Subject: Re: [PATCH] Restrain the load message when emacs running with --script option References: <87d48fsoj5.fsf@stupidchicken.com> X-c: 2009-07-06T15:40:22 Z 1.3956516187972738 From: Joe Wells Date: Mon, 06 Jul 2009 15:45:22 +0100 In-Reply-To: <87d48fsoj5.fsf@stupidchicken.com> (Chong Yidong's message of "Sun\, 05 Jul 2009 01\:10\:38 -0400") Message-ID: <86vdm5q399.fsf@macs.hw.ac.uk> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii SMTP-Host: localhost SMTP-Port: 4025 X-HW-MailScanner-Information: Please contact the HW Helpdesk for more information X-HW-MailScanner: Found to be clean X-HW-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-2.599, required 5, autolearn=not spam, BAYES_00 -2.60) X-HW-MailScanner-From: jbw@macs.hw.ac.uk Chong Yidong 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. From cyd@stupidchicken.com Mon Jul 6 07:53:09 2009 Received: (at 458) by emacsbugs.donarmstrong.com; 6 Jul 2009 14:53:09 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=AWL,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po33.its.yale.edu (pantheon-po33.its.yale.edu [130.132.50.94]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n66Er5r1012281 for <458@emacsbugs.donarmstrong.com>; Mon, 6 Jul 2009 07:53:06 -0700 Received: from furry (dhcp128036014241.central.yale.edu [128.36.14.241]) (authenticated bits=0) by pantheon-po33.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n66EqdlQ007684 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 Jul 2009 10:52:50 -0400 Received: by furry (Postfix, from userid 1000) id 0A28BC09B; Mon, 6 Jul 2009 10:52:36 -0400 (EDT) From: Chong Yidong To: Joe Wells Cc: Kazuo YAGI , 458@debbugs.gnu.org Subject: Re: [PATCH] Restrain the load message when emacs running with --script option References: <87d48fsoj5.fsf@stupidchicken.com> <86vdm5q399.fsf@macs.hw.ac.uk> Date: Mon, 06 Jul 2009 10:52:35 -0400 In-Reply-To: <86vdm5q399.fsf@macs.hw.ac.uk> (Joe Wells's message of "Mon, 06 Jul 2009 15:45:22 +0100") Message-ID: <87hbxpg8y3.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) 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. From jbw@macs.hw.ac.uk Thu Jul 9 10:53:08 2009 Received: (at 458) by emacsbugs.donarmstrong.com; 9 Jul 2009 17:53:08 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-r.hw.ac.uk (mail-r.hw.ac.uk [137.195.101.217]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n69Hr2qB014632 for <458@emacsbugs.donarmstrong.com>; Thu, 9 Jul 2009 10:53:04 -0700 Received: from izanami.macs.hw.ac.uk ([137.195.13.6]) by mail-r.hw.ac.uk with esmtp (Exim 4.54) id 1MOxnZ-0007wY-6D; Thu, 09 Jul 2009 18:52:45 +0100 Received: from lxultra1.macs.hw.ac.uk ([137.195.27.173]:37292 helo=127.0.0.1) by izanami.macs.hw.ac.uk with smtp (Exim 4.69) (envelope-from ) id 1MOxnX-00013Q-Ss; Thu, 09 Jul 2009 18:52:43 +0100 Received: (nullmailer pid 21201 invoked by uid 1001); Thu, 09 Jul 2009 17:52:43 -0000 X-Mail-Via: hwu To: Chong Yidong Cc: Kazuo YAGI , 458@debbugs.gnu.org Subject: Re: [PATCH] Restrain the load message when emacs running with --script option References: <87d48fsoj5.fsf@stupidchicken.com> <86vdm5q399.fsf@macs.hw.ac.uk> <87hbxpg8y3.fsf@stupidchicken.com> X-c: 2009-07-09T18:47:43 D 3.1216292740846256 From: Joe Wells Date: Thu, 09 Jul 2009 18:52:43 +0100 In-Reply-To: <87hbxpg8y3.fsf@stupidchicken.com> (Chong Yidong's message of "Mon\, 06 Jul 2009 10\:52\:35 -0400") Message-ID: <863a95oiac.fsf@macs.hw.ac.uk> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable SMTP-Host: localhost SMTP-Port: 4025 X-HW-MailScanner-Information: Please contact the HW Helpdesk for more information X-HW-MailScanner: Found to be clean X-HW-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-2.599, required 5, autolearn=not spam, BAYES_00 -2.60) X-HW-MailScanner-From: jbw@macs.hw.ac.uk 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 (so= urce)... Loading /usr/local/share/emacs/site-lisp/sml-mode/sml-mode-startup.el (so= urce)... Loading subst-ksc... Loading subst-gb2312... Loading subst-big5... Loading subst-jis... Loading quail/latin-ltx... =20=20 =20=20 =20=20 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 =E2=80=9Cdon't print any loading messages at all right now=E2= =80=9D and if using the --script command-line option set this variable to t. I hope this message helps. --=20 Joe --=20 Heriot-Watt University is a Scottish charity registered under charity number SC000278. From dann@godzilla.ics.uci.edu Thu Jul 9 14:52:01 2009 Received: (at 458) by emacsbugs.donarmstrong.com; 9 Jul 2009 21:52:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-7.0 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 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) 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) Date: Thu, 9 Jul 2009 14:51:44 -0700 (PDT) Message-Id: <200907092151.n69LpiCY028329@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Joe Wells Cc: 458@debbugs.gnu.org, Chong Yidong , Kazuo YAGI Subject: Re: bug#458: [PATCH] Restrain the load message when emacs running with --script option References: <87d48fsoj5.fsf@stupidchicken.com> <86vdm5q399.fsf@macs.hw.ac.uk> <87hbxpg8y3.fsf@stupidchicken.com> <863a95oiac.fsf@macs.hw.ac.uk> X-Debbugs-No-Ack: yes In-Reply-To: <863a95oiac.fsf@macs.hw.ac.uk> (Joe Wells's message of "Thu, 09 Jul 2009 18:52:43 +0100") Lines: 42 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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' ... From rgm@gnu.org Sat Aug 22 13:12:25 2009 Received: (at control) by emacsbugs.donarmstrong.com; 22 Aug 2009 20:12:25 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.4 required=4.0 tests=AWL,ONEWORD,VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7MKCOZx011554 for ; Sat, 22 Aug 2009 13:12:25 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Mewwp-0005Dg-I0; Sat, 22 Aug 2009 16:12:23 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19088.20775.468560.840754@fencepost.gnu.org> Date: Sat, 22 Aug 2009 16:12:23 -0400 From: Glenn Morris To: control Subject: control reassign 4187 emacs21,cc-mode forwarded 4208 https://bugzilla.redhat.com/show_bug.cgi?id=518659 forcemerge 458 4237 From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 11 08:17:10 2012 Received: (at 458) by debbugs.gnu.org; 11 Apr 2012 12:17:10 +0000 Received: from localhost ([127.0.0.1]:50580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHwU2-0008W1-5x for submit@debbugs.gnu.org; Wed, 11 Apr 2012 08:17:10 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:55382) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHwTy-0008Vm-DW for 458@debbugs.gnu.org; Wed, 11 Apr 2012 08:17:08 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1SHwSk-0001qt-FA; Wed, 11 Apr 2012 14:15:50 +0200 From: Lars Magne Ingebrigtsen To: Dan Nicolaescu Subject: Re: bug#458: [PATCH] Restrain the load message when emacs running with --script option References: <87d48fsoj5.fsf@stupidchicken.com> <86vdm5q399.fsf@macs.hw.ac.uk> <87hbxpg8y3.fsf@stupidchicken.com> <863a95oiac.fsf@macs.hw.ac.uk> <200907092151.n69LpiCY028329@godzilla.ics.uci.edu> X-Now-Playing: Zazou, Bikaye & Cy1's _Noir et Blanc_: "Dju Ya Feza" Date: Wed, 11 Apr 2012 14:15:49 +0200 In-Reply-To: <200907092151.n69LpiCY028329@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Thu, 9 Jul 2009 14:51:44 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1SHwSk-0001qt-FA X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1334751350.52456@Xgf73RNpukkiyVhZybT7rw X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 458 Cc: 458@debbugs.gnu.org, Joe Wells , Chong Yidong , Kazuo YAGI X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Dan Nicolaescu writes: > site-start.el is not provided by emacs, but by the distribution. > You can ask them to use the NOMESSAGE argument to `load' ... Yeah, this seems like a bug in the Fedora setup, and not something that needs fixing in Emacs, so I'm closing this report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 11 08:17:14 2012 Received: (at control) by debbugs.gnu.org; 11 Apr 2012 12:17:14 +0000 Received: from localhost ([127.0.0.1]:50583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHwU5-0008WI-Lf for submit@debbugs.gnu.org; Wed, 11 Apr 2012 08:17:14 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:55392) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHwU2-0008W8-R9 for control@debbugs.gnu.org; Wed, 11 Apr 2012 08:17:11 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1SHwSs-0001r8-HX for control@debbugs.gnu.org; Wed, 11 Apr 2012 14:15:58 +0200 Date: Wed, 11 Apr 2012 14:15:58 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #458 X-MailScanner-ID: 1SHwSs-0001r8-HX X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1334751358.62349@PKtZdFC8FHUkoJHRwqFnRw X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) close 458 From unknown Sat Aug 16 21:00:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 10 May 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator