Modular in-buffer completion framework for Emacs

View on GitHub



  宋喬含淚點頭,雲瑯笑了一下道︰“最快一年,最慢兩年,我一定會回來,看好家,照顧好孩子,寧願不思進取也不要情急冒進,一切等我回來就好了。莊園的事情多听劉婆,梁翁的,外面的事情多問問平遮,他有一個老奸巨猾的老子,應該能給你一個不錯的答案。”   雲瑯嘆息一聲,重重的在郭解的肩背上拍了一巴掌道︰“好樣的,誤會說開了也就沒事了。既然我把你帶來了白登山,那麼,你就安心的在白登山干上一兩年,我保證,你回到長安之後,官升三級沒有任何困難!”99re8在这里只有精品2   瞎子河上的鐵索橋,已經修建完畢,謝長川帶著裴炎一干將校站在這座橋上感慨不已。99re6久久在热线视频   在這個偏僻的地方,誰能如此大興土木,誰又能有資格如此大興土木呢,只有冒頓!”   在快要回到匈奴人群的時候,彭春忽然大聲道︰“將軍,以後如果還有失陷我軍的漢人,你們願不願意贖回?”男人都来的每日更新的免费网!   匈奴人準備了一個月,雲瑯也黑著心腸壓榨了鬼奴一個月,每日里都有鬼奴的尸體被丟進瞎子河……

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