Article View: comp.sys.next.misc
Article #2351Re: Emacs for NeXT
From: Bill Vrotney
Date: Sat, 15 Aug 1992 06:38
Date: Sat, 15 Aug 1992 06:38
45 lines
1811 bytes
1811 bytes
> From: byer@adobe.com (Scott Byer)
> Organization: Adobe Systems Incorporated
> Date: Fri, 14 Aug 1992 16:52:25 GMT
>
> Eystein Dugstad writes
>
> > What features does Emacs have that Edit doesn't? Should
> > I check it out or is it better to stick with Edit.
>
> GNU Emacs (the One True Emacs (TM)) has a *full* Lisp
> interpreter inside, along with many predefined editing
> functions. It also has command-keys up the wazoo, and
> that can be it's biggest problem and it's greatest
> feature.
>
> For example, I have a Lisp function, automatically loaded
> at startup time, called make-numbered-shell, invoked
> through the sequence '/C-x 4 s'. That's a cryptic
> example, admittedly, but when you've been working with
> Emacs for a while and have a *long* init file, with many
> functions, you begin to run out of unused command keys.
If you are running out of Emacs keys you can open up a wealth of new keys by
defining a command prefix key (like C-x). For example:
; C-z SUSPEND-EMACS is moved to C-z!
(global-unset-key "\C-z")
; Define a prefix command "C-z".
(global-set-key "\C-z!" 'suspend-emacs)
(global-set-key "\C-za" 'new-function-1)
(global-set-key "\C-z\C-a" 'new-function-2)
(global-set-key "\C-zb" 'new-function-3)
(global-set-key "\C-z\C-b" 'new-function-4)
... etc.
--
Bill Vrotney
Advanced Decision Systems
Technical Details
Message-ID:
<BVROTNEY.92Aug14223850@deimos.ads.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!ads.com!saturn!bvrotneyShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.misc Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!ads.com!saturn!bvrotney From: bvrotney@deimos.ads.com (Bill Vrotney) Subject: Re: Emacs for NeXT Message-ID: <BVROTNEY.92Aug14223850@deimos.ads.com> Sender: usenet@ads.com (USENET News) Organization: Advanced Decision Systems, Mountain View, CA 94043, +1 (415) 960-7300 Distribution: comp Date: Sat, 15 Aug 1992 06:38:50 GMT Lines: 45