A Modula-2 editing support package for OS/2 Emacs (M2EMACS.ZIP,
27K).was uploaded today on Pete Norloff's BBS.
Modula2.el is a Modula-2 editing support package
Commentary:
A major mode for editing Modula-2 code. It provides convenient abbrevs
for Modula-2 keywords, knows about the standard layout rules, makes syntax
highlighting, fine indentation and supports a native compile command.
Ctrl-C b - Insert a BEGIN keyword and indent for the next line.
Ctrl-C c - Build skeleton CASE statment, prompting for the <expression>.
Ctrl-C d - Build skeleton DEFINITION MODULE, prompting for the <module name>.
Ctrl-C e - Insert ELSE keyword and indent for next line.
Ctrl-C f - Build skeleton FOR loop statment, prompting for the loop parameters.
Ctrl-C h - Insert a comment block containing the module title, author, etc.
Ctrl-C i - Insert skeleton IF statment, prompting for <boolean-expression>.
Ctrl-C l - Build skeleton LOOP (with END).
Ctrl-C m - Build skeleton IMPLEMENTATION MODULE, prompting for <module-name>.
Ctrl-C o - Insert OR operand and indent line.
Ctrl-C p - Build skeleton PROCEDURE, prompting <arguments> and <result-type>.
Ctrl-C r - Build skeleton RECORD (with END), prompting <record-name>.
Ctrl-C t - Insert TYPE statement and indent for next line.
Ctrl-C u - Build skeleton REPEAT - UNTIL, prompting <boolean-experession>.
Ctrl-C v - Insert VAR statement and indent for next line.
Ctrl-C w - Build skeleton WHILE (with END), prompting <boolean-experession>.
Ctrl-C x - Insert EXPORT QUALIFIED statements.
Ctrl-C y - Insert FROM IMPORT skeleton, prompting <module-name>.
Ctrl-C { - Insert the beginning of the comments.
Ctrl-C } - Insert the ending of the comments.
Ctrl-C Ctrl-W - Build skeleton WITH (with END), prompting <record-type>.
Ctrl-C Ctrl-Z - Suspend emacs (bail out to shell) under X no sense.
Ctrl-C Ctrl-V - Make a visit to prompting module using redirections (require
m2whereis program for redirection search).
Ctrl-C Ctrl-T - Toggle between .mod and .def files for the module.
Ctrl-C Ctrl-B - Build a project by prompting name.
Ctrl-C Ctrl-C - Compile a module.