fence - Auto fence matching mode
fence Mode
f - mode line letter.
fence mode can be used to enable or disable the automatic displaying of and open fence when the corresponding closing fence is typed. When the mode is enabled and the closing fence (')' ']' or '}') is typed the cursor is temporarily move to the position of the opening fence. The duration of the move can be controlled by the $pause-time(5) variable; any user input interrupts the display.
If the buffer is configured to use a C style auto indent(2), the search algorithm used is 'C' aware and if a matching fence is not found then the bell is rung as a warning. Otherwise any closing fence which cannot be matched is ignored.
The cursor can be moved to the matching fence using the goto-matching-fence(2) command.
The following are considered closing fences:
} ) ] > */ #endif
These are match with the following opening fences respectively:
{ ( [ < /* #if
In MicroEmacs the use of fence mode has been depreciated. Matching fence hilighting has been implemented as a macro and configured via the Platform page of user-setup(3).
(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12