I want to be able to get a drop-down list of partial matches to Elisp function names (installed or those already defined in the buffer) as shown in the screen-shot below from the YouTube video: https://youtu.be/QaX3AaK3_Lk?t=332

How do I achieve this? Is there a standard library for this?

enter image description here


2 Answers 2


I'd like to recommend the package company-mode. I found it easier to setup and config. For beginners, using the following configuration will enable the autocomplete out of box.

(use-package company
  :ensure t
    (add-hook 'after-init-hook 'global-company-mode)))

Moreover, there's a lot of backends you can use for specific programming languages. The following is how to config auto complete for python.

(use-package company-jedi
  :ensure t
    (setq jedi:complete-on-dot t
          jedi:use-shortcuts t)
    (defun user/python-mode-hook ()
      (add-to-list 'company-backends 'company-jedi))
    (add-hook 'python-mode-hook 'user/python-mode-hook)))
  • 1
    This is essentially a link-only answer, so it may be deleted. To avoid that, please summarize information from the target, or otherwise explain why/how using that package answers the question.
    – Drew
    Commented Nov 16, 2018 at 22:09
  • This answer assumes that use-package is installed. Correct?
    – ephsmith
    Commented Aug 10, 2019 at 2:19
  • @ephsmith yes, it assumes that use-package is installed.
    – yaodong
    Commented Jan 7, 2020 at 21:37

Without using external packages you can get autocompletion visible in minibuffer. Add this to config:

(setq tab-always-indent 'complete)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.