home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / gnu / emacs / help / 3745 < prev    next >
Encoding:
Text File  |  1992-08-16  |  2.4 KB  |  59 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!mcsun!Germany.EU.net!news.uni-bielefeld.de!news.uni-bielefeld.de.!boris
  3. From: boris@math10.mathematik.uni-bielefeld.de (Boris Hemkemeier)
  4. Subject: Re: modification of load-path during build?
  5. Sender: news@unibi.uni-bielefeld.de (News Administrator)
  6. Message-ID: <BORIS.92Aug16150525@math10.mathematik.uni-bielefeld.de>
  7. In-Reply-To: amos@sol.acs.unt.edu's message of Fri, 14 Aug 1992 17:23:23 GMT
  8. Date: 16 Aug 92 15:05:25
  9. References: <amos.713813003@sol.acs.unt.edu>
  10. Nntp-Posting-Host: math10.mathematik.uni-bielefeld.de
  11. Organization: Department of Mathematics, University of Bielefeld, Germany
  12. Lines: 45
  13.  
  14. In article <amos.713813003@sol.acs.unt.edu> amos@sol.acs.unt.edu (Amos A. Gouaux) writes:
  15. [...]
  16.     can folks advise me as to whether or not this would be sound.  where
  17.     would be the most practical place to modify the load-path?  in
  18.     "paths.h"?  in "site-init.el"?  somewhere in the Makefile?  i've been
  19.     using make to build emacs - wouldn't that cause the definitions in
  20.     "paths.h" to be lost?  or should i just do the alteration in the
  21.     regular "default.el" before anything else is done?
  22.  
  23.     also, why is it that "../info/dir" gets blown away during an install.
  24.     if i'm not mistaken, aren't folks supposed to add info file packages
  25.     underneath this root?  should there be a "dir.local" as well?
  26.  
  27. Here is what we do: We install only the standard distribution of emacs
  28. without any modifications. Every new user gets an ~/.emacs file
  29. containing the line "(load-file "/usr/skel/emacs")". The file
  30. "/usr/skel/emacs" includes redefinitions of pathes and additional
  31. commands like 
  32.  
  33. (setq load-path (cons (expand-file-name "/usr/shared/elisp") load-path))
  34. (setq load-path (cons (expand-file-name "/usr/shared/elisp/auctex") load-path))
  35. (setq load-path (cons (expand-file-name "/usr/shared/elisp/calc") load-path))
  36.  
  37. (autoload 'gp "/usr/shared/elisp/pari" "Open pari shell." t)
  38.  
  39. (setq Info-directory "/usr/shared/info")
  40.  
  41. (require 'ange-ftp)
  42.  
  43. etc.
  44.  
  45. Look ar the pathes: All pathes are not in the emacs directory
  46. (/usr/local/...). 
  47.  
  48. Advantages: i)The SysAdmin has to maintain a single file regardless to
  49. the current emacs version. 
  50. ii) Installing a new emacs version is easy: "make install". No local
  51. implementations will be overwritten.
  52. iii) Debugging is easy. Invoke emacs with "emacs -q" and you can work
  53. with a "clean" emacs without builtin modifications. 
  54.  
  55. Boris H.
  56. --
  57.               "Say no to bugs!"
  58. Boris Hemkemeier    boris@mathematik.uni-bielefeld.de.
  59.