Modular in-buffer completion framework for Emacs

View on GitHub

大香蕉狼人伊人av97资源总站97资源总站公开中文版敏感时期 中国稀土行业协会发声


  雲瑯不準霍去病再用清水洗身體,換上雲瑯的衣裳,兩人的身體上散發著同樣酸溜溜的味道,坐在屋檐下開始喝茶,吃點心。   “沒事的,他們常吃!”大香蕉狼人伊人av   長平想不明白,雲瑯明明沒有足夠的錢購買那塊地,為什麼要先勘察地形地貌,設計莊園的模樣,難道說他還有其余的來錢門路?97资源总站   糧食被整整齊齊的碼在一個木頭棚子下面,墊著厚厚的木料,糧食堆上上滿是干草,即便是下雨,也不會浸濕糧食,這些人想的非常周到。   雲瑯點點頭,看著公孫敖道︰“白送的東西沒人在意,將軍如果見到陛下,就說,在送出辦法之後,我還想要張侯從西域帶回來的種子,每樣一份即可,就種在上林苑的這個莊園里。”97资源总站公开中文版   直到這個時候,雲瑯才知道,自己在街上雇不到幫自己干活的人,尤其是現在,正是農忙的時節里,他能動用的人只有梁翁,丑庸,小蟲,跟梁翁多病的老婆。

Company is a text completion framework for Emacs. The name stands for "complete anything". It uses pluggable back-ends and front-ends to retrieve and display completion candidates.

It comes with several back-ends such as Elisp, Clang, Semantic, Eclim, Ropemacs, Ispell, CMake, BBDB, Yasnippet, dabbrev, etags, gtags, files, keywords and a few others.

The CAPF back-end provides a bridge to the standard completion-at-point-functions facility, and thus works with any major mode that defines a proper completion function.


company-elisp company-semantic


This package is part of GNU ELPA (M-x list-packages).

Advanced users can also download the development snapshot.


Once installed, enable company-mode with M-x company-mode.

Completion will start automatically after you type a few letters. Use M-n and M-p to select, <return> to complete or <tab> to complete the common part. Search through the completions with C-s, C-r and C-o. Press M-(digit) to quickly complete with one of the first 10 candidates.

Type M-x company-complete to initiate completion manually. Bind this command to a key combination of your choice.

When the completion candidates are shown, press <f1> to display the documentation for the selected candidate, or C-w to see its source. Not all back-ends support this.

To use company-mode in all buffers, add the following line to your init file:

(add-hook 'after-init-hook 'global-company-mode)

To see or change the list of enabled back-ends, type M-x customize-variable RET company-backends. Also see its description for information on writing a back-end.

For information on specific back-ends, also check out the comments inside the respective files.

For more information, type M-x describe-function RET company-mode.

To customize other aspects of its behavior, type M-x customize-group RET company.

See Also


If you experience any problems or have a feature request, please use the issue tracker.


Company is subject to the same copyright assignment policy as Emacs itself, org-mode, CEDET and other packages in GNU ELPA. Any legally significant contributions can only be accepted after the author has completed their paperwork. Please ask for the request form, and we'll send it to you.

More Reading