Homepage: https://www.gnu.org/software/emacs
Author: Odd Gripenstam
Major mode for editing DCL command files
DCL mode is a package for editing
[DCL](https://en.wikipedia.org/wiki/DIGITAL_Command_Language)
command files.
It helps you indent lines, add leading `$' and trailing `-', move
around in the code and insert lexical functions.
Type `C-h m' when you are editing a .COM file to get more
information about this mode.
Support for templates is based on the built-in tempo.el.
I recommend setting (setq tempo-interactive t). This will make
tempo prompt you for values to put in the blank spots in the templates.
There is limited support for imenu.
Any feedback will be welcomed. If you write functions for
`dcl-calc-command-indent-function' or `dcl-calc-cont-indent-function',
please send them to the maintainer.
Ideas for improvement:
* Better font-lock support.
* Change meaning of `left margin' when dcl-tab-always-indent is nil.
Consider the following line (`_' is the cursor):
$ label: _ command
Pressing tab with the cursor at the underline now inserts a tab.
This should be part of the left margin and pressing tab should indent
the line.
* Make M-LFD work properly with comments in all cases. Now it only
works on comment-only lines. But what is "properly"? New rules for
indenting comments?
* Even smarter indentation of continuation lines.
* A delete-indentation function (M-^) that joins continued lines,
including lines with end line comments?
* Handle DECK/EOD.
* `indent list' commands: C-M-q, C-u TAB. What is a list in DCL? One
complete command line? A block? A subroutine?