Modular in-buffer completion framework for Emacs

View on GitHub

欧美色情图区哥哥去11rrrrt天天色综合科创板赚钱效应爆棚 新三板公司金证互通斥巨资打新


  雲瑯想了一下道︰“今後三年內,上林苑不宜飼養家禽,也不易大規模飼養豬牛羊。這是壞事,很大的壞事,對上林苑的百姓來說,沒可能變成好事。如果繞開上林苑,那麼,這場只限定于上林苑的瘟疫,對于周邊的窮山僻壤之地的百姓來說就是一個大好事。”   牛氏終于忍不住了,問起兒子的狀態。欧美色情图区哥哥去   張安世道︰“以我大母,大哥的胸懷,做出這樣事情不奇怪啊,我本來就沒有奢望,所以也就談不到失望。大師兄一把火把自己家燒成了白地,如果不是他還有一點理智的話,我估計他會殺掉他的父親,造成人倫慘劇。說起來,我不過淨身出戶而已,比大師兄好多了。”11rrrr   雲瑯怒道︰“過來,好不容易對你有點念想,別破壞了。”   “母後開始輸錢了,這跟你剛才說的情況不符合啊。”t天天色综合   信也,人言也,而人言最不可信。

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