Modular in-buffer completion framework for Emacs

View on GitHub



  暗道的走向與始皇陵所在的方向並不一致,這也是雲瑯能夠沉穩到現在的原因。   劉徹揮揮手道︰“回扶荔城去吧,看守好門戶,有用到你的時候。”97在线观看视频   雲瑯冷哼一聲道︰“陛下的眼楮里從來揉不得沙子,論身份,匈奴太子左賢王於單的身份不比渾邪王高?結果,於單是什麼下場?被陛下派人閹割之後充作優伶,每日以歌舞娛人,兩年功夫就死的骨頭都不剩了。我甚至懷疑,目前這位渾邪王天知道是不是繡衣使者派人假扮的,真的渾邪王說不定也早就被閹割後在宮中給陛下跳舞呢。說起來,這世上最恨匈奴人的人就是陛下了,國仇家恨于一體的陛下,要是能對匈奴人仁慈大度才是怪事情。”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