Modular in-buffer completion framework for Emacs

View on GitHub

av电影亚洲av欧美av枫叶教育跌近6% 上学期入读学生人数增长逊预期


  陸老大絲毫沒有察覺,他還在眼巴巴地看著黎舟跟他商量,“要不,要不你就多等一天,明兒一早你媽就回來了,你等她船回島,到了你瞧一眼就認出來了!”   黎舟想多給一點錢,那婆婆立刻搖頭道︰“水不要錢的,不要錢!”av电影   江心遠怒火中燒,又呵斥道︰“黎江,跟你說話听到沒有!”亚洲av   葉紅玉搖頭,她眼角還濕潤著︰“能活著,還能見著,我就滿足了……他還活著,你瞧見沒有,他長大了,什麼都好,剛還喊我一聲‘阿姨’。”   黎江又擠了牙膏端了水杯過來,在一旁看他刷牙。欧美av   老頭覺得黎舟運氣不錯,也樂意跟他說話,有黎舟這個小帥哥在這,臨近中午的時候還把那套“元青花俄羅斯套娃”賣出去了,7塊5的高價,讓一個來逛街的小姑娘買走了,臨走還紅著臉多看了黎舟好幾眼,黎舟感受到視線,抬頭的時候,那姑娘就捂著嘴笑著跑走了。

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