# expand-abbrev-handle(3)

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

## NAME

expand-abbrev-handle - Expand an abbreviation handler

## SYNOPSIS

expand-abbrev-handle (esc esc)

## DESCRIPTION

expand-abbrev-handle pulls together all forms of abbreviation expansion into a single command so that it can be bound to a single key. The abbreviation must be an alpha-numeric string and the cursor must be one position to the right of the abbreviation (which must not be alpha-numeric) when this command is called. The command attempts to expand the abbreviation using the following commands in turn:

expand-abbrev(2)

Uses a buffer specific and global abbreviation files, if set, to look up the abbreviation. The use of the abbreviation file can be disabled using buffer-setup(3).

expand-iso-accents(3)

Expands ISO accent letter if the expansion mode is enabled via either the user-setup(3) General Page or by using the iso-accents-mode(3) command.

expand-look-back(3)

Looks for a word starting the same in the current buffer's last 100 lines, this can be enabled in the user-setup(3) General page.

Buffer specific expansion

Executes a buffer specific abbreviation expansion if the current buffer's file hook supports abbreviation expansion.

Word expansion

If the current buffer does not support file type specific expansion and Word Expansion is enabled via the user-setup(3) General page (`Dict'n` setting) expansion is attempted using the expand-word(3) command which expands the current partial word using the dictionary of the user's current language; warning - this can be slow!

The command exits after first command to successfully expand or if none expand the command fails. See the help in the individual expansion commands for more help.

## SEE ALSO

user-setup(3), expand-abbrev(2), expand-iso-accents(3), expand-look-back(3), expand-word(3).

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

</HMTL>