home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / alt / lucidem / help / 314 < prev    next >
Encoding:
Text File  |  1992-08-21  |  2.0 KB  |  53 lines

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