4.4 Dynamic Completion
Dynamic completion is controlled by the completion-use-dynamic
customisation variable. When it is non-nil, the most likely completion
is provisionally inserted in the buffer after the point and
highlighted. If auto-completion-mode is enabled, typing more
word-constituent characters will add them to the word, updating the most
likely completion (see Auto-Completion Mode).
Note that since the completion-reject command ends the
completion process, if you want to find completions for the same prefix
again after previously rejectng a completion, you have to do it manually
with complete-predictive even when
auto-completion-mode is enabled. See Inserting Completions,
and Auto-Completion Mode.
- completion-use-dynamic
- When non-nil, enable dynamic completion, which provisionally inserts the
most likely conpletion in the buffer.
- completion-dynamic-highlight-common-substring
- When non-nil, the longest common substring of all the available
completions is highlighted in a different colour within the dynamic
completion.
- completion-dynamic-highlight-prefix-alterations
- When non-nil, any differences between the prefix you typed and the
corresponding characters from the current completion are highlighted in
a different colour.
- completion-dynamic-common-substring-face
- The face used to highlight the longest common substring in a dynamic
completion.
- completion-dynamic-prefix-alterations-face
- The face used to highlight differences between the typed prefix and the
corresponding characters in the current completion.