Function: modula-2-mode
modula-2-mode is a function alias and interactive for m2-mode, defined
in modula2.el.gz.
Signature
(modula-2-mode)
Documentation
This is a mode intended to support program development in Modula-2.
All control constructs of Modula-2 can be reached by typing C-c
followed by the first character of the construct.
C-c b (m2-begin) begin C-c c (m2-case) case
C-c d (m2-definition) definition C-c e (m2-else) else
C-c f (m2-for) for C-c h (m2-header) header
C-c i (m2-if) if C-c m (m2-module) module
C-c l (m2-loop) loop C-c o (m2-or) or
C-c p (m2-procedure) procedure Control-c Control-w with
C-c r (m2-record) record C-c s (m2-stdio) stdio
C-c t (m2-type) type C-c u (m2-until) until
C-c v (m2-var) var C-c w (m2-while) while
C-c x (m2-export) export C-c y (m2-import) import
C-c { (m2-begin-comment) begin-comment C-c } (m2-end-comment) end-comment
C-c C-z (suspend-emacs) suspend Emacs C-c C-t (m2-toggle) toggle
C-c C-c (m2-compile) compile M-x m2-next-error (m2-next-error) next-error
C-c C-l (m2-link) link
m2-indent controls the number of spaces for each indentation.
m2-compile-command holds the command to compile a Modula-2 program.
m2-link-command holds the command to link a Modula-2 program.
In addition to any hooks its parent mode prog-mode might have run,
this mode runs the hook m2-mode-hook, as the final or penultimate
step during initialization.
Probably introduced at or before Emacs version 18.
Key Bindings