Mercurial > emacs
annotate doc/misc/edt.texi @ 108936:d74705e78946
Add bug number
author | Andreas Schwab <schwab@linux-m68k.org> |
---|---|
date | Fri, 04 Jun 2010 00:52:38 +0200 |
parents | 1d1d5d9bd884 |
children | a91e94388547 |
rev | line source |
---|---|
106583
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
1 \input texinfo |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
2 @setfilename ../../info/edt |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
3 @settitle EDT Emulation for Emacs |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
4 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
5 @copying |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
6 This file documents the EDT emulation package for Emacs. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
7 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
8 Copyright @copyright{} 1986, 1992, 1994, 1995, 1999, 2000, 2001, 2002, |
106815 | 9 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
106583
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
10 Free Software Foundation, Inc. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
11 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
12 @quotation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
13 Permission is granted to copy, distribute and/or modify this document |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
14 under the terms of the GNU Free Documentation License, Version 1.3 or |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
15 any later version published by the Free Software Foundation; with no |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
16 Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
17 and with the Back-Cover Texts as in (a) below. A copy of the license |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
18 is included in the section entitled ``GNU Free Documentation License''. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
19 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
20 (a) The FSF's Back-Cover Text is: ``You have the freedom to copy and |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
21 modify this GNU manual. Buying copies from the FSF supports it in |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
22 developing GNU and promoting software freedom.'' |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
23 @end quotation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
24 @end copying |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
25 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
26 @dircategory Emacs |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
27 @direntry |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
28 * EDT: (edt). An Emacs emulation of the EDT editor. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
29 @end direntry |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
30 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
31 @titlepage |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
32 @title EDT Emulation User's Manual |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
33 @author Kevin Gallagher |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
34 @author @email{Kevin.Gallagher@@boeing.com} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
35 @page |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
36 @vskip 0pt plus 1filll |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
37 @insertcopying |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
38 @end titlepage |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
39 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
40 @contents |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
41 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
42 @ifnottex |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
43 @node Top |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
44 @top Emacs EDT emulation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
45 This manual describes the Emacs EDT package, which provides emulation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
46 of DEC's EDT editor. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
47 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
48 @insertcopying |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
49 @end ifnottex |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
50 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
51 @menu |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
52 * Overview:: Overview of the EDT package. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
53 * Supported terminals:: Terminals/keyboards that are supported. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
54 * Starting emulation:: How to get started. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
55 * Platform-specific notes:: Notes specific to certain platforms. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
56 * Differences:: How does this EDT emulation differ from real EDT? |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
57 * Highlights:: Some highlights, and comparisons to the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
58 original Emacs EDT emulation. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
59 * Customizing:: Customizing emulation. |
106595 | 60 * GNU Free Documentation License:: The license for this manual. |
106583
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
61 @end menu |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
62 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
63 @node Overview |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
64 @chapter Overview of the EDT Package |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
65 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
66 This manual describes version 4.0 of the EDT Emulation for Emacs 19 and |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
67 above. It comes with special functions which replicate nearly all of |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
68 EDT's keypad mode behavior. It sets up default keypad and function key |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
69 bindings which closely match those found in EDT. Support is provided so |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
70 that users may reconfigure most keypad and function key bindings to |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
71 their own liking. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
72 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
73 Version 4.0 contains several enhancements (@pxref{Changes}). |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
74 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
75 @menu |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
76 * Quick start:: How to begin using EDT. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
77 * Changes:: What's new in version 4.0. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
78 * Goals:: The aims of this package. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
79 @end menu |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
80 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
81 @node Quick start |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
82 @section How to Begin Using EDT |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
83 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
84 To start the EDT Emulation, first start Emacs and then enter @kbd{M-x |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
85 edt-emulation-on} to begin the emulation. After initialization is |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
86 complete, the following message will appear below the status line |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
87 informing you that the emulation has been enabled: ``Default EDT keymap |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
88 active''. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
89 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
90 You can have the EDT Emulation start up automatically, each time you |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
91 initiate a GNU Emacs session, by adding the following line to your |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
92 @file{.emacs} file: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
93 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
94 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
95 (add-hook term-setup-hook 'edt-emulation-on) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
96 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
97 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
98 @noindent @strong{Important:} Be sure to read the rest of this manual. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
99 It contains very useful information on how the EDT Emulation behaves and |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
100 how to customize it to your liking. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
101 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
102 @noindent The EDT emulation consists of the following files: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
103 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
104 @itemize |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
105 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
106 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
107 @file{edt.texi} - This manual. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
108 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
109 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
110 @file{edt-user.el} - An example customization file. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
111 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
112 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
113 @file{edt.el} - EDT emulation functions and default configuration. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
114 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
115 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
116 @file{edt-lk201.el} - Built-in support for DEC LK-201 keyboards. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
117 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
118 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
119 @file{edt-vt100.el} - Built-in support for DEC VT-100 (and above) terminals. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
120 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
121 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
122 @file{edt-pc.el} - Built-in support for PC 101 Keyboards under MS-DOS. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
123 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
124 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
125 @file{edt-mapper.el} - Create an EDT LK-201 map file for keyboards |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
126 without built-in support. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
127 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
128 @end itemize |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
129 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
130 @node Changes |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
131 @section What's New in Version 4.0 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
132 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
133 Version 4.0 contains the following enhancements: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
134 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
135 @enumerate |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
136 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
137 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
138 Scroll margins at the top and bottom of the window are now supported. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
139 (The design was copied from @file{tpu-extras.el}.) By default, this |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
140 feature is enabled with the top margin set to 10% of the window and the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
141 bottom margin set to 15% of the window. To change these settings, you |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
142 can invoke the function @code{edt-set-scroll-margins} in your |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
143 @file{.emacs} file. For example, the following line |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
144 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
145 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
146 (edt-set-scroll-margins "20%" "25%") |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
147 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
148 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
149 @noindent sets the top margin to 20% of the window and the bottom margin |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
150 to 25% of the window. To disable this feature, set each margin to 0%. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
151 You can also invoke @code{edt-set-scroll-margins} interactively while |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
152 EDT Emulation is active to change the settings for that session. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
153 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
154 @strong{Please note:} Another way to set the scroll margins is to use |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
155 the Emacs customization feature (not available in Emacs 19) to set the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
156 following two variables directly: @code{edt-top-scroll-margin} and |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
157 @code{edt-bottom-scroll-margin}. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
158 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
159 Enter the Emacs @code{customize} command. First select the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
160 @samp{Editing} group and then select the @samp{Emulations} group. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
161 Finally, select the @samp{Edt} group and follow the directions. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
162 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
163 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
164 The @samp{SUBS} command is now supported and bound to @kbd{GOLD-Enter} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
165 by default. (This design was copied from @file{tpu-edt.el}.) Note, in |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
166 earlier versions of EDT Emulation, @kbd{GOLD-Enter} was assigned to the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
167 Emacs function @code{query-replace}. The binding of |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
168 @code{query-replace} has been moved to @kbd{GOLD-/}. If you prefer to |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
169 restore @code{query-replace} to @kbd{GOLD-Enter}, then use an EDT user |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
170 customization file, @file{edt-user.el}, to do this |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
171 (@pxref{Customizing}). |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
172 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
173 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
174 EDT Emulation now also works in XEmacs, including the highlighting of |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
175 selected text. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
176 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
177 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
178 If you access a workstation using an X Server, observe that the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
179 initialization file generated by @file{edt-mapper.el} will now contain |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
180 the name of the X Server vendor. This is a convenience for those who |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
181 have access to their Unix account from more than one type of X Server. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
182 Since different X Servers typically require different EDT emulation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
183 initialization files, @file{edt-mapper.el} will now generate these |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
184 different initialization files and save them with different names. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
185 Then, the correct initialization file for the particular X server in use |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
186 is loaded correctly automatically. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
187 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
188 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
189 Also, @file{edt-mapper.el} is now capable of binding an @acronym{ASCII} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
190 key sequence, providing the @acronym{ASCII} key sequence prefix is |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
191 already known by Emacs to be a prefix. As a result of providing this |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
192 support, some terminal/keyboard/window system configurations, which |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
193 don't have a complete set of sensible function key bindings built into |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
194 Emacs in @code{function-key-map}, can still be configured for use with |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
195 EDT Emulation. (Note: In a few rare circumstances this does not work |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
196 properly. In particular, it does not work if a subset of the leading |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
197 @acronym{ASCII} characters in a key sequence are recognized by Emacs as |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
198 having an existing binding. For example, if the keypad 7 (@key{KP7}) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
199 key generates the sequence @samp{<ESC>Ow} and @samp{<ESC>O} is already |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
200 bound to a function, pressing @key{KP7} when told to do so by |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
201 @file{edt-mapper.el} will result in @file{edt-mapper.el} incorrectly |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
202 mapping @samp{<ESC>O} to @key{KP7} and @samp{w} to @key{KP8}. If |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
203 something like this happens to you, it is probably a bug in the support |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
204 for your keyboard within Emacs @strong{or} a bug in the Unix |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
205 termcap/terminfo support for your terminal @strong{or} a bug in the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
206 terminal emulation software you are using.) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
207 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
208 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
209 The @code{edt-quit} function (bound to @kbd{GOLD-q} by default) has been |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
210 modified to warn the user when file-related buffer modifications exist. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
211 It now cautions the user that those modifications will be lost if the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
212 user quits without saving those buffers. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
213 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
214 @end enumerate |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
215 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
216 @node Goals |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
217 @section The Aims of this Package |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
218 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
219 @enumerate |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
220 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
221 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
222 Emulate EDT Keypad Mode commands closely so that current EDT users will |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
223 find that it easy and comfortable to use GNU Emacs with a small learning |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
224 curve. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
225 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
226 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
227 Make it easy for a user to customize EDT emulation key bindings without |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
228 knowing much about Emacs Lisp. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
229 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
230 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
231 Make it easy to switch between the original EDT default bindings and the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
232 user's customized EDT bindings, without having to exit Emacs. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
233 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
234 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
235 Provide support for some TPU/EVE functions not supported in EDT. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
236 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
237 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
238 Provide an easy way to restore @strong{all} original Emacs key bindings, |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
239 just as they existed before the EDT emulation was first invoked. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
240 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
241 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
242 Support GNU Emacs 19 and higher. (GNU Emacs 18 and below is no longer |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
243 supported.) XEmacs 19, and above, is also supported. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
244 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
245 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
246 Supports highlighting of marked text within the EDT emulation on all |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
247 platforms on which Emacs supports highlighting of marked text. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
248 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
249 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
250 Handle terminal configuration interactively for most terminal |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
251 configurations, when the emulation is invoked for the first time. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
252 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
253 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
254 Support a PC AT keyboard under MS-DOS. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
255 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
256 @end enumerate |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
257 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
258 @node Supported terminals |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
259 @chapter Terminals/Keyboards that are Supported |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
260 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
261 Keyboards used under a Window System are supported via the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
262 @code{edt-mapper} function. The first time you invoke the emulation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
263 under a window system, the @code{edt-mapper} function is run |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
264 automatically and the user is prompted to identify which keys the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
265 emulation is to use for the standard keypad and function keys EDT |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
266 expects (e.g., @key{PF1}, @key{PF2}, @key{KP0}, @key{KP1}, @key{F1}, |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
267 @key{F2}, etc.). This configuration is saved to disk read each time the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
268 emulation is invoked. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
269 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
270 In character oriented connections not running a window manager, built-in |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
271 support for the following terminals/keyboards is provided: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
272 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
273 @enumerate |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
274 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
275 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
276 DEC VT-100 series and higher. This includes well behaved VT clones and |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
277 emulators. If you are using a VT series terminal, be sure that the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
278 @env{TERM} environment variable is set properly before invoking emacs. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
279 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
280 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
281 PC AT keyboard under MS-DOS. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
282 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
283 @end enumerate |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
284 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
285 Be sure to read @ref{Platform-specific notes} to see if those notes |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
286 apply to you. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
287 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
288 @node Starting emulation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
289 @chapter How to Get Started |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
290 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
291 Start up GNU Emacs and enter @kbd{M-x edt-emulation-on} to begin the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
292 emulation. After initialization is complete, the following message will |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
293 appear below the status line informing you that the emulation has been |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
294 enabled: ``Default EDT keymap active''. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
295 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
296 You can have the EDT Emulation start up automatically, each time you |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
297 initiate a GNU Emacs session, by adding the following line to your |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
298 @file{.emacs} file: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
299 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
300 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
301 (add-hook term-setup-hook 'edt-emulation-on) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
302 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
303 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
304 A reference sheet is included (later on) listing the default EDT |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
305 Emulation key bindings. This sheet is also accessible on line from |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
306 within Emacs by pressing @key{PF2}, @kbd{GOLD-H}, or @samp{HELP} (when |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
307 in the EDT Default Mode). |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
308 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
309 It is easy to customize key bindings in the EDT Emulation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
310 (@pxref{Customizing}). Customizations are placed in a file called |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
311 @file{edt-user.el}. The Emacs @file{etc/} directory contains an |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
312 example. If @file{edt-user.el} is found in your GNU Emacs load path |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
313 during EDT Emulation initialization, then the following message will |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
314 appear below the status line indicating that the emulation has been |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
315 enabled, enhanced by your own customizations: ``User EDT custom keymap |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
316 active''. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
317 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
318 Once enabled, it is easy to switch back and forth between your |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
319 customized EDT Emulation key bindings and the default EDT Emulation key |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
320 bindings. (Look at the binding to @kbd{GOLD-Z} in the sample |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
321 @file{edt-user.el} file.) It is also easy to turn off the emulation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
322 (via the command @code{edt-emulation-off}). Doing so completely |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
323 restores the original key bindings in effect just prior to invoking the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
324 emulation. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
325 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
326 Emacs binds keys to @acronym{ASCII} control characters and so does the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
327 real EDT. Where EDT key bindings and GNU Emacs key bindings conflict, |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
328 the default GNU Emacs key bindings are retained by the EDT emulation by |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
329 default. If you are a diehard EDT user you may not like this. The |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
330 @ref{Control keys} section explains how to change this so that the EDT |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
331 bindings to @acronym{ASCII} control characters override the default |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
332 Emacs bindings. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
333 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
334 @node Platform-specific notes |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
335 @chapter Notes Specific to Certain Platforms |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
336 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
337 @menu |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
338 * Sun workstations:: Sun workstations running X. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
339 * MS-DOS:: PC users running MS-DOS. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
340 * GNU/Linux:: PC users running GNU/Linux. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
341 * Unix:: Using @key{NumLock} for the @key{PF1} key on Unix systems. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
342 @end menu |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
343 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
344 @node Sun workstations |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
345 @section Sun Workstations Running X |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
346 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
347 Some earlier Sun keyboards do not have arrow keys separate from the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
348 keypad keys. It is difficult to emulate the full EDT keypad and still |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
349 retain use of the arrow keys on such keyboards. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
350 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
351 The Sun Type 5 and other more recent Sun keyboards, however, do have |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
352 separate arrow keys. This makes them candidates for setting up a |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
353 reasonable EDT keypad emulation. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
354 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
355 Depending upon the configuration of the version of X installed on your |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
356 system, you may find the default X keynames for the keypad keys don't |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
357 permit Emacs to interpret some or all the keypad keys as something other |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
358 than arrow keys, numeric keys, @key{Home}, @key{PageUp}, etc. Both Sun |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
359 and HP have been particularly guilty of making bizarre keysym |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
360 assignments to the keypad keys. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
361 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
362 In most cases, the X Windows command, @code{xmodmap}, can be used to |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
363 correct the problem. Here's a sample @file{.xmodmaprc} file which |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
364 corrects this problem on one Sun workstation configuration using an |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
365 older SunOS release configured with a Sun Type 5 keyboard: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
366 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
367 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
368 ! File: .xmodmaprc |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
369 ! |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
370 ! Set up Sun Type 5 keypad for use with the GNU Emacs EDT Emulation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
371 ! |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
372 keycode 53 = KP_Divide |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
373 keycode 54 = KP_Multiply |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
374 keycode 57 = KP_Decimal |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
375 keycode 75 = KP_7 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
376 keycode 76 = KP_8 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
377 keycode 77 = KP_9 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
378 keycode 78 = KP_Subtract |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
379 keycode 97 = KP_Enter |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
380 keycode 98 = KP_4 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
381 keycode 99 = KP_5 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
382 keycode 100 = KP_6 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
383 keycode 101 = KP_0 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
384 keycode 105 = F24 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
385 keycode 119 = KP_1 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
386 keycode 120 = KP_2 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
387 keycode 121 = KP_3 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
388 keycode 132 = KP_Add |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
389 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
390 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
391 If @file{edt-mapper.el} does not recognize your keypad keys as unique |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
392 keys, use the command @samp{xmodmap -pke} to get a listing of the actual |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
393 key codes and the keysyms mapped to them and then generate you own |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
394 custom @file{.xmodmaprc} similar to the one above. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
395 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
396 Next, feed @file{.xmodmaprc} to the @code{xmodmap} command and all the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
397 Sun Type 5 keypad keys will now be configurable for the emulation of an |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
398 LK-201 keypad (less the @key{,} key). In this example, the line |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
399 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
400 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
401 keycode 105 = F24 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
402 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
403 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
404 @noindent changes the X Windows name of the keypad @key{NumLock} key to |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
405 be known internally as the @key{F24} key. Doing so permits it to be |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
406 configured to behave as the @key{PF1} (@key{GOLD}) key. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
407 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
408 The side effect of this change is that you will no longer have a |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
409 @key{NumLock} key. If you are using other software under X which |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
410 requires a @key{NumLock} key, then examine your keyboard and look for |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
411 one you don't use and redefine it to be the @key{NumLock} key. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
412 Basically, you need to clear the @key{NumLock} key from being assigned |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
413 as a modifier, assign it to the key of your choice, and then add it back |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
414 as a modifier. (@ref{Unix} for further help on how to do this.) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
415 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
416 @node MS-DOS |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
417 @section PC Users Running MS-DOS |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
418 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
419 By default, F1 is configured to emulate the @key{PF1} (@key{GOLD}) key. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
420 But @key{NumLock} can be used instead if you load a freeware TSR |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
421 distributed with MS-Kermit, call @samp{gold.com}. This was once |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
422 distributed in a file called @file{gold22.zip} and came with the source |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
423 code as well as a loadable binary image. (See @file{edt-pc.el} in the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
424 Emacs @file{lisp/emulation} directory for more information.) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
425 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
426 @node GNU/Linux |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
427 @section PC Users Running GNU/Linux |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
428 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
429 The default X server configuration varies from distribution to |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
430 distribution and release to release of GNU/Linux. If your system fails |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
431 to recognize the keypad keys as distinct keys, change the NumLock state, |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
432 turning it on or off, as the case may be, then try again. If this |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
433 doesn't solve your problem, you may have to modify the X keysym mappings |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
434 with @code{xmodmap}. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
435 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
436 On one distribution on an Intel PC, the following @file{.xmodmaprc} set |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
437 things up nicely. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
438 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
439 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
440 ! File: .xmodmaprc |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
441 ! |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
442 ! Set up PC keypad under GNU/Linux for the GNU Emacs EDT Emulation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
443 ! |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
444 clear mod2 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
445 keycode 77 = F12 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
446 keycode 96 = Num_Lock Pointer_EnableKeys |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
447 add mod2 = Num_Lock |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
448 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
449 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
450 In this example, after feeding the file to the @code{xmodmap} command, |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
451 the PC @key{NumLock} keypad key will be configurable for the emulation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
452 of the @key{PF1} key. The PC keypad can now emulate an LK-201 keypad |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
453 (less the comma key), the standard keyboard supplied with DEC terminals |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
454 VT-200 and above. This @file{.xmodmaprc} file switches the role of the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
455 @key{F12} and @key{NumLock} keys. It has been tested on RedHat |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
456 GNU/Linux 5.2. Other versions of GNU/Linux may require different |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
457 keycodes. (@ref{Unix} for further help on how to do this.) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
458 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
459 @strong{Please note:} Remember, it may be necessary to have @key{NumLock} in |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
460 one position (ON) or the other (OFF) for the PC keypad to emulate the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
461 LK-201 keypad properly. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
462 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
463 @node Unix |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
464 @section General Notes on Using @key{NumLock} for the @key{PF1} Key on Unix Systems |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
465 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
466 Making the physical @key{NumLock} key available for use in the EDT Emulation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
467 requires some modification to the default X Window settings. Since the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
468 keycode assignments vary from system to system, some investigation is |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
469 needed to see how to do this on a particular system. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
470 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
471 You will need to look at the output generated by @code{xmodmap} invoked |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
472 with the "-pm" switch. For example, on RedHat GNU/Linux 5.2 on a PC, we |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
473 get the following output when running @samp{xmodmap -pm}: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
474 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
475 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
476 xmodmap: up to 2 keys per modifier, (keycodes in parentheses): |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
477 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
478 shift Shift_L (0x32), Shift_R (0x3e) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
479 lock Caps_Lock (0x42) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
480 control Control_L (0x25), Control_R (0x6d) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
481 mod1 Alt_L (0x40), Alt_R (0x71) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
482 mod2 Num_Lock (0x4d) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
483 mod3 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
484 mod4 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
485 mod5 Scroll_Lock (0x4e) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
486 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
487 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
488 @noindent Note that Num_Lock is assigned to the modifier @samp{mod2}. This is |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
489 what hides Num_Lock from being seen by Emacs. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
490 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
491 Now, @samp{xmodmap -pke} yields: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
492 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
493 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
494 . |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
495 . |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
496 . |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
497 keycode 77 = Num_Lock Pointer_EnableKeys |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
498 . |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
499 . |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
500 . |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
501 keycode 96 = F12 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
502 . |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
503 . |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
504 . |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
505 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
506 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
507 @noindent So, in RedHat GNU/Linux 5.2 on a PC, Num_Lock generates keycode 77. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
508 The following steps are taken: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
509 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
510 @enumerate |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
511 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
512 clear the assignment of Num_Lock to mod2; |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
513 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
514 swap the keycodes assigned to F12 and Num_Lock; |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
515 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
516 assign Num_Lock back to mod2. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
517 @end enumerate |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
518 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
519 @noindent The @file{.xmodmaprc} file looks like this: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
520 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
521 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
522 ! File: .xmodmaprc |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
523 ! |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
524 ! Set up PC keypad under GNU/Linux for the GNU Emacs EDT Emulation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
525 ! |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
526 clear mod2 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
527 keycode 77 = F12 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
528 keycode 96 = Num_Lock Pointer_EnableKeys |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
529 add mod2 = Num_Lock |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
530 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
531 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
532 So, after executing @samp{xmodmap .xmodmaprc}, a press of the physical |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
533 @key{F12} key looks like a Num_Lock keypress to X. Also, a press of the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
534 physical @key{NumLock} key looks like a press of the @key{F12} key to X. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
535 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
536 Now, @file{edt-mapper.el} will see @samp{f12} when the physical |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
537 @key{NumLock} key is pressed, allowing the @key{NumLock} key to be used |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
538 as the EDT @key{PF1} (@key{GOLD}) key. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
539 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
540 @node Differences |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
541 @chapter How Does this EDT Emulation Differ from Real EDT? |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
542 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
543 In general, you will find that this emulation of EDT replicates most, |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
544 but not all, of EDT's most used Keypad Mode editing functions and |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
545 behavior. It is not perfect, but most EDT users who have tried the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
546 emulation agree that it is quite good enough to make it easy for |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
547 die-hard EDT users to move over to using GNU Emacs. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
548 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
549 Here's a list of the most important differences between EDT and this GNU |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
550 Emacs EDT Emulation. The list is short but you must be aware of these |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
551 differences if you are to use the EDT Emulation effectively. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
552 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
553 @enumerate |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
554 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
555 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
556 Entering repeat counts works a little differently than in EDT. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
557 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
558 EDT allows users to enter a repeat count before entering a command that |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
559 accepts repeat counts. For example, when using the real EDT, pressing |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
560 these three keys in sequence, @kbd{GOLD 5 KP1}, will move the cursor in |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
561 the current direction 5 words. This does @strong{not} work in Emacs! |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
562 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
563 Emacs provides two ways to enter repeat counts and neither involves |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
564 using the @key{GOLD} key. First, repeat counts can be entered in Emacs |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
565 by using the @key{ESC} key. For example, pressing these keys in |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
566 sequence, @kbd{ESC 1 0 KP1}, will move the cursor in the current |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
567 direction 10 words. Second, Emacs provides another command called |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
568 @code{universal-argument} that can be used to do the same thing. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
569 Normally, in Emacs has this bound to @kbd{C-u}. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
570 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
571 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
572 EDT's line mode commands and nokeypad mode commands are @strong{not} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
573 supported (with one important exception; see item 8 in |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
574 @ref{Highlights}). Although, at first, this may seem like a big |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
575 omission, the set of built-in Emacs commands provides a much richer set |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
576 of capabilities which more than make up for this omission. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
577 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
578 To enter Emacs commands not bound to keys, you can press @kbd{GOLD KP7} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
579 or the @key{DO} key. Emacs will display its own command prompt "M-x". |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
580 This stands for the keypress @kbd{Meta-x}, where @key{Meta} is a special |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
581 shift key. The @key{Alt} key is often mapped to behave as a @key{Meta} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
582 key. So, you can also invoke this prompt by pressing @kbd{Meta-x}. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
583 Typing the sequence @kbd{ESC x} will also invoke the prompt. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
584 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
585 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
586 Selected text is highlighted @strong{only} on systems where Emacs |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
587 supports the highlighting of text. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
588 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
589 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
590 Just like in TPU/EVE, the @key{ENTER} key is @strong{not} used to |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
591 terminate input when the editor prompts you for input. The @key{RETURN} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
592 key is used, instead. (@key{KP4} and @key{KP5} (the direction keys) do |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
593 terminate input for the @samp{FIND} command, just like in EDT, however.) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
594 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
595 @end enumerate |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
596 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
597 @node Highlights |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
598 @chapter Some Highlights, and Comparisons to the Original Emacs EDT Emulation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
599 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
600 @enumerate |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
601 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
602 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
603 The EDT define key command is supported (@code{edt-define-key}) and is |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
604 bound to @kbd{C-k} in the default EDT mode when EDT control sequence |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
605 bindings are enabled, or when the sample @file{edt-user.el} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
606 customization file is used. The TPU/EVE learn command is supported but |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
607 not bound to a key in the default EDT mode but is bound in the sample |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
608 @file{edt-user.el} file. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
609 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
610 Unlike the TPU/EVE learn command, which uses one key to begin the learn |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
611 sequence, @kbd{C-l}, and another command to remember the sequence, |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
612 @kbd{C-r}, this version of the learn command (@code{edt-learn}) serves |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
613 as a toggle to both begin and to remember the learn sequence. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
614 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
615 Many users who change the meaning of a key with the define key and the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
616 learn commands, would like to be able to restore the original key |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
617 binding without having to quit and restart emacs. So a restore key |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
618 command is provided to do just that. When invoked, it prompts you to |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
619 press the key to which you wish the last replaced key definition |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
620 restored. It is bound to @kbd{GOLD C-k} in the default EDT mode when |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
621 EDT control sequence bindings are enabled or the sample |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
622 @file{edt-user.el} customization file is used. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
623 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
624 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
625 Direction support is fully supported. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
626 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
627 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
628 All original Emacs bindings are fully restored when EDT emulation is |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
629 turned off. So, if a fellow worker comes over to your terminal to help |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
630 you with a software problem, for example, and is completely confused by |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
631 your EDT emulation bindings, just enter the command, |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
632 @code{edt-emulation-off}, at the @samp{M-x} prompt and the original |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
633 Emacs bindings will be restored. To resume the EDT emulation, just |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
634 enter @code{edt-emulation-on}. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
635 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
636 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
637 User custom EDT bindings are kept separate from the default EDT |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
638 bindings. One can toggle back and forth between the custom EDT bindings |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
639 and default EDT bindings. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
640 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
641 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
642 The Emacs functions in @file{edt.el} attempt to emulate, where |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
643 practical, the exact behavior of the corresponding EDT keypad mode |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
644 commands. In a few cases, the emulation is not exact, but we hope you |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
645 will agree it is close enough. In a very few cases, we chose to use the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
646 Emacs way of handling things. As mentioned earlier, we do not emulate |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
647 the EDT @samp{SUBS} command. Instead, we chose to use the Emacs |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
648 @code{query-replace} function, which we find to be easier to use. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
649 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
650 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
651 Emacs uses the regexp assigned to @code{page-delimiter} to determine |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
652 what marks a page break. This is normally @samp{^\f}, which causes the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
653 @code{edt-page} command to ignore form feeds not located at the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
654 beginning of a line. To emulate the EDT @samp{PAGE} command exactly, |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
655 page-delimiter is set to @samp{\f} when EDT emulation is turned on, and |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
656 restored to @samp{^\f} when EDT emulation is turned off. But, since |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
657 some users prefer the Emacs definition of a page break, or may wish to |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
658 preserve a customized definition of page break, one can override the EDT |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
659 definition by placing |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
660 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
661 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
662 (setq edt-keep-current-page-delimiter t) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
663 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
664 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
665 @noindent in your @file{.emacs} file. Or, you can used the Emacs customize |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
666 command to change its setting. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
667 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
668 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
669 The EDT definition of a section of a terminal window is hardwired to be |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
670 16 lines of its one-and-only 24-line window (the EDT @samp{SECT} command |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
671 bound to @key{KP8}). That's two-thirds of the window at a time. Since |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
672 Emacs, like TPU/EVE, can handle multiple windows of sizes of other than |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
673 24 lines, the definition of section used here has been modified to |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
674 two-thirds of the current window. (There is also an |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
675 @code{edt-scroll-window} function which you may prefer over the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
676 @samp{SECT} emulation.) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
677 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
678 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
679 Cursor movement and deletion involving word entities is identical to |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
680 EDT. This, above all else, gives the die-hard EDT user a sense of being |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
681 at home. Also, an emulation of EDT's @samp{SET ENTITY WORD} command is |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
682 provided, for those users who like to customize movement by a word at a |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
683 time to their own liking. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
684 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
685 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
686 EDT's @samp{FIND} and @samp{FNDNXT} are supported. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
687 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
688 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
689 EDT's @samp{APPEND}, @samp{REPLACE}, and @samp{SUBS} commands are supported. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
690 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
691 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
692 @samp{CHNGCASE} is supported. It works on individual characters or |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
693 selected text, if @samp{SELECT} is active. In addition, two new |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
694 commands are provided: @code{edt-lowercase} and @code{edt-uppercase}. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
695 They work on individual @strong{words} or selected text, if |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
696 @samp{SELECT} is active. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
697 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
698 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
699 Form feed and tab insert commands are supported. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
700 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
701 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
702 A new command, @code{edt-duplicate-word}, is provided. If you |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
703 experiment with it, you might find it to be surprisingly useful and may |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
704 wonder how you ever got along without it! It is assigned to @kbd{C-j} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
705 in the sample @file{edt-user.el} customization file. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
706 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
707 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
708 TPU/EVE's Rectangular Cut and Paste functions (originally from the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
709 EVE-Plus package) are supported. But unlike the TPU/EVE versions, these |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
710 here support both insert and overwrite modes. The seven rectangular |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
711 functions are bound to @key{F7}, @key{F8}, @kbd{GOLD-F8}, @key{F9}, |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
712 @kbd{GOLD-F9}, @key{F10}, and @kbd{GOLD-F10} in the default EDT mode. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
713 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
714 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
715 The original EDT emulation package set up many default regular and GOLD |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
716 bindings. We tried to preserve most (but not all!) of these, so users |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
717 of the original emulation package will feel more at home. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
718 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
719 Nevertheless, there are still many GOLD key sequences which are not |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
720 bound to any functions. These are prime candidates to use for your own |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
721 customizations. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
722 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
723 Also, there are several commands in @file{edt.el} not bound to any key. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
724 So, you will find it worthwhile to look through @file{edt.el} for |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
725 functions you may wish to add to your personal customized bindings. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
726 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
727 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
728 The VT200/VT300 series terminals steal the function keys @key{F1} to |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
729 @key{F5} for their own use. These do not generate signals which are |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
730 sent to the host. So, @file{edt.el} does not assign any default |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
731 bindings to @key{F1} through @key{F5}. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
732 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
733 In addition, our VT220 terminals generate an interrupt when the @key{F6} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
734 key is pressed (@samp{^C} or @samp{^Y}, can't remember which) and not |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
735 the character sequence documented in the manual. So, binding Emacs |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
736 commands to @key{F6} will not work if your terminal behaves the same |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
737 way. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
738 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
739 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
740 The VT220 terminal has no @key{ESC}, @key{BS}, nor @key{LF} keys, as |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
741 does a VT100. So the default EDT bindings adopt the standard DEC |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
742 convention of having the @key{F11}, @key{F12}, and @key{F13} keys, on a |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
743 VT200 series (and above) terminal, assigned to the same EDT functions |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
744 that are bound to @key{ESC}, @key{BS}, and @key{LF} on a VT100 terminal. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
745 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
746 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
747 Each user, through the use of a private @file{edt-user.el} file, can |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
748 customize, very easily, personal EDT emulation bindings. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
749 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
750 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
751 The EDT @samp{SELECT} and @samp{RESET} functions are supported. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
752 However, unlike EDT, pressing @samp{RESET} to cancel text selection does |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
753 @strong{not} reset the existing setting of the current direction. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
754 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
755 We also provide a TPU/EVE like version of the single @samp{SELECT/RESET} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
756 function, called @code{edt-toggle-select}, which makes the EDT |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
757 @samp{SELECT} function into a toggle on/off switch. That is, if |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
758 selection is on, pressing @samp{SELECT} again turns selection off |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
759 (cancels selection). This function is used in the sample |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
760 @file{edt-user.el} customization file. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
761 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
762 @item |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
763 EDT scroll margins are supported, but are disabled by default. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
764 (@ref{Scroll margins} for instructions on how to enable them.) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
765 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
766 @end enumerate |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
767 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
768 @node Customizing |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
769 @chapter Customizing Emulation |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
770 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
771 Most EDT users, at one time or another, make some custom key bindings, |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
772 or use someone else's custom key bindings, which they come to depend |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
773 upon just as if they were built-in bindings. This EDT Emulation for GNU |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
774 Emacs is designed to make it easy to customize bindings. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
775 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
776 If you wish to customize the EDT Emulation to use some of your own key |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
777 bindings, you need to make a private version of @file{edt-user.el} in |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
778 your own private lisp directory. The Emacs @file{etc/} directory |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
779 contains an example for you to use as a template and for ideas. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
780 @c This seems to be untrue. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
781 @ignore |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
782 There are two sample files @file{edt-user.el1} and @file{edt-user.el2} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
783 for you to use as templates and for ideas. Look at @file{edt-user.el1} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
784 first. Unless you will be using two or more very different types of |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
785 terminals on the same system, you need not look at @file{edt-user.el2}. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
786 @end ignore |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
787 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
788 First, you need to have your own private lisp directory, say |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
789 @file{~/lisp}, and you should add it to the GNU Emacs load path. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
790 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
791 @strong{Please note:} A few sites have different load-path requirements, |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
792 so the above directions may need some modification if your site has such |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
793 special needs. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
794 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
795 @menu |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
796 * edt-user.el:: Creating your own @file{edt-user.el} file. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
797 * Words:: Specifying word entities. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
798 * Control keys:: Enabling EDT control key sequence bindings. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
799 * Scroll margins:: Setting scroll margins. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
800 @end menu |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
801 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
802 @node edt-user.el |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
803 @section Creating your own @file{edt-user.el} File |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
804 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
805 A sample @file{edt-user.el} file is provided in the Emacs @file{etc/} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
806 directory. You should use it as a guide to learn how you can customize |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
807 EDT emulation bindings to your own liking. Names used to identify the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
808 set of LK-201 keypad and function keys are: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
809 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
810 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
811 Keypad Keys: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
812 PF1 PF2 PF3 PF4 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
813 KP7 KP8 KP9 KP- |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
814 KP4 KP5 KP6 KP, |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
815 KP1 KP2 KP3 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
816 KP0 KPP KPE |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
817 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
818 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
819 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
820 Arrow Keys: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
821 LEFT RIGHT DOWN UP |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
822 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
823 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
824 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
825 Function Keys: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
826 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
827 HELP DO F17 F18 F19 F20 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
828 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
829 FIND INSERT REMOVE |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
830 SELECT PREVIOUS NEXT |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
831 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
832 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
833 Note: Many VT-200 terminals, and above, steal function keys @key{F1} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
834 through @key{F5} for terminal setup control and don't send anything to |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
835 the host if pressed. So customizing bindings to these keys may not work |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
836 for you. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
837 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
838 There are three basic functions that do the EDT emulation custom |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
839 bindings: @code{edt-bind-key}, @code{edt-bind-gold-key}, and |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
840 @code{edt-bind-function-key}. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
841 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
842 The first two are for binding functions to keys which are standard |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
843 across most keyboards. This makes them keyboard independent, making it |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
844 possible to define these key bindings for all terminals in the file |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
845 @file{edt.el}. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
846 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
847 The first, @code{edt-bind-key}, is used typically to bind emacs commands |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
848 to control keys, although some people use it to bind commands to other |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
849 keys, as well. (For example, some people use it to bind the VT200 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
850 seldom used back-tick key (@samp{`}) to the function @samp{ESC-prefix} |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
851 so it will behave like an @key{ESC} key.) The second function, |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
852 @code{edt-bind-gold-key}, is used to bind emacs commands to gold key |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
853 sequences involving alpha-numeric keys, special character keys, and |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
854 control keys. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
855 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
856 The third function, @code{edt-bind-function-key}, is terminal dependent |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
857 and is defined in a terminal specific file (see @file{edt-vt100.el} for |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
858 example). It is used to bind emacs commands to LK-201 function keys, to |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
859 keypad keys, and to gold sequences of those keys. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
860 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
861 @node Words |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
862 @section Specifying Word Entities |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
863 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
864 The variable @code{edt-word-entities} is used to emulate EDT's @samp{SET |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
865 ENTITY WORD} command. It contains a list of characters to be treated as |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
866 words in themselves. If the user does not define |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
867 @code{edt-word-entities} in his/her @file{.emacs} file, then it is set |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
868 up with the EDT default containing only @key{TAB}. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
869 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
870 The characters are stored in the list by their numerical values, not as |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
871 strings. Emacs supports several ways to specify the numerical value of |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
872 a character. One method is to use the question mark: @samp{?A} means |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
873 the numerical value for @samp{A}, @samp{?/} means the numerical value |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
874 for @samp{/}, and so on. Several unprintable characters have special |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
875 representations: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
876 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
877 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
878 ?\b specifies BS, C-h |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
879 ?\t specifies TAB, C-i |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
880 ?\n specifies LFD, C-j |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
881 ?\v specifies VTAB, C-k |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
882 ?\f specifies FF, C-l |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
883 ?\r specifies CR, C-m |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
884 ?\e specifies ESC, C-[ |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
885 ?\\ specifies \ |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
886 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
887 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
888 Here are some examples: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
889 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
890 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
891 (setq edt-word-entities '(?\t ?- ?/)) ; specifies TAB, - , and / |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
892 (setq edt-word-entities '(?\t) ; specifies TAB, the default |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
893 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
894 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
895 @noindent You can also specify characters by their decimal ascii values: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
896 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
897 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
898 (setq edt-word-entities '(9 45 47)) ; specifies TAB, - , and / |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
899 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
900 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
901 @node Control keys |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
902 @section Enabling EDT Control Key Sequence Bindings |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
903 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
904 Where EDT key bindings and GNU Emacs key bindings conflict, the default |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
905 GNU Emacs key bindings are retained by default. Some diehard EDT users |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
906 may not like this. So, if the variable |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
907 @code{edt-use-EDT-control-key-bindings} is set to true in a user's |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
908 @file{.emacs} file, then the default EDT Emulation mode will enable most |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
909 of the original EDT control key sequence bindings. If you wish to do |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
910 this, add the following line to your @file{.emacs} file: |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
911 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
912 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
913 (setq edt-use-EDT-control-key-bindings t) |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
914 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
915 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
916 @node Scroll margins |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
917 @section Setting Scroll Margins |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
918 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
919 Scroll margins at the top and bottom of the window are now supported. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
920 (The design was copied from @file{tpu-extras.el}.) By default, this |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
921 feature is enabled with the top margin set to 10% of the window and the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
922 bottom margin set to 15% of the window. To change these settings, you |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
923 can invoke the function @code{edt-set-scroll-margins} in your |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
924 @file{.emacs} file. For example, the following line |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
925 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
926 @example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
927 (edt-set-scroll-margins "20%" "25%") |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
928 @end example |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
929 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
930 @noindent sets the top margin to 20% of the window and the bottom margin |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
931 to 25% of the window. To disable this feature, set each margin to 0%. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
932 You can also invoke @code{edt-set-scroll-margins} interactively while |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
933 EDT Emulation is active to change the settings for that session. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
934 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
935 @strong{Please note:} Another way to set the scroll margins is to use |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
936 the Emacs customization feature (not available in Emacs 19) to set the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
937 following two variables directly: @code{edt-top-scroll-margin} and |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
938 @code{edt-bottom-scroll-margin}. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
939 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
940 Enter the Emacs @code{customize} command. First select the |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
941 @samp{Editing} group and then select the @samp{Emulations} group. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
942 Finally, select the @samp{Edt} group and follow the directions. |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
943 |
106595 | 944 @node GNU Free Documentation License |
945 @appendix GNU Free Documentation License | |
946 @include doclicense.texi | |
947 | |
106583
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
948 @bye |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
949 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
950 @ignore |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
951 arch-tag: 1b7ebe01-754b-4834-a12b-f152ef7db9e0 |
448e546e59b3
New file (etc/edt-user.doc converted to Texinfo).
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
952 @end ignore |