home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / emacs / help / 4094 < prev    next >
Encoding:
Text File  |  1992-09-11  |  1.2 KB  |  29 lines

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