home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!mcsun!Germany.EU.net!news.uni-bielefeld.de!news.uni-bielefeld.de.!boris
- From: boris@math10.mathematik.uni-bielefeld.de (Boris Hemkemeier)
- Subject: Re: modification of load-path during build?
- Sender: news@unibi.uni-bielefeld.de (News Administrator)
- Message-ID: <BORIS.92Aug16150525@math10.mathematik.uni-bielefeld.de>
- In-Reply-To: amos@sol.acs.unt.edu's message of Fri, 14 Aug 1992 17:23:23 GMT
- Date: 16 Aug 92 15:05:25
- References: <amos.713813003@sol.acs.unt.edu>
- Nntp-Posting-Host: math10.mathematik.uni-bielefeld.de
- Organization: Department of Mathematics, University of Bielefeld, Germany
- Lines: 45
-
- In article <amos.713813003@sol.acs.unt.edu> amos@sol.acs.unt.edu (Amos A. Gouaux) writes:
- [...]
- can folks advise me as to whether or not this would be sound. where
- would be the most practical place to modify the load-path? in
- "paths.h"? in "site-init.el"? somewhere in the Makefile? i've been
- using make to build emacs - wouldn't that cause the definitions in
- "paths.h" to be lost? or should i just do the alteration in the
- regular "default.el" before anything else is done?
-
- also, why is it that "../info/dir" gets blown away during an install.
- if i'm not mistaken, aren't folks supposed to add info file packages
- underneath this root? should there be a "dir.local" as well?
-
- Here is what we do: We install only the standard distribution of emacs
- without any modifications. Every new user gets an ~/.emacs file
- containing the line "(load-file "/usr/skel/emacs")". The file
- "/usr/skel/emacs" includes redefinitions of pathes and additional
- commands like
-
- (setq load-path (cons (expand-file-name "/usr/shared/elisp") load-path))
- (setq load-path (cons (expand-file-name "/usr/shared/elisp/auctex") load-path))
- (setq load-path (cons (expand-file-name "/usr/shared/elisp/calc") load-path))
-
- (autoload 'gp "/usr/shared/elisp/pari" "Open pari shell." t)
-
- (setq Info-directory "/usr/shared/info")
-
- (require 'ange-ftp)
-
- etc.
-
- Look ar the pathes: All pathes are not in the emacs directory
- (/usr/local/...).
-
- Advantages: i)The SysAdmin has to maintain a single file regardless to
- the current emacs version.
- ii) Installing a new emacs version is easy: "make install". No local
- implementations will be overwritten.
- iii) Debugging is easy. Invoke emacs with "emacs -q" and you can work
- with a "clean" emacs without builtin modifications.
-
- Boris H.
- --
- "Say no to bugs!"
- Boris Hemkemeier boris@mathematik.uni-bielefeld.de.
-