Modular in-buffer completion framework for Emacs

View on GitHub



  我嘴唇露出一絲冷笑,這怪得了誰?他本來前途無量,可他自己選擇了背叛,這個局面,根本是咎由自取——他有什麼資格惋惜,有什麼資格跟我談人生?藥不然大概是看到了我一臉嘲諷的神色,又發了一條信息過來︰你知道,人活在這個世上,總要堅持一些看起來很蠢的事。   高金貴見張泰要去,不由一愣。那捕役只要帶一個曹官保的親屬去就成了,管是什麼人,向張泰一拱手道︰“那先生隨我來吧。”狠狠社   第二個是邢郎中的藥堂。2017亚洲天天啪天天日   高紉蘭這才走了過來,說道︰“泰哥,表哥又來找你做什麼?他這人最壞,你別理他。泰哥,你都吃完了啊?還要不要?我去看看下面還有沒有。”   聲音很隨和,但樓下的高金貴卻有點頭皮發麻。來的是個三十幾歲的漢子,穿了一身捕役的制服,腰間纏著法繩,還別了塊腰牌。他道︰“是……是啊,爺台有什麼事麼?”好吊色视频在线精品   “你是在想,為何明明算定他不是自在堂門下,卻還要浪費人手監視他吧?”

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