Modular in-buffer completion framework for Emacs

View on GitHub

婷婷五月天深爱五月天俺去啦俺去也图片anquye俺去也每日基金必读:公募侧袋机制将出 两家公司高管变更


  雲瑯冷笑一聲道︰“不用擔心,已經知道了,如果不知道的話,他不會來到受降城任職的。都說老子英雄兒好漢,現在看起來此話大謬!帶他去傷兵營接骨,不得踏出傷兵營一步,否則軍法無情!”   劉徹繼續用玉如意撓著後背道︰“回去想了,發現這個混蛋說的很在理啊,我確實是一個敗家子,一個需要老婆救助的敗家子……有些丟人啊。對了,我現在欠你多少錢來著?”婷婷五月天深爱五月天   何愁有披頭散發,頭盔不知道哪里去了,如今坐在一具尸體上不斷地咳嗽著,隱隱有血絲從嘴角溢出來。俺去啦俺去也图片   有些人的功績需要時間來發酵,時間越久,就越是醇香,在這個過程中,渣滓慢慢的沉底,慢慢的被人遺忘,只留下一個悲苦而又堅韌的大漢人扶著沒了穗子的旌節,在雪中吞氈牧羊。   “阿瑯來了?”李敢抓著腦袋問霍去病,因為這種指路的方式完全是雲瑯的風格,以前在騎都尉的時候設立訓練場地的時候,他就是這麼標識方向的。anquye俺去也   小狗子答應一聲,就站在爬犁邊上,瞅著剩余的五個奸細笑道︰“老祖宗的話你們應該听到了,我們只要三個活的,只有最有用的人才能活著,沒用的人,只能拿去喂狼!”

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