all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: default.el and site-start.el
Date: Fri, 27 Jun 2003 21:45:48 +0200	[thread overview]
Message-ID: <848yrn4843.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: 342pfvgngqokun85dntsata2d2pisum7ll@4ax.com

Michael M Mason <admin@cambridge-optical.com> 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

  reply	other threads:[~2003-06-27 19:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-27  9:25 default.el and site-start.el Michael M Mason
2003-06-27 11:42 ` Daniel Jensen
2003-06-27 18:20   ` Michael M Mason
2003-06-27 19:45     ` Kai Großjohann [this message]
2003-06-27 20:24     ` Stefan Monnier
2003-06-29  1:46       ` David Masterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=848yrn4843.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.