home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!spool.mu.edu!caen!hellgate.utah.edu!fcom.cc.utah.edu!greisen.physics.utah.edu!mjk
- From: mjk@greisen.physics.utah.edu (Matthew J. Kidd)
- Subject: Can I have more than one initialization file?
- Message-ID: <1992Sep12.000403.3747@fcom.cc.utah.edu>
- Keywords: .emacs, bindings
- Sender: mjk@cosmic.physics.utah.edu
- Organization: Cosmic Ray Physics Group, University of Utah
- Date: Sat, 12 Sep 92 00:04:03 GMT
- Lines: 17
-
- I use emacs on two different terminals. In each case I have customized
- the key bindings to correspond with some of the special keys in obvious
- ways.
-
- I would like to create a couple of aliases that invoke emacs with different
- initialization files. However, I don't see any way of getting emacs to use a
- different initialization file (other than .emacs) save for that of another
- user via the -u command line option. I could probably get around this
- problems using soft links, but it would be more elegant if emacs could handle
- it directly.
-
- Even better, would be if the code in the initialization file could pick
- out the TERM enviroment variable and execute different code on that
- basis. If this is possible, I would appreciate advice and code. My lisp
- experience goes little further than changing keybindings.
-
-
-