From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: default.el and site-start.el Date: Fri, 27 Jun 2003 21:45:48 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <848yrn4843.fsf@lucy.is.informatik.uni-duisburg.de> References: <86fzlvrbkv.fsf@bigwalter.net> <342pfvgngqokun85dntsata2d2pisum7ll@4ax.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1056743523 15022 80.91.224.249 (27 Jun 2003 19:52:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 27 Jun 2003 19:52:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 27 21:51:57 2003 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 19VzF6-0003mx-00 for ; Fri, 27 Jun 2003 21:50:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19VzEh-0000md-Mg for gnu-help-gnu-emacs@m.gmane.org; Fri, 27 Jun 2003 15:50:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!p5087754b.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: p5087754b.dip.t-dialin.net (80.135.117.75) Original-X-Trace: fu-berlin.de 1056743189 28939468 80.135.117.75 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:NT/vWT/VlSPqgVahzfVrMjvX0Og= Original-Xref: shelby.stanford.edu gnu.emacs.help:114796 Original-To: help-gnu-emacs@gnu.org 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:11289 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11289 Michael M Mason writes: > Yes: it doesn't explain why there are two site-wide init > files, hence the question. site-start.el is loaded before .emacs, whereas default.el is loaded after .emacs. People can set inhibit-default-init in their .emacs to, well, inhibit loading of default.el. Obviously a variable inhibit-site-start is not possible. It's a matter of taste. If you think that the sysadmin should set up some defaults that users can turn off easily, then default.el is for you. If you think that the sysadmin should set up some defaults that the users can then later each overwrite with their personal settings, then site-start.el is for you. Personally, I define lots of functions in site-start.el and tell users to invoke them in their .emacs file. This way, they can choose to use or not use certain "packages". -- ~/.signature