home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / misc / 18698 < prev    next >
Encoding:
Text File  |  1992-08-14  |  1.7 KB  |  58 lines

  1. Newsgroups: comp.sys.next.misc
  2. Path: sparky!uunet!sun-barr!ames!ads.com!saturn!bvrotney
  3. From: bvrotney@deimos.ads.com (Bill Vrotney)
  4. Subject: Re: Emacs for NeXT
  5. Message-ID: <BVROTNEY.92Aug14223850@deimos.ads.com>
  6. Sender: usenet@ads.com (USENET News)
  7. Organization: Advanced Decision Systems, Mountain View, CA 94043, +1 (415)
  8.     960-7300
  9. Distribution: comp
  10. Date: Sat, 15 Aug 1992 06:38:50 GMT
  11. Lines: 45
  12.  
  13.  
  14. > From: byer@adobe.com (Scott Byer)
  15. > Organization: Adobe Systems Incorporated
  16. > Date: Fri, 14 Aug 1992 16:52:25 GMT
  17. > Eystein Dugstad writes
  18. > > What features does Emacs have that Edit doesn't? Should
  19. > > I check it out or is it better to stick with Edit.
  20. > GNU Emacs (the One True Emacs (TM)) has a *full* Lisp
  21. > interpreter inside, along with many predefined editing
  22. > functions.  It also has command-keys up the wazoo, and
  23. > that can be it's biggest problem and it's greatest
  24. > feature.
  25. > For example, I have a Lisp function, automatically loaded
  26. > at startup time, called make-numbered-shell, invoked
  27. > through the sequence '/C-x 4 s'.  That's a cryptic
  28. > example, admittedly, but when you've been working with
  29. > Emacs for a while and have a *long* init file, with many
  30. > functions, you begin to run out of unused command keys.
  31.  
  32. If you are running out of Emacs keys you can open up a wealth of new keys by
  33. defining a command prefix key (like C-x). For example:
  34.  
  35. ;     C-z    SUSPEND-EMACS is moved to C-z!
  36. (global-unset-key "\C-z")
  37.  
  38. ; Define a prefix command "C-z".
  39. (global-set-key "\C-z!" 'suspend-emacs)
  40. (global-set-key "\C-za" 'new-function-1)
  41. (global-set-key "\C-z\C-a" 'new-function-2)
  42. (global-set-key "\C-zb" 'new-function-3)
  43. (global-set-key "\C-z\C-b" 'new-function-4)
  44.  
  45.         ... etc.
  46.  
  47.  
  48.  
  49.  
  50.  
  51. --
  52. Bill Vrotney
  53. Advanced Decision Systems
  54.