Well. When I type some first keys of the key series, emacs write those keys in minibuffer after some interval of time. Like that: Typing C-x 4 will make C-x 4- visible in minibuffer.
The question is: can this be modified? I was thinking about making something like combining part of key-help (generated by C-h when type some keys) with this string.
Can interval for waiting this message be shorten too?
Is it subroutine?
Edited, new question
There is a message when I quit emacs with C-x C-c and have modified buffers, that ask me if I want to save them. How can I know that this message is here? I tried to look in (minibuffer-prompt) (minibuffer-contents) (buffer-substring (point-min) (point-max)), selecting (select-window (minibuffer-window)). Nothing gives me results.
You can control the timing of this help message by setting
suggest-key-bindingsto a larger/smaller number.There is no easy way to customize the behavior, you’d have to edit the C code for
execute-extended-command, or use a replacement for it which also provides the help. One possibility for a replacement is theanything-completelibrary which has a replacement forexecute-extended-command(note: I haven’t tried it). It builds on top of the packageanything, which is a different experience than the standard Emacs.