# emf(9)

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## SYNOPSIS

emf - MicroEmacs 2009 Macro File

## FILES

hkemf.emf - MicroEmacs 2009 Macro File hook definition
emf.etf - Template file

## EXTENSIONS

.emf - MicroEmacs 2009 Macro File

## DESCRIPTION

The emf file type template handles the hilighting of the MicroEmacs 2009 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

The indentation mechanism is enabled which performs performs automatic layout of the text. restyle-region(3) and restyle-buffer(3) are available to reformat (re-layout) selected sections of the buffer, or the whole buffer, respectively.

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.

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

## BUGS

No bugs reported

## SEE ALSO

collapse-all(3), collapse-current(3), emftags(3f), find-tag(2), indent(2), restyle-buffer(3), restyle-region(3), time(2m).

Supported File Types

(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12

</HMTL>