emf(9)
[Home]
[Commands]
[Variables]
[Macro-Dev]
[Glossary]
SYNOPSIS
FILES
hkemf.emf - MicroEmacs Macro File hook definition
eaf.etf - Abbreviation file
emf.etf - Template file
EXTENSIONS
DESCRIPTION
The emf file type template handles the hilighting of MicroEmacs macro files.
General Editing
On creating a new file, a new header is automatically included into the file.
time(2m) is by default enabled, allowing the modification time-stamp to be maintained in the header.
Hilighting
The hilighting features allow commands, variables, logical, comments, strings and characters of the language to be differentiated and rendered in different colors.
Auto Layout
Tags
A C-tags file may be generated within the editor using the Tools -> Emf-Tools -> Create Tag File.
find-tag(2) takes the user to the file using the tag information.
Folding and Information Hiding
Generic folding is enabled within the emf files. The folds occur about define-macro and !emacro text located on the left-hand margin.
collapse-all(3) (un)folds all regions in the file,
collapse-current(3) (un)folds the current region.
Navigation via Item List
The Emf macro mode offers beside folding as well support for displaying an outline of the functions and help definitions of the Macro file for easy navigation using the
item-list(3) command.
Abbreviations
The installation comes with a default abbreviation file for MicroEmacs macro file editing which can be used by writing short abbreviations like "!w" (while), "!i" (if) or "de" (define-macro)- and then pressing the key-binding for the
expand-abbrev-handle(3) command. The list of abbreviations can be used interactively in the GUI version of MicroEmacs using the
abbrev-list(3) command.
Short Cuts
The short cut keys used within the buffer are:-
C-c C-c - Comment out the current line.
C-c C-d - Uncomment the current line.
C-c esc esc - Command complete.
A-C-i - Restyle the current region.
f2 - (un)fold the current region
f3 - (un)fold all regions
f6 - List items.
esc f6 - Close item list,
BUGS
SEE ALSO
abbrev-list(3),
collapse-all(3),
collapse-current(3),
emftags(3f),
expand-abbrev-handle(3),
find-tag(2),
indent(2),
item-list(3),
restyle-buffer(3),
restyle-region(3),
time(2m).
Supported File Types
(c) Copyright JASSPA 2025
Last Modified: 2025/08/28
Generated On: 2025/09/29