Modular in-buffer completion framework for Emacs

View on GitHub

青青草在线视频日日操就去撸7亿光年外存在超大黑洞 质量为太阳400亿倍


  才跑出來,就看到一臉怪笑的霍光,彭琪連猶豫的過程都沒有,飛身撞開一扇窗戶,逃之夭夭。   紅袖也非常的憂慮。青青草在线视频   大長秋躬身應答之後有些頭疼的道︰“堂邑侯爵位不是陳爽,陳武兄弟的,是您的兄長陳須的。您啟用堂兄弟,卻致自己兄弟于不堪之地,這就是不仁!丞相趙周如今處境尷尬,他也不敢接您的旨意。”日日操   劉徹嘆口氣道︰“朕知道,你知道,雲瑯如何會不知道呢,所以他不會跟朕爭鋒的。不行啊,這天下如今安靜的厲害,如同死水一般安靜,這對朕來說不是好事情。如果在這個天下間,人人的訴求都能夠得到滿足,誰還在乎朕的存在呢?”   王溫舒看看窗外漸漸昏暗的天空,喝了一口茶水,抽抽鼻子道︰“半個時辰之後,渭水上有一艘掛著藍色旗子的貨船會停在我家後宅門口,他們只在岸邊停留一炷香的時間。如果一炷香的時間內,你們沒有上船,那就回陽陵邑去吧。”就去撸   甦稚道︰“我帶著你從張掖郡來到酒泉郡,就是給你自愈的機會,可是呢,直到現在,湯藥用了,按摩用了,沒有任何效果,你如果不願意開刀,現在就回去吧。”

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