Modular in-buffer completion framework for Emacs

View on GitHub



  朱買臣這個人雲瑯還是很熟悉的,主要是從戲文中知道的這個人,那一幕《朱買臣休妻》真是膾炙人口,大快人心,雲瑯當初看這一幕戲劇的時候非常的歡喜,尤其是到了朱買臣潑水要他妻子把水收回來的時候真是大快人心。   雲瑯並沒有留下來听何愁有絮叨,帶著劉二徑直去了水路碼頭。丁香五月   白石頭是從昆侖山腳下撿回來的,胡人們認為,那東西是昆侖山神的汗水,到處都是,唯一的花銷就是運費……天神總會流汗的,因此,白石頭也會無窮無盡。av电影   瞅著一個小小的羌人姑娘潑辣的唱著——今天晚上阿娘不在,你緣何不來我的窗前這樣的調子,才引起陣陣狼嚎,她彪悍的母親就沖出來,拍著閨女的屁股向眾人炫耀,這是一個好生養的,想要進入她閨女的房間,先要問過她才好。   雲瑯笑道︰“別小看任何人,幕煙在白狼口屯守十一年並不是尸位其上,而是對白狼口的防御有著長遠的打算。久草在线福利资源站   然後就听見胥吏大聲喊道︰“騎都尉軍司馬雲瑯嘗糧一口,唾還糧庫!”

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