unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Documentation on default.el vs site-start.el
Date: Wed, 19 Oct 2005 09:32:45 -0600	[thread overview]
Message-ID: <dj5ouv$52g$1@sea.gmane.org> (raw)
In-Reply-To: <nn8xwpwztx.fsf@adriana.lysator.liu.se>

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

  reply	other threads:[~2005-10-19 15:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-19 10:44 Documentation on default.el vs site-start.el Niels Möller
2005-10-19 15:32 ` Kevin Rodgers [this message]
2005-10-20  0:29   ` Johan Bockgård
2005-10-20  4:54   ` Richard M. Stallman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='dj5ouv$52g$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).