Next: Navigation, Previous: Editing, Up: Editing
Sepia implements fairly sophisticated partial-word completion in collaboration with the inferior Perl process. For example, `%S:X:v_u' completes to `%Sepia::Xref::var_use' when Sepia is loaded. This completion only operates on functions and global variables known to the Perl interpreter, so it works best when code and interpreter are in sync.
More precisely, completion examines the text before point and tries each of the following in turn, using the first successful approach:
For each of the first two, completions candidates are first generated by
splitting the text on characters [:_]
and matching the resulting
word parts. For example, `X:a_b' will complete to all symbols
matching `^X[^:]*:a[^:_]*_b' such as `Xref::a_bug' and
`X::always_bites_me'. If no matches result, the text is treated as
an acronym. For example, `dry' will complete to
`dont_repeat_yourself'.
completion-ignore-case
.
sepia-indent-expand-abbrev
is NIL
). If no abbrev is
expanded, then call sepia-complete-symbol
.