Mercurial > emacs
comparison etc/edt-user.doc @ 49600:23a1cea22d13
Trailing whitespace deleted.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 04 Feb 2003 14:56:31 +0000 |
parents | 11d4f1454748 |
children | 23a17af379b1 d7ddb3e565de |
comparison
equal
deleted
inserted
replaced
49599:5ade352e8d1c | 49600:23a1cea22d13 |
---|---|
37 Enhancements section below for the details. | 37 Enhancements section below for the details. |
38 | 38 |
39 | 39 |
40 Quick Start: | 40 Quick Start: |
41 | 41 |
42 To start the EDT Emulation, first start Emacs and then enter | 42 To start the EDT Emulation, first start Emacs and then enter |
43 | 43 |
44 M-x edt-emulation-on | 44 M-x edt-emulation-on |
45 | 45 |
46 to begin the emulation. After initialization is complete, the | 46 to begin the emulation. After initialization is complete, the |
47 following message will appear below the status line informing you | 47 following message will appear below the status line informing you |
48 that the emulation has been enabled: "Default EDT keymap active". | 48 that the emulation has been enabled: "Default EDT keymap active". |
49 | 49 |
50 You can have the EDT Emulation start up automatically, each time | 50 You can have the EDT Emulation start up automatically, each time |
62 edt-user.doc - User Instructions and Sample Customization File | 62 edt-user.doc - User Instructions and Sample Customization File |
63 edt.el - EDT Emulation Functions and Default Configuration | 63 edt.el - EDT Emulation Functions and Default Configuration |
64 edt-lk201.el - Built-in support for DEC LK-201 Keyboards | 64 edt-lk201.el - Built-in support for DEC LK-201 Keyboards |
65 edt-vt100.el - Built-in support for DEC VT-100 (and above) terminals | 65 edt-vt100.el - Built-in support for DEC VT-100 (and above) terminals |
66 edt-pc.el - Built-in support for PC 101 Keyboards under MS-DOS | 66 edt-pc.el - Built-in support for PC 101 Keyboards under MS-DOS |
67 edt-mapper.el - Create an EDT LK-201 Map File for Keyboards Without | 67 edt-mapper.el - Create an EDT LK-201 Map File for Keyboards Without |
68 Built-in Support | 68 Built-in Support |
69 | 69 |
70 Enhancements: | 70 Enhancements: |
71 | 71 |
72 Version 4.0 contains the following enhancements: | 72 Version 4.0 contains the following enhancements: |
78 window. To change these settings, you can invoke the function | 78 window. To change these settings, you can invoke the function |
79 edt-set-scroll-margins in your .emacs file. For example, the | 79 edt-set-scroll-margins in your .emacs file. For example, the |
80 following line | 80 following line |
81 | 81 |
82 (edt-set-scroll-margins "20%" "25%") | 82 (edt-set-scroll-margins "20%" "25%") |
83 | 83 |
84 sets the top margin to 20% of the window and the bottom margin | 84 sets the top margin to 20% of the window and the bottom margin |
85 to 25% of the window. To disable this feature, set each | 85 to 25% of the window. To disable this feature, set each |
86 margin to 0%. You can also invoke edt-set-scroll-margins | 86 margin to 0%. You can also invoke edt-set-scroll-margins |
87 interactively while EDT Emulation is active to change the | 87 interactively while EDT Emulation is active to change the |
88 settings for that session. | 88 settings for that session. |
89 | 89 |
90 NOTE: Another way to set the scroll margins is to use the | 90 NOTE: Another way to set the scroll margins is to use the |
91 Emacs customization feature (not available in Emacs 19) to set | 91 Emacs customization feature (not available in Emacs 19) to set |
92 the following two variables directly: | 92 the following two variables directly: |
93 | 93 |
94 edt-top-scroll-margin and edt-bottom-scroll-margin | 94 edt-top-scroll-margin and edt-bottom-scroll-margin |
95 | 95 |
96 Enter the Emacs `customize' command. First select the Editing | 96 Enter the Emacs `customize' command. First select the Editing |
97 group and then select the Emulations group. Finally, select | 97 group and then select the Emulations group. Finally, select |
98 the Edt group and follow the directions. | 98 the Edt group and follow the directions. |
99 | 99 |
100 2. The SUBS command is now supported and bound to GOLD-Enter by | 100 2. The SUBS command is now supported and bound to GOLD-Enter by |
101 default. (This design was copied from tpu-edt.el.) Note, in | 101 default. (This design was copied from tpu-edt.el.) Note, in |
102 earlier versions of EDT Emulation, GOLD-Enter was assigned to | 102 earlier versions of EDT Emulation, GOLD-Enter was assigned to |
103 the Emacs function `query-replace'. The binding of | 103 the Emacs function `query-replace'. The binding of |
104 `query-replace' has been moved to GOLD-/. If you prefer to | 104 `query-replace' has been moved to GOLD-/. If you prefer to |
150 Goals: | 150 Goals: |
151 | 151 |
152 1. Emulate EDT Keypad Mode commands closely so that current EDT users | 152 1. Emulate EDT Keypad Mode commands closely so that current EDT users |
153 will find that it easy and comfortable to use GNU Emacs with a | 153 will find that it easy and comfortable to use GNU Emacs with a |
154 small learning curve; | 154 small learning curve; |
155 | 155 |
156 2. Make it easy for a user to customize EDT emulation key bindings | 156 2. Make it easy for a user to customize EDT emulation key bindings |
157 without knowing much about Emacs Lisp; | 157 without knowing much about Emacs Lisp; |
158 | 158 |
159 3. Make it easy to switch between the original EDT default bindings | 159 3. Make it easy to switch between the original EDT default bindings |
160 and the user's customized EDT bindings, without having to exit | 160 and the user's customized EDT bindings, without having to exit |
162 | 162 |
163 4. Provide support for some TPU/EVE functions not supported in EDT. | 163 4. Provide support for some TPU/EVE functions not supported in EDT. |
164 | 164 |
165 5. Provide an easy way to restore ALL original Emacs key bindings, | 165 5. Provide an easy way to restore ALL original Emacs key bindings, |
166 just as they existed before the EDT emulation was first invoked. | 166 just as they existed before the EDT emulation was first invoked. |
167 | 167 |
168 6. Support GNU Emacs 19 and higher. (GNU Emacs 18 and below is no | 168 6. Support GNU Emacs 19 and higher. (GNU Emacs 18 and below is no |
169 longer supported.) XEmacs 19, and above, is also supported. | 169 longer supported.) XEmacs 19, and above, is also supported. |
170 | 170 |
171 7. Supports highlighting of marked text within the EDT emulation on | 171 7. Supports highlighting of marked text within the EDT emulation on |
172 all platforms on which Emacs supports highlighting of marked text. | 172 all platforms on which Emacs supports highlighting of marked text. |
189 In character oriented connections not running a window manager, built-in | 189 In character oriented connections not running a window manager, built-in |
190 support for the following terminals/keyboards is provided: | 190 support for the following terminals/keyboards is provided: |
191 | 191 |
192 (1) DEC VT-100 series and higher. This includes well behaved VT clones and | 192 (1) DEC VT-100 series and higher. This includes well behaved VT clones and |
193 emulators. If you are using a VT series terminal, be sure that the term | 193 emulators. If you are using a VT series terminal, be sure that the term |
194 environment variable is set properly before invoking emacs. | 194 environment variable is set properly before invoking emacs. |
195 | 195 |
196 (2) PC AT keyboard under MS-DOS. | 196 (2) PC AT keyboard under MS-DOS. |
197 | 197 |
198 Be sure to read the SPECIAL NOTES FOR SOME PLATFORMS sections to see if those | 198 Be sure to read the SPECIAL NOTES FOR SOME PLATFORMS sections to see if those |
199 notes apply to you. | 199 notes apply to you. |
200 | 200 |
201 | 201 |
249 keys. It is difficult to emulate the full EDT keypad and still retain use | 249 keys. It is difficult to emulate the full EDT keypad and still retain use |
250 of the arrow keys on such keyboards. | 250 of the arrow keys on such keyboards. |
251 | 251 |
252 The Sun Type 5 and other more recent Sun keyboards, however, do have | 252 The Sun Type 5 and other more recent Sun keyboards, however, do have |
253 separate arrow keys. This makes them candidates for setting up a | 253 separate arrow keys. This makes them candidates for setting up a |
254 reasonable EDT keypad emulation. | 254 reasonable EDT keypad emulation. |
255 | 255 |
256 Depending upon the configuration of the version of X installed on your | 256 Depending upon the configuration of the version of X installed on your |
257 system, you may find the default X keynames for the keypad keys don't | 257 system, you may find the default X keynames for the keypad keys don't |
258 permit Emacs to interpret some or all the keypad keys as something other | 258 permit Emacs to interpret some or all the keypad keys as something other |
259 than arrow keys, numeric keys, Home, PgUP, etc. Both Sun and HP have been | 259 than arrow keys, numeric keys, Home, PgUP, etc. Both Sun and HP have been |
260 particularly guilty of making bizarre keysym assignments to the keypad | 260 particularly guilty of making bizarre keysym assignments to the keypad |
261 keys. | 261 keys. |
262 | 262 |
263 In most cases, the X Windows command, xmodmap, can be used to correct the | 263 In most cases, the X Windows command, xmodmap, can be used to correct the |
264 problem. Here's a sample .xmodmaprc file which corrects this problem on | 264 problem. Here's a sample .xmodmaprc file which corrects this problem on |
265 one Sun workstation configuration using an older SunOS release configured | 265 one Sun workstation configuration using an older SunOS release configured |
266 with a Sun Type 5 keyboard: | 266 with a Sun Type 5 keyboard: |
301 | 301 |
302 keycode 105 = F24 | 302 keycode 105 = F24 |
303 | 303 |
304 changes the X Windows name of the keypad NumLock key to be known | 304 changes the X Windows name of the keypad NumLock key to be known |
305 internally as the F24 key. Doing so permits it to be configured to behave | 305 internally as the F24 key. Doing so permits it to be configured to behave |
306 as the PF1 (Gold) key. | 306 as the PF1 (Gold) key. |
307 | 307 |
308 The side effect of this change is that you will no longer have a NumLock | 308 The side effect of this change is that you will no longer have a NumLock |
309 key. If you are using other software under X which requires a NumLock | 309 key. If you are using other software under X which requires a NumLock |
310 key, then examine your keyboard and look for one you don't use and | 310 key, then examine your keyboard and look for one you don't use and |
311 redefine it to be the NumLock key. Basically, you need to clear the | 311 redefine it to be the NumLock key. Basically, you need to clear the |
330 turning it on or off, as the case may be, then try again. If this doesn't | 330 turning it on or off, as the case may be, then try again. If this doesn't |
331 solve your problem, you may have to modify the X keysym mappings with | 331 solve your problem, you may have to modify the X keysym mappings with |
332 xmodmap. | 332 xmodmap. |
333 | 333 |
334 On one distribution on an Intel PC, the following .xmodmaprc set things up | 334 On one distribution on an Intel PC, the following .xmodmaprc set things up |
335 nicely. | 335 nicely. |
336 | 336 |
337 ! File: .xmodmaprc | 337 ! File: .xmodmaprc |
338 ! | 338 ! |
339 ! Set up PC keypad under GNU/Linux for the GNU Emacs EDT Emulation | 339 ! Set up PC keypad under GNU/Linux for the GNU Emacs EDT Emulation |
340 ! | 340 ! |
341 clear mod2 | 341 clear mod2 |
342 keycode 77 = F12 | 342 keycode 77 = F12 |
343 keycode 96 = Num_Lock Pointer_EnableKeys | 343 keycode 96 = Num_Lock Pointer_EnableKeys |
344 add mod2 = Num_Lock | 344 add mod2 = Num_Lock |
409 | 409 |
410 The .xmodmaprc file looks like this: | 410 The .xmodmaprc file looks like this: |
411 | 411 |
412 ! File: .xmodmaprc | 412 ! File: .xmodmaprc |
413 ! | 413 ! |
414 ! Set up PC keypad under GNU/Linux for the GNU Emacs EDT Emulation | 414 ! Set up PC keypad under GNU/Linux for the GNU Emacs EDT Emulation |
415 ! | 415 ! |
416 clear mod2 | 416 clear mod2 |
417 keycode 77 = F12 | 417 keycode 77 = F12 |
418 keycode 96 = Num_Lock Pointer_EnableKeys | 418 keycode 96 = Num_Lock Pointer_EnableKeys |
419 add mod2 = Num_Lock | 419 add mod2 = Num_Lock |
422 F12 key looks like a Num_Lock keypress to X. Also, a press of the | 422 F12 key looks like a Num_Lock keypress to X. Also, a press of the |
423 physical NumLock key looks like a press of the F12 key to X. | 423 physical NumLock key looks like a press of the F12 key to X. |
424 | 424 |
425 Now, edt-mapper.el will see "f12" when the physical NumLock key | 425 Now, edt-mapper.el will see "f12" when the physical NumLock key |
426 is pressed, allowing the NumLock key to be used as the EDT PF1 | 426 is pressed, allowing the NumLock key to be used as the EDT PF1 |
427 (Gold) key. | 427 (Gold) key. |
428 | 428 |
429 V. HOW DOES THIS EDT EMULATION DIFFER FROM REAL EDT?: | 429 V. HOW DOES THIS EDT EMULATION DIFFER FROM REAL EDT?: |
430 | 430 |
431 In general, you will find that this emulation of EDT replicates most, but not | 431 In general, you will find that this emulation of EDT replicates most, but not |
432 all, of EDT's most used Keypad Mode editing functions and behavior. It is not | 432 all, of EDT's most used Keypad Mode editing functions and behavior. It is not |
433 perfect, but most EDT users who have tried the emulation agree that it is | 433 perfect, but most EDT users who have tried the emulation agree that it is |
434 quite good enough to make it easy for die-hard EDT users to move over to using | 434 quite good enough to make it easy for die-hard EDT users to move over to using |
435 GNU Emacs. | 435 GNU Emacs. |
436 | 436 |
437 Here's a list of the most important differences between EDT and this GNU Emacs | 437 Here's a list of the most important differences between EDT and this GNU Emacs |
438 EDT Emulation. The list is short but you must be aware of these differences | 438 EDT Emulation. The list is short but you must be aware of these differences |
439 if you are to use the EDT Emulation effectively. | 439 if you are to use the EDT Emulation effectively. |
440 | 440 |
495 provided to do just that. When invoked, it prompts you to press the key | 495 provided to do just that. When invoked, it prompts you to press the key |
496 to which you wish the last replaced key definition restored. It is bound | 496 to which you wish the last replaced key definition restored. It is bound |
497 to GOLD C-k in the default EDT mode when EDT control sequence bindings are | 497 to GOLD C-k in the default EDT mode when EDT control sequence bindings are |
498 enabled or one of the sample edt-user.el customization files is used. | 498 enabled or one of the sample edt-user.el customization files is used. |
499 | 499 |
500 2. Direction support is fully supported. | 500 2. Direction support is fully supported. |
501 | 501 |
502 3. All original Emacs bindings are fully restored when EDT emulation is turned | 502 3. All original Emacs bindings are fully restored when EDT emulation is turned |
503 off. So, if a fellow worker comes over to your terminal to help you with a | 503 off. So, if a fellow worker comes over to your terminal to help you with a |
504 software problem, for example, and is completely confused by your EDT | 504 software problem, for example, and is completely confused by your EDT |
505 emulation bindings, just enter the command, edt-emulation-off, at the M-x | 505 emulation bindings, just enter the command, edt-emulation-off, at the M-x |
568 are bound to F7, F8, GOLD-F8, F9, GOLD-F9, F10, and GOLD-F10 in the | 568 are bound to F7, F8, GOLD-F8, F9, GOLD-F9, F10, and GOLD-F10 in the |
569 default EDT mode. | 569 default EDT mode. |
570 | 570 |
571 15. The original EDT emulation package set up many default regular and GOLD | 571 15. The original EDT emulation package set up many default regular and GOLD |
572 bindings. We tried to preserve most (but not all!) of these, so users of | 572 bindings. We tried to preserve most (but not all!) of these, so users of |
573 the original emulation package will feel more at home. | 573 the original emulation package will feel more at home. |
574 | 574 |
575 Nevertheless, there are still many GOLD key sequences which are not bound | 575 Nevertheless, there are still many GOLD key sequences which are not bound |
576 to any functions. These are prime candidates to use for your own | 576 to any functions. These are prime candidates to use for your own |
577 customizations. | 577 customizations. |
578 | 578 |
579 Also, there are several commands in edt.el not bound to any key. So, you | 579 Also, there are several commands in edt.el not bound to any key. So, you |
580 will find it worthwhile to look through edt.el for functions you may wish | 580 will find it worthwhile to look through edt.el for functions you may wish |
581 to add to your personal customized bindings. | 581 to add to your personal customized bindings. |
582 | 582 |
583 16. The VT200/VT300 series terminals steal the function keys F1 to F5 for | 583 16. The VT200/VT300 series terminals steal the function keys F1 to F5 for |
628 First, you need to have your own private lisp directory, say ~/lisp, and | 628 First, you need to have your own private lisp directory, say ~/lisp, and |
629 you should add it to the GNU Emacs load path. | 629 you should add it to the GNU Emacs load path. |
630 | 630 |
631 NOTE: A few sites have different load-path requirements, so the above | 631 NOTE: A few sites have different load-path requirements, so the above |
632 directions may need some modification if your site has such special | 632 directions may need some modification if your site has such special |
633 needs. | 633 needs. |
634 | 634 |
635 | 635 |
636 Creating your own edt-user.el file: | 636 Creating your own edt-user.el file: |
637 | 637 |
638 A sample edt-user.el file is attached to the end of this user documentation. | 638 A sample edt-user.el file is attached to the end of this user documentation. |
639 You should use it as a guide to learn how you can customize EDT emulation | 639 You should use it as a guide to learn how you can customize EDT emulation |
640 bindings to your own liking. Names used to identify the set of LK-201 | 640 bindings to your own liking. Names used to identify the set of LK-201 |
641 keypad and function keys are: | 641 keypad and function keys are: |
642 | 642 |
643 Keypad Keys: | 643 Keypad Keys: |
644 PF1 PF2 PF3 PF4 | 644 PF1 PF2 PF3 PF4 |
645 KP7 KP8 KP9 KP- | 645 KP7 KP8 KP9 KP- |
646 KP4 KP5 KP6 KP, | 646 KP4 KP5 KP6 KP, |
647 KP1 KP2 KP3 | 647 KP1 KP2 KP3 |
648 KP0 KPP KPE | 648 KP0 KPP KPE |
649 | 649 |
650 Arrow Keys: | 650 Arrow Keys: |
651 LEFT RIGHT DOWN UP | 651 LEFT RIGHT DOWN UP |
652 | 652 |
653 Function Keys: | 653 Function Keys: |
654 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 | 654 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 |
655 HELP DO F17 F18 F19 F20 | 655 HELP DO F17 F18 F19 F20 |
656 | 656 |
657 FIND INSERT REMOVE | 657 FIND INSERT REMOVE |
658 SELECT PREVIOUS NEXT | 658 SELECT PREVIOUS NEXT |
659 | 659 |
660 Note: | 660 Note: |
661 Many VT-200 terminals, and above, steal function keys F1 thru | 661 Many VT-200 terminals, and above, steal function keys F1 thru |
662 F5 for terminal setup control and don't send anything to the | 662 F5 for terminal setup control and don't send anything to the |
735 with the top margin set to 10% of the window and the bottom margin set to 15% | 735 with the top margin set to 10% of the window and the bottom margin set to 15% |
736 of the window. To change these settings, you can invoke the function | 736 of the window. To change these settings, you can invoke the function |
737 edt-set-scroll-margins in your .emacs file. For example, the following line | 737 edt-set-scroll-margins in your .emacs file. For example, the following line |
738 | 738 |
739 (edt-set-scroll-margins "20%" "25%") | 739 (edt-set-scroll-margins "20%" "25%") |
740 | 740 |
741 sets the top margin to 20% of the window and the bottom margin to 25% of the | 741 sets the top margin to 20% of the window and the bottom margin to 25% of the |
742 window. To disable this feature, set each margin to 0%. You can also invoke | 742 window. To disable this feature, set each margin to 0%. You can also invoke |
743 edt-set-scroll-margins interactively while EDT Emulation is active to change | 743 edt-set-scroll-margins interactively while EDT Emulation is active to change |
744 the settings for that session. | 744 the settings for that session. |
745 | 745 |
746 NOTE: Another way to set the scroll margins is to use the Emacs customization | 746 NOTE: Another way to set the scroll margins is to use the Emacs customization |
747 feature (not available in Emacs 19) to set the following two variables | 747 feature (not available in Emacs 19) to set the following two variables |
748 directly: | 748 directly: |
749 | 749 |
750 edt-top-scroll-margin and edt-bottom-scroll-margin | 750 edt-top-scroll-margin and edt-bottom-scroll-margin |
751 | 751 |
752 Enter the Emacs `customize' command. First select the Editing group and then | 752 Enter the Emacs `customize' command. First select the Editing group and then |
753 select the Emulations group. Finally, select the Edt group and follow the | 753 select the Emulations group. Finally, select the Edt group and follow the |
754 directions. | 754 directions. |
760 G-F8: Paste Rect Overstrike | (UP) | (DOWN) | (LEFT) | (RIGHT) | | 760 G-F8: Paste Rect Overstrike | (UP) | (DOWN) | (LEFT) | (RIGHT) | |
761 F9: Cut Rect Insert |Window Top|Window Bot|Bkwd Sent |Frwd Sent | | 761 F9: Cut Rect Insert |Window Top|Window Bot|Bkwd Sent |Frwd Sent | |
762 G-F9: Paste Rect Insert +----------+----------+----------+----------+ | 762 G-F9: Paste Rect Insert +----------+----------+----------+----------+ |
763 F10: Cut Rectangle | 763 F10: Cut Rectangle |
764 G-F10: Paste Rectangle | 764 G-F10: Paste Rectangle |
765 F11: ESC | 765 F11: ESC |
766 F12: Beginning of Line +----------+----------+----------+----------+ | 766 F12: Beginning of Line +----------+----------+----------+----------+ |
767 G-F12: Delete Other Windows | GOLD | HELP | FNDNXT | DEL L | | 767 G-F12: Delete Other Windows | GOLD | HELP | FNDNXT | DEL L | |
768 F13: Delete to Begin of Word | (PF1) | (PF2) | (PF3) | (PF4) | | 768 F13: Delete to Begin of Word | (PF1) | (PF2) | (PF3) | (PF4) | |
769 HELP: Keypad Help |Mark Wisel|Desc Funct| FIND | UND L | | 769 HELP: Keypad Help |Mark Wisel|Desc Funct| FIND | UND L | |
770 G-HELP: Emacs Help +----------+----------+----------+----------+ | 770 G-HELP: Emacs Help +----------+----------+----------+----------+ |
782 C-r: Isearch Backward +---------------------+----------+ (ENTER) | | 782 C-r: Isearch Backward +---------------------+----------+ (ENTER) | |
783 C-s: Isearch Forward | LINE | SELECT | ! | 783 C-s: Isearch Forward | LINE | SELECT | ! |
784 C-t: Display the Time | (0) | (.) | Query | | 784 C-t: Display the Time | (0) | (.) | Query | |
785 C-u: Delete to Begin of Line | Open Line | RESET | Replace | | 785 C-u: Delete to Begin of Line | Open Line | RESET | Replace | |
786 C-v: Redraw Display +---------------------+----------+----------+ | 786 C-v: Redraw Display +---------------------+----------+----------+ |
787 C-w: Set Screen Width 132 | 787 C-w: Set Screen Width 132 |
788 C-z: Suspend Emacs +----------+----------+----------+ | 788 C-z: Suspend Emacs +----------+----------+----------+ |
789 G-C-\: Split Window | FNDNXT | Yank | CUT | | 789 G-C-\: Split Window | FNDNXT | Yank | CUT | |
790 | (FIND) | (INSERT) | (REMOVE) | | 790 | (FIND) | (INSERT) | (REMOVE) | |
791 G-b: Buffer Menu | FIND | | COPY | | 791 G-b: Buffer Menu | FIND | | COPY | |
792 G-c: Compile +----------+----------+----------+ | 792 G-c: Compile +----------+----------+----------+ |
815 G- : Undo (GOLD Spacebar) | 815 G- : Undo (GOLD Spacebar) |
816 G-=: Go to Line | 816 G-=: Go to Line |
817 G-`: What line | 817 G-`: What line |
818 G-/: Query-Replace | 818 G-/: Query-Replace |
819 | 819 |
820 ;;; File: edt-user.el --- Sample User Customizations for the Enhanced | 820 ;;; File: edt-user.el --- Sample User Customizations for the Enhanced |
821 ;;; EDT Keypad Mode Emulation | 821 ;;; EDT Keypad Mode Emulation |
822 ;;; | 822 ;;; |
823 ;;; For GNU Emacs 19 and Above | 823 ;;; For GNU Emacs 19 and Above |
824 ;;; | 824 ;;; |
825 ;; Copyright (C) 1986, 1992, 1993, 2000 Free Software Foundation, Inc. | 825 ;; Copyright (C) 1986, 1992, 1993, 2000 Free Software Foundation, Inc. |
826 | 826 |
827 ;; Author: Kevin Gallagher <kgallagh@spd.dsccc.com> | 827 ;; Author: Kevin Gallagher <kgallagh@spd.dsccc.com> |
873 (edt-bind-function-key "KP1" 'edt-word-forward 'edt-change-case) | 873 (edt-bind-function-key "KP1" 'edt-word-forward 'edt-change-case) |
874 (edt-bind-function-key "KP3" 'edt-word-backward 'edt-copy) | 874 (edt-bind-function-key "KP3" 'edt-word-backward 'edt-copy) |
875 (edt-bind-function-key "KP6" 'edt-cut-or-copy 'yank) | 875 (edt-bind-function-key "KP6" 'edt-cut-or-copy 'yank) |
876 (edt-bind-function-key "KP8" 'edt-scroll-window 'fill-paragraph) | 876 (edt-bind-function-key "KP8" 'edt-scroll-window 'fill-paragraph) |
877 (edt-bind-function-key "KP9" 'open-line 'edt-eliminate-all-tabs) | 877 (edt-bind-function-key "KP9" 'open-line 'edt-eliminate-all-tabs) |
878 (edt-bind-function-key "KPP" | 878 (edt-bind-function-key "KPP" |
879 'edt-toggle-select 'edt-line-to-middle-of-window) | 879 'edt-toggle-select 'edt-line-to-middle-of-window) |
880 (edt-bind-function-key "KPE" 'edt-change-direction 'overwrite-mode) | 880 (edt-bind-function-key "KPE" 'edt-change-direction 'overwrite-mode) |
881 | 881 |
882 ;; GOLD bindings for regular keys. | 882 ;; GOLD bindings for regular keys. |
883 (edt-bind-gold-key "a" 'edt-append) | 883 (edt-bind-gold-key "a" 'edt-append) |
914 +----------+----------+----------+----------+ | 914 +----------+----------+----------+----------+ |
915 F7: Copy Rectangle |Prev Line |Next Line |Bkwd Char |Frwd Char | | 915 F7: Copy Rectangle |Prev Line |Next Line |Bkwd Char |Frwd Char | |
916 F8: Cut Rect Overstrike | (UP) | (DOWN) | (LEFT) | (RIGHT) | | 916 F8: Cut Rect Overstrike | (UP) | (DOWN) | (LEFT) | (RIGHT) | |
917 G-F8: Paste Rect Overstrike |Window Top|Window Bot|Bkwd Sent |Frwd Sent | | 917 G-F8: Paste Rect Overstrike |Window Top|Window Bot|Bkwd Sent |Frwd Sent | |
918 F9: Cut Rect Insert +----------+----------+----------+----------+ | 918 F9: Cut Rect Insert +----------+----------+----------+----------+ |
919 G-F9: Paste Rect Insert | 919 G-F9: Paste Rect Insert |
920 F10: Cut Rectangle | 920 F10: Cut Rectangle |
921 G-F10: Paste Rectangle | 921 G-F10: Paste Rectangle |
922 F11: ESC +----------+----------+----------+----------+ | 922 F11: ESC +----------+----------+----------+----------+ |
923 F12: Beginning of Line | GOLD |Query Repl| FNDNXT |Del Ent L | | 923 F12: Beginning of Line | GOLD |Query Repl| FNDNXT |Del Ent L | |
924 G-F12: Delete Other Windows | (PF1) | (PF2) | (PF3) | (PF4) | | 924 G-F12: Delete Other Windows | (PF1) | (PF2) | (PF3) | (PF4) | |
938 C-i: Indent for Tab +---------------------+----------+ (ENTER) | | 938 C-i: Indent for Tab +---------------------+----------+ (ENTER) | |
939 C-j: Duplicate Word | LINE |SELECT/RES| | | 939 C-j: Duplicate Word | LINE |SELECT/RES| | |
940 C-k: Define Key | (0) | (.) | Toggle | | 940 C-k: Define Key | (0) | (.) | Toggle | |
941 G-C-k: Restore Key | Open Line |Center Lin|Insrt/Over| | 941 G-C-k: Restore Key | Open Line |Center Lin|Insrt/Over| |
942 C-l: Learn +---------------------+----------+----------+ | 942 C-l: Learn +---------------------+----------+----------+ |
943 C-n: Set Screen Width 80 | 943 C-n: Set Screen Width 80 |
944 C-o: Open Line +----------+----------+----------+ | 944 C-o: Open Line +----------+----------+----------+ |
945 C-p: Fill Paragraph | FNDNXT | Yank | CUT | | 945 C-p: Fill Paragraph | FNDNXT | Yank | CUT | |
946 C-q: Quoted Insert | (FIND)) | (INSERT) | (REMOVE) | | 946 C-q: Quoted Insert | (FIND)) | (INSERT) | (REMOVE) | |
947 C-r: Isearch Backward | FIND | | COPY | | 947 C-r: Isearch Backward | FIND | | COPY | |
948 C-s: Isearch Forward +----------+----------+----------+ | 948 C-s: Isearch Forward +----------+----------+----------+ |