From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: Documentation on default.el vs site-start.el Date: Wed, 19 Oct 2005 09:32:45 -0600 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1129741295 24984 80.91.229.2 (19 Oct 2005 17:01:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2005 17:01:35 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 19 19:01:32 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESHHG-0008T4-Lk for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2005 18:58:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESHHG-0005sL-3s for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2005 12:58:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESG07-00036P-Cz for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2005 11:37:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESG05-00035v-3Q for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2005 11:37:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESG04-00035n-QP for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2005 11:37:08 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1ESG04-0001S9-Q7 for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2005 11:37:09 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ESFxb-0003p1-Ta for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2005 17:34:37 +0200 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Oct 2005 17:34:35 +0200 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Oct 2005 17:34:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Lines: 28 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: 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:13556 Archived-At: Niels Möller wrote: > The manual describes "site-start.el" in the section "The Init File, > `~/.emacs'", like this: > > Your site may also have a "site startup file"; this is named > `site-start.el', if it exists. Like `default.el', Emacs finds this > file via the standard search path for Lisp libraries. Emacs loads this > library before it loads your init file. To inhibit loading of this > library, use the option `-no-site-file'. *Note Initial Options::. > > This doesn't explain when one should use default.el and when one > should use site-start.el. The documentation string for site-run-file > in startup.el gives the following advice: > > Don't use the `site-start.el' file for things some users may not like. > Put them in `default.el' instead, so that users can more easily > override them. Users can prevent loading `default.el' with the `-q' > option or by setting `inhibit-default-init' in their own init files, > but inhibiting `site-start.el' requires `--no-site-file', which > is less convenient. `C-h v site-run-file' also says that it is customizable, but that seems pointless: by the time the customization is done (whether in custom-file, .emacs, or default.el) the default site-run-file has already been loaded. -- Kevin Rodgers