From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Baffling phenomena with site-start.el Date: Sun, 9 Feb 2003 08:17:38 +0200 (IST) Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1044771409 30067 80.91.224.249 (9 Feb 2003 06:16:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 9 Feb 2003 06:16:49 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18hklj-0007oo-00 for ; Sun, 09 Feb 2003 07:16:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18hknC-0005GX-02 for gnu-help-gnu-emacs@m.gmane.org; Sun, 09 Feb 2003 01:18:18 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18hkn2-0005GQ-00 for help-gnu-emacs@gnu.org; Sun, 09 Feb 2003 01:18:08 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18hkn0-0005D4-00 for help-gnu-emacs@gnu.org; Sun, 09 Feb 2003 01:18:08 -0500 Original-Received: from is.elta.co.il ([199.203.121.2]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18hkmz-00054H-00 for help-gnu-emacs@gnu.org; Sun, 09 Feb 2003 01:18:05 -0500 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id IAA24475 for ; Sun, 9 Feb 2003 08:17:38 +0200 (IST) X-Sender: eliz@is Original-To: help-gnu-emacs@gnu.org In-Reply-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6476 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6476 On Sun, 9 Feb 2003, Harry Putnam wrote: > Briefly, the phenomena is that this line of code: > (setq inhibit-startup-message t) > Is ignored when inserted in site-start.el, but works (prevents splash > screen) when inserted in ~.emacs. This is by design. The following fragment from startup.el should explain why: ;; Run the site-start library if it exists. The point of this file is ;; that it is run before .emacs. There is no point in doing this after ;; .emacs; that is useless. (if site-run-file (load site-run-file t t)) ;; Sites should not disable this. Only individuals should disable ;; the startup message. (setq inhibit-startup-message nil) ;; Load that user's init file, or the default one, or none. As you see, the startup code forcefully resets inhibit-startup-message after it loads site-start.el, to prevent site administrators from doing exactly what you wanted to do.