In Emacs, I donโt want the * Completions * buffer to pop up even when I click on the autocomplete tab in the minibuffer, and there are several results. It is distracting and annoying.
How can i do this?
Even better, I need an alternative that is not distracting or annoying - for example, if you need one tab for autocomplete, but it requires two tabs to open the Completions buffer. Thus, I do not receive the Completions buffer when I expect autocomplete. This is what the OS X terminal does to show tab completion capabilities.
I think the reason is the minibuffer-completion-help command, which starts automatically, described here: https://www.gnu.org/software/emacs/manual/html_node/elisp/Completion-Commands.html
I use ido and smex, but the problem also occurs in Vanilla Emacs.
EDIT: I found to hack this. Using M-x find-function, I found and copied the function definition minibuffer-completion-helpinto my file .emacs.d/init.el. Then I renamed the version that I copied my-minibuffer-completion-helpand changed (with-displayed-buffer-window *Completions*to '(with-displayed-buffer-window *Completions*(putting a quote in front of me, so it just interprets as a string. Finally, I tried the call minibuffer-completion-helpby setting
(advice-add 'minibuffer-completion-help
:override
after the function my-minibuffer-completion-helpin my .emacs.d/init.elfile. There must be a better way.
EDIT 2: turning off (message "Making completion list...")in my-minibuffer-completion-helphas the added benefit of getting rid of the flicker in autocomplete caused by the flashing of another message during autocomplete. Is it possible to do this in another way?
source
share