GNU bug report logs -
#4237
23.1; --script prints loading messages
Previous Next
Reported by: Tom Tromey <tromey <at> redhat.com>
Date: Sat, 22 Aug 2009 20:05:05 UTC
Severity: wishlist
Tags: patch
Merged with 458
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #12 received at 4237 <at> emacsbugs.donarmstrong.com (full text, mbox):
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\\'"))
This bug report was last modified 13 years and 100 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.