home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!mimsy!lhc!lhc!warsaw
- From: warsaw@nlm.nih.gov (Barry A. Warsaw)
- Newsgroups: alt.lucid-emacs.help
- Subject: Re: epoch init hook
- Message-ID: <WARSAW.92Aug21110826@anthem.nlm.nih.gov>
- Date: 21 Aug 92 16:08:26 GMT
- References: <9208211044.AA17098@tone>
- Sender: usenet@nlm.nih.gov (usenet news poster)
- Reply-To: warsaw@nlm.nih.gov (Barry A. Warsaw)
- Organization: Century Computing, Inc.
- Lines: 39
- In-Reply-To: harald%itk.unit.no@lucid.com's message of 21 Aug 92 10:44:12 GMT
-
-
- >>>>> "harald" == harald <harald%itk.unit.no@lucid.com> writes:
-
- harald> I want to have a way to make SITE WIDE defaults like
- harald> (autoload ...) in Lucid Emacs (lemacs).
-
- harald> Of cause this can be done in site-init.el, but then I have
- harald> to recompile lemacs every time we install a new package.
- harald> The other alternative is default.el, but that file is
- harald> loadet after ~/.emacs. This inhibits any personal
- harald> preferences.
-
- harald> And I don't want every user to have a (load-file
- harald> "our-site-defaults" ..) in their ~/.emacs.
-
- Use my startup-patch available on the elisp archive. It does exactly
- what you're looking for by adding the load of emacs-site.el
- (configurable) in the following order:
-
- dump-time: site-init.el, run-time: emacs-site.el, ~/.emacs, default.el
-
- I've been using it in emacs18 for years and its essential (IMHO) if
- you manage emacs for a large number of users. You need to be careful
- where you put things (site-init or emacs-site) since your choices will
- affect emacs startup time, but its very easy to just add new packages
- to your users' environs. Also, users can inhibit the load of
- emacs-site with a new comline switch, -s (mirroring the existing -q
- switch).
-
-
- lisp-dir-apropos sez:
-
- GNU Emacs Lisp Code Directory Apropos -- "startup"
- "~/" refers to archive.cis.ohio-state.edu:/pub/gnu/emacs/elisp-archive/
-
- startup-patch 89-09-05
- Barry A. Warsaw, <bwarsaw@cen.com>
- ~/misc/startup.patch.Z
- Mods to startup.el for settable command line arguments, among others
-