auto-complete
auto-complete copied to clipboard
how to start auto-complete manually and get it to insert the item immediately
Hello,
I have just begun to use auto-complete with ac-ispell.el. Since I use emacs for common writing rather than programming most of the time, I use auto-complete rather sparingly and want it to be silent until I really need it. I have configured it so I can get it to start manually only when I need it:
(setq ac-auto-start nil) (ac-set-trigger-key "TAB")
When I type several letters in the buffer then hit tab, auto-complete starts completion and the menu pops up with the first item selected. But I need to hit tab again in order to get it to insert the selected item in the buffer. I think the second tab is redundant and it would be simpler if I could get it to show the menu and insert the first item in the buffer immediately by the first tab. (Then the second tab would get auto-complete to select the second item and have it inserted in the buffer and so on.)
I would much appreciate it if you could consider my suggestion. Perhaps I have missed something and I could configure auto-complete to do it somehow?
BTW, I guess DogLooksGood tried to say the same thing in his post #421 a while back. The solution suggested there did not work.
Best regards.
I don't understand.