From tromey@redhat.com Sat Aug 22 12:58:01 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 22 Aug 2009 19:58: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=-0.6 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7MJw0jG008597 for ; Sat, 22 Aug 2009 12:58:01 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mewiu-0003Df-02 for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2009 15:58:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mewio-0003DS-EV for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2009 15:57:58 -0400 Received: from [199.232.76.173] (port=50217 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mewio-0003DA-8z for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2009 15:57:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:3726) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mewin-0000rF-Mo for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2009 15:57:54 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7MJvpGK006135 for ; Sat, 22 Aug 2009 15:57:51 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7MJvpeQ022976; Sat, 22 Aug 2009 15:57:51 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n7MJvn55019307; Sat, 22 Aug 2009 15:57:50 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 6466F378612; Sat, 22 Aug 2009 13:57:49 -0600 (MDT) From: Tom Tromey To: bug-gnu-emacs@gnu.org Subject: 23.1; --script prints loading messages Reply-To: Tom Tromey X-Attribution: Tom Date: Sat, 22 Aug 2009 13:57:48 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I wrote a script in elisp that I run with "emacs --script". It prints a lot of stuff before the script even starts: Loading /usr/share/emacs/site-lisp/site-start.d/bbdb-mode-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/git-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/gnuplot-init.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/rpm-spec-mode-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/vm-mode-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/w3m-init.el (source)... I think that --script would be nicer if, by default, messages emanating from Emacs were suppressed; only messages from my script should be emitted. For debugging purposes a --verbose flag or the like might help. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.1/etc/DEBUG for instructions. In GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.16.5) of 2009-08-03 on x86-5.fedora.phx.redhat.com Windowing system distributor `The X.Org Foundation', version 11.0.10601901 configured using `configure '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i586-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i586-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-spelling-mode: t erc-truncate-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t highlight-changes-visible-mode: t flyspell-mode: t eldoc-mode: t erc-status-mode: t erc-services-mode: t erc-networks-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-f M-f M-b M-b M-d C-z o C-p C-p C-z o C-a C-p C-p C-p C-SPC C-n C-n M-w C-z o M-< C-u C-n C-n C-n C-y C-p C-p C-e C-k SPC C-e M-b M-b M-b M-b M-f C-f SPC P P _ S-SPC ( C-e M-b M-d C-e ) ; C-x C-s C-z o C-x C-s C-u C-x b * g i C-x 1 C-u C-SPC C-u C-n C-n C-n C-n C-w C-x 1 C-c b C-x b * g i C-z o C-x s y C-c c C-x o C-x 1 M-> C-z o C-c b C-g C-u C-x C-f x - C-v C-l C-u C-n C-u C-n C-d C-d C-d C-e C-f C-f C-x C-s C-z o C-c c M-p C-x b * s h C-c C-o M-p I SPC t h i n k SPC w e SPC w a n t SPC i t SPC k i n d SPC o f SPC s o o n m a y b e SPC e v e n SPC t h i s SPC w e e k e n d b e o r e SPC t h C-a C-f C-f e f C-e e SPC e g g l p l a n t SPC g o e s SPC b a d C-c C-g C-x b * c o m C-c c M-p M-> C-x b M-v M-v M-v M-{ M-v M-v C-v C-z o M-x r e p o r t - e m b Recent messages: Quit Saving file /home/tromey/gnu/Emacs/git-emacs/emacs/src/x-defvar.el... Wrote /home/tromey/gnu/Emacs/git-emacs/emacs/src/x-defvar.el (No files need saving) Compilation finished History item: 1 (No files need saving) Mark set compilation-next-error: Moved back before first error Making completion list... Tom 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 aaron.s.hawley@gmail.com Sun Aug 23 13:37:31 2009 Received: (at 4237) by emacsbugs.donarmstrong.com; 23 Aug 2009 20:37:31 +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.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7NKbT0a003207 for <4237@emacsbugs.donarmstrong.com>; Sun, 23 Aug 2009 13:37:30 -0700 Received: by qw-out-2122.google.com with SMTP id 9so1124299qwb.13 for <4237@emacsbugs.donarmstrong.com>; Sun, 23 Aug 2009 13:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=GaSCGPun6s/TYIjIg7dchu4Wib/hCaRLFjiGRzD5x8A=; b=w/OAs4aGtCPjW2JS3dL4zv0dvhpYFJL5CfAnIzshKVHHMQk8PioggE1xzOE5aRp2p2 Fp5cjCJ9+CNKVmSued+INNiWnoy1JkCY6vmk6HuKpvmrYieHQjEwWxV8XU+ExptrArTI poBqf4i6dzX4CVe7JpuwqTXzCIMy/pUmsyUrk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=hl4vsOYAsqbsuZuXADq7iZbw+s+dW9KfnXzXdThisuWGsAsFKQPAJ1djlB+yWgP2Jx VAxj3x5kAAWmujXMQfb9uPNbpUVV1XgWnW5fihpRBvQO9ekCFU6YM4YrCf0D70Q3n87G I+9dNYLO/5deRZzAiLXhBfH0rzg6nBuBS8FE8= MIME-Version: 1.0 Received: by 10.224.93.67 with SMTP id u3mr2282836qam.112.1251059848082; Sun, 23 Aug 2009 13:37:28 -0700 (PDT) Date: Sun, 23 Aug 2009 16:37:28 -0400 Message-ID: Subject: Re: 23.1; --script prints loading messages From: "Aaron S. Hawley" To: 4237@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I'm not an Emacs developer, but want to make a few comments. I think Emacs does a pretty good job of keeping quiet. I can understand the frustration. Especially because I have used Fedora and seen the same messages. When I've needed to use --batch (same as --script), I would simply add the -Q or -q options to avoid seeing such messages. This had the potential secondary benefit of optimizing the startup time for the Emacs batch process I was working on, as well. Perhaps, Emacs could be changed to mute messages that are part of the site file or the init file when the --script option is used -- which is the actual request. But perhaps people interested in writing Emacs Lisp scripts should be told to be especially careful to keep their site and user init files quiet. For example, the site-run-file file included with Emacs for Fedora GNU/Linux could be fixed: --- site-start.el 09 Sep 2004 00:37:38 -0400 1.9 +++ site-start.el 23 Aug 2009 16:07:17 -0400 @@ -1,5 +1,5 @@ ;;; loaded before user's ".emacs" file and default.el ;; load ".el" files in "/usr/share/emacs/site-lisp/site-start.d/" on startup -(mapc 'load +(mapc (lambda (f) (load f nil 'nomessage)) (directory-files "/usr/share/emacs/site-lisp/site-start.d" t "\\.el\\'")) 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 Fri Aug 15 21:25:12 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