Modular in-buffer completion framework for Emacs

View on GitHub

日本色情视频亚洲欧洲无码政策易松难紧 股市“钱途”可期


  司馬遷睜開眼楮一字一句的道︰“據實而錄,留與後人評說!”   當偌大的戰場只剩下趙破奴與羌人武士首領還在作戰的時候,霍去病終于發出了清理戰場的軍令。日本色情视频   如今,屠耆王的尸體就躺在軍臣單于的身邊,身子不能動彈的軍臣只要看一眼近在咫尺的屠耆王,眼淚就會不由自主的流出來。亚洲   長城從白登山延伸出去,沿著瞎子河一路向南,隨著河流在五十里外轉了一個大彎之後就一路向東,如果在高處看,這處新修的長城巍峨的不像話。   他手里多了兩個蠟丸。欧洲无码   霍去病坐起來,揉揉太陽穴道︰“這事交給阿瑯,我們四個人的功績如何弄到更多的東西,他比較有主意。如果能從陛下哪里弄到更多的土地,我覺得可以安置一些受傷的將士,這一次,死傷太慘重了。”

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