aboutsummaryrefslogtreecommitdiffstats
path: root/doc/emacs/misc.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/emacs/misc.texi')
-rw-r--r--doc/emacs/misc.texi96
1 files changed, 1 insertions, 95 deletions
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 841a285520a..da1b87b48bd 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -1,6 +1,5 @@
1@c This is part of the Emacs manual. 1@c This is part of the Emacs manual.
2@c Copyright (C) 1985--1987, 1993--1995, 1997, 2000--2022 Free Software 2@c Copyright (C) 1985--2022 Free Software Foundation, Inc.
3@c Foundation, Inc.
4@c See file emacs.texi for copying conditions. 3@c See file emacs.texi for copying conditions.
5@iftex 4@iftex
6@chapter Miscellaneous Commands 5@chapter Miscellaneous Commands
@@ -2870,99 +2869,6 @@ new major mode which provides a command to switch back. These
2870approaches give you more flexibility to go back to unfinished tasks in 2869approaches give you more flexibility to go back to unfinished tasks in
2871the order you choose. 2870the order you choose.
2872 2871
2873@ignore
2874@c Apart from edt and viper, this is all obsolete.
2875@c (Can't believe we were saying "most other editors" into 2014!)
2876@c There seems no point having a node just for those, which both have
2877@c their own manuals.
2878@node Emulation
2879@section Emulation
2880@cindex emulating other editors
2881@cindex other editors
2882@cindex EDT
2883@cindex vi
2884@cindex WordStar
2885
2886 GNU Emacs can be programmed to emulate (more or less) most other
2887editors. Standard facilities can emulate these:
2888
2889@table @asis
2890@item CRiSP/Brief (PC editor)
2891@findex crisp-mode
2892@vindex crisp-override-meta-x
2893@findex scroll-all-mode
2894@cindex CRiSP mode
2895@cindex Brief emulation
2896@cindex emulation of Brief
2897@cindex mode, CRiSP
2898@kbd{M-x crisp-mode} enables key bindings to emulate the CRiSP/Brief
2899editor. Note that this rebinds @kbd{M-x} to exit Emacs unless you set
2900the variable @code{crisp-override-meta-x}. You can also use the
2901command @kbd{M-x scroll-all-mode} or set the variable
2902@code{crisp-load-scroll-all} to emulate CRiSP's scroll-all feature
2903(scrolling all windows together).
2904
2905@item EDT (DEC VMS editor)
2906@findex edt-emulation-on
2907@findex edt-emulation-off
2908Turn on EDT emulation with @kbd{M-x edt-emulation-on}; restore normal
2909command bindings with @kbd{M-x edt-emulation-off}.
2910
2911Most of the EDT emulation commands are keypad keys, and most standard
2912Emacs key bindings are still available. The EDT emulation rebindings
2913are done in the global keymap, so there is no problem switching
2914buffers or major modes while in EDT emulation.
2915
2916@item TPU (DEC VMS editor)
2917@findex tpu-edt-on
2918@cindex TPU
2919@kbd{M-x tpu-edt-on} turns on emulation of the TPU editor emulating EDT.
2920
2921@item vi (Berkeley editor)
2922@findex viper-mode
2923Viper is an emulator for vi. It implements several levels of
2924emulation; level 1 is closest to vi itself, while level 5 departs
2925somewhat from strict emulation to take advantage of the capabilities of
2926Emacs. To invoke Viper, type @kbd{M-x viper-mode}; it will guide you
2927the rest of the way and ask for the emulation level. @inforef{Top,
2928Viper, viper}.
2929
2930@item vi (another emulator)
2931@findex vi-mode
2932@kbd{M-x vi-mode} enters a major mode that replaces the previously
2933established major mode. All of the vi commands that, in real vi, enter
2934input mode are programmed instead to return to the previous major
2935mode. Thus, ordinary Emacs serves as vi's input mode.
2936
2937Because vi emulation works through major modes, it does not work
2938to switch buffers during emulation. Return to normal Emacs first.
2939
2940If you plan to use vi emulation much, you probably want to bind a key
2941to the @code{vi-mode} command.
2942
2943@item vi (alternate emulator)
2944@findex vip-mode
2945@kbd{M-x vip-mode} invokes another vi emulator, said to resemble real vi
2946more thoroughly than @kbd{M-x vi-mode}. Input mode in this emulator
2947is changed from ordinary Emacs so you can use @key{ESC} to go back to
2948emulated vi command mode. To get from emulated vi command mode back to
2949ordinary Emacs, type @kbd{C-z}.
2950
2951This emulation does not work through major modes, and it is possible
2952to switch buffers in various ways within the emulator. It is not
2953so necessary to assign a key to the command @code{vip-mode} as
2954it is with @code{vi-mode} because terminating insert mode does
2955not use it.
2956
2957@inforef{Top, VIP, vip}, for full information.
2958
2959@item WordStar (old wordprocessor)
2960@findex wordstar-mode
2961@kbd{M-x wordstar-mode} provides a major mode with WordStar-like
2962key bindings.
2963@end table
2964@end ignore
2965
2966 2872
2967@node Hyperlinking 2873@node Hyperlinking
2968@section Hyperlinking and Web Navigation Features 2874@section Hyperlinking and Web Navigation Features