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.
- When non-nil, enable dynamic completion, which provisionally inserts the
most likely conpletion in the buffer.
- When non-nil, the longest common substring of all the available
completions is highlighted in a different colour within the dynamic
- When non-nil, any differences between the prefix you typed and the
corresponding characters from the current completion are highlighted in
a different colour.
- The face used to highlight the longest common substring in a dynamic
- The face used to highlight differences between the typed prefix and the
corresponding characters in the current completion.