Next: Customizing Emulation, Previous: How Does this EDT Emulation Differ from Real EDT?, Up: Emacs EDT emulation [Contents]
edt-define-key
) and is
bound to C-k in the default EDT mode when EDT control sequence
bindings are enabled, or when the sample edt-user.el
customization file is used. The TPU/EVE learn command is supported but
not bound to a key in the default EDT mode but is bound in the sample
edt-user.el file.
Unlike the TPU/EVE learn command, which uses one key to begin the learn
sequence, C-l, and another command to remember the sequence,
C-r, this version of the learn command (edt-learn
) serves
as a toggle to both begin and to remember the learn sequence.
Many users who change the meaning of a key with the define key and the learn commands, would like to be able to restore the original key binding without having to quit and restart emacs. So a restore key command is provided to do just that. When invoked, it prompts you to press the key to which you wish the last replaced key definition restored. It is bound to GOLD C-k in the default EDT mode when EDT control sequence bindings are enabled or the sample edt-user.el customization file is used.
edt-emulation-off
, at the ‘M-x’ prompt and the original
Emacs bindings will be restored. To resume the EDT emulation, just
enter edt-emulation-on
.
query-replace
function, which we find to be easier to use.
page-delimiter
to determine
what marks a page break. This is normally ‘^\f’, which causes the
edt-page
command to ignore form feeds not located at the
beginning of a line. To emulate the EDT ‘PAGE’ command exactly,
page-delimiter is set to ‘\f’ when EDT emulation is turned on, and
restored to ‘^\f’ when EDT emulation is turned off. But, since
some users prefer the Emacs definition of a page break, or may wish to
preserve a customized definition of page break, one can override the EDT
definition by placing
(setq edt-keep-current-page-delimiter t)
in your .emacs file. Or, you can used the Emacs customize command to change its setting.
edt-scroll-window
function which you may prefer over the
‘SECT’ emulation.)
edt-lowercase
and edt-uppercase
.
They work on individual words or selected text, if
‘SELECT’ is active.
edt-duplicate-word
, is provided. If you
experiment with it, you might find it to be surprisingly useful and may
wonder how you ever got along without it! It is assigned to C-j
in the sample edt-user.el customization file.
Nevertheless, there are still many GOLD key sequences which are not bound to any functions. These are prime candidates to use for your own customizations.
Also, there are several commands in edt.el not bound to any key. So, you will find it worthwhile to look through edt.el for functions you may wish to add to your personal customized bindings.
In addition, our VT220 terminals generate an interrupt when the F6 key is pressed (‘^C’ or ‘^Y’, can’t remember which) and not the character sequence documented in the manual. So, binding Emacs commands to F6 will not work if your terminal behaves the same way.
We also provide a TPU/EVE like version of the single ‘SELECT/RESET’
function, called edt-toggle-select
, which makes the EDT
‘SELECT’ function into a toggle on/off switch. That is, if
selection is on, pressing ‘SELECT’ again turns selection off
(cancels selection). This function is used in the sample
edt-user.el customization file.
Next: Customizing Emulation, Previous: How Does this EDT Emulation Differ from Real EDT?, Up: Emacs EDT emulation [Contents]