\input texinfo
@setfilename ../../info/edt
@settitle EDT Emulation for Emacs
+@documentencoding UTF-8
@copying
This file documents the EDT emulation package for Emacs.
-Copyright @copyright{} 1986, 1992, 1994-1995, 1999-2011
+Copyright @copyright{} 1986, 1992, 1994--1995, 1999--2014
Free Software Foundation, Inc.
@quotation
is included in the section entitled ``GNU Free Documentation License''.
(a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
-modify this GNU manual. Buying copies from the FSF supports it in
-developing GNU and promoting software freedom.''
+modify this GNU manual.''
@end quotation
@end copying
-@dircategory Emacs
+@dircategory Emacs misc features
@direntry
* EDT: (edt). An Emacs emulation of the EDT editor.
@end direntry
This manual describes version 4.0 of the EDT Emulation for Emacs.
It comes with special functions which replicate nearly all of
EDT's keypad mode behavior. It sets up default keypad and function key
-bindings which closely match those found in EDT. Support is provided so
+bindings which closely match those found in EDT@. Support is provided so
that users may reconfigure most keypad and function key bindings to
their own liking.
active''.
You can have the EDT Emulation start up automatically, each time you
-initiate a GNU Emacs session, by adding the following line to your
+initiate an Emacs session, by adding the following line to your
@file{.emacs} file:
@example
-(add-hook term-setup-hook 'edt-emulation-on)
+(add-hook 'emacs-startup-hook 'edt-emulation-on)
@end example
@noindent @strong{Important:} Be sure to read the rest of this manual.
@itemize
@item
-@file{edt.texi} - This manual.
+@file{edt.texi}---This manual.
@item
-@file{edt-user.el} - An example customization file.
+@file{edt-user.el}---An example customization file.
@item
-@file{edt.el} - EDT emulation functions and default configuration.
+@file{edt.el}---EDT emulation functions and default configuration.
@item
-@file{edt-lk201.el} - Built-in support for DEC LK-201 keyboards.
+@file{edt-lk201.el}---Built-in support for DEC LK-201 keyboards.
@item
-@file{edt-vt100.el} - Built-in support for DEC VT-100 (and above) terminals.
+@file{edt-vt100.el}---Built-in support for DEC VT-100 (and above) terminals.
@item
-@file{edt-pc.el} - Built-in support for PC 101 Keyboards under MS-DOS.
+@file{edt-pc.el}---Built-in support for PC 101 Keyboards under MS-DOS.
@item
-@file{edt-mapper.el} - Create an EDT LK-201 map file for keyboards
+@file{edt-mapper.el}---Create an EDT LK-201 map file for keyboards
without built-in support.
@end itemize
@item
Emulate EDT Keypad Mode commands closely so that current EDT users will
-find that it easy and comfortable to use GNU Emacs with a small learning
+find that it easy and comfortable to use Emacs with a small learning
curve.
@item
just as they existed before the EDT emulation was first invoked.
@item
-Support GNU Emacs 19 and higher. XEmacs 19, and above, is also supported.
+Support Emacs and XEmacs 19 and higher.
@item
Supports highlighting of marked text within the EDT emulation on all
@node Starting emulation
@chapter How to Get Started
-Start up GNU Emacs and enter @kbd{M-x edt-emulation-on} to begin the
+Start up Emacs and enter @kbd{M-x edt-emulation-on} to begin the
emulation. After initialization is complete, the following message will
appear below the status line informing you that the emulation has been
enabled: ``Default EDT keymap active''.
You can have the EDT Emulation start up automatically, each time you
-initiate a GNU Emacs session, by adding the following line to your
+initiate an Emacs session, by adding the following line to your
@file{.emacs} file:
@example
-(add-hook term-setup-hook 'edt-emulation-on)
+(add-hook 'emacs-startup-hook 'edt-emulation-on)
@end example
A reference sheet is included (later on) listing the default EDT
It is easy to customize key bindings in the EDT Emulation
(@pxref{Customizing}). Customizations are placed in a file called
@file{edt-user.el}. The Emacs @file{etc/} directory contains an
-example. If @file{edt-user.el} is found in your GNU Emacs load path
+example. If @file{edt-user.el} is found in your Emacs load path
during EDT Emulation initialization, then the following message will
appear below the status line indicating that the emulation has been
enabled, enhanced by your own customizations: ``User EDT custom keymap
emulation.
Emacs binds keys to @acronym{ASCII} control characters and so does the
-real EDT. Where EDT key bindings and GNU Emacs key bindings conflict,
-the default GNU Emacs key bindings are retained by the EDT emulation by
+real EDT@. Where EDT key bindings and Emacs key bindings conflict,
+the default Emacs key bindings are retained by the EDT emulation by
default. If you are a diehard EDT user you may not like this. The
@ref{Control keys} section explains how to change this so that the EDT
bindings to @acronym{ASCII} control characters override the default
@example
! File: .xmodmaprc
!
-! Set up Sun Type 5 keypad for use with the GNU Emacs EDT Emulation
+! Set up Sun Type 5 keypad for use with the Emacs EDT Emulation
!
keycode 53 = KP_Divide
keycode 54 = KP_Multiply
@example
! File: .xmodmaprc
!
-! Set up PC keypad under GNU/Linux for the GNU Emacs EDT Emulation
+! Set up PC keypad under GNU/Linux for the Emacs EDT Emulation
!
clear mod2
keycode 77 = F12
@example
! File: .xmodmaprc
!
-! Set up PC keypad under GNU/Linux for the GNU Emacs EDT Emulation
+! Set up PC keypad under GNU/Linux for the Emacs EDT Emulation
!
clear mod2
keycode 77 = F12
@end example
So, after executing @samp{xmodmap .xmodmaprc}, a press of the physical
-@key{F12} key looks like a Num_Lock keypress to X. Also, a press of the
+@key{F12} key looks like a Num_Lock keypress to X@. Also, a press of the
physical @key{NumLock} key looks like a press of the @key{F12} key to X.
Now, @file{edt-mapper.el} will see @samp{f12} when the physical
but not all, of EDT's most used Keypad Mode editing functions and
behavior. It is not perfect, but most EDT users who have tried the
emulation agree that it is quite good enough to make it easy for
-die-hard EDT users to move over to using GNU Emacs.
+die-hard EDT users to move over to using Emacs.
Here's a list of the most important differences between EDT and this GNU
Emacs EDT Emulation. The list is short but you must be aware of these
@item
Cursor movement and deletion involving word entities is identical to
-EDT. This, above all else, gives the die-hard EDT user a sense of being
+EDT@. This, above all else, gives the die-hard EDT user a sense of being
at home. Also, an emulation of EDT's @samp{SET ENTITY WORD} command is
provided, for those users who like to customize movement by a word at a
time to their own liking.
@end ignore
First, you need to have your own private lisp directory, say
-@file{~/lisp}, and you should add it to the GNU Emacs load path.
+@file{~/lisp}, and you should add it to the Emacs load path.
@strong{Please note:} A few sites have different load-path requirements,
so the above directions may need some modification if your site has such
special needs.
@menu
-* edt-user.el:: Creating your own @file{edt-user.el} file.
+* Init file:: Creating your own @file{edt-user.el} file.
* Words:: Specifying word entities.
* Control keys:: Enabling EDT control key sequence bindings.
* Scroll margins:: Setting scroll margins.
@end menu
-@node edt-user.el
+@node Init file
@section Creating your own @file{edt-user.el} File
A sample @file{edt-user.el} file is provided in the Emacs @file{etc/}
@node Control keys
@section Enabling EDT Control Key Sequence Bindings
-Where EDT key bindings and GNU Emacs key bindings conflict, the default
-GNU Emacs key bindings are retained by default. Some diehard EDT users
+Where EDT key bindings and Emacs key bindings conflict, the default
+Emacs key bindings are retained by default. Some diehard EDT users
may not like this. So, if the variable
@code{edt-use-EDT-control-key-bindings} is set to true in a user's
@file{.emacs} file, then the default EDT Emulation mode will enable most