Modular in-buffer completion framework for Emacs

View on GitHub



今年是中國“十三五”規劃開局之年,習主席此訪是今年中國的第一場重大外交活動。縱觀習主席的外交旅程,此次中東之行是實現外交全覆蓋的最後一 環,各方對此廣泛期待。沙特是20國集團中唯一的阿拉伯國家,在阿拉伯和伊斯蘭世界具有重要影響。沙特被定為習主席此行的第一站,亦是習主席訪問的第一個 阿拉伯國家,意義重大,涵義深遠。 除上述政府機關及公共機構外,各省(區、市)其他政府機關及公共機構,2014年購買的新能源汽車佔當年配備更新總量的比例不低于10%(其中 京津冀、長三角、珠三角細微顆粒物治理任務較重區域的政府機關及公共機構購買比例不低于15%);2015年不低于20%;2016年不低于30%,以後 逐年提高。奇米网 中國銀河國際分析員布家杰認為,考慮到新能源汽車強勁的生產量和銷售勢頭,以及政府不斷推出新能源汽車的利好政策,中國很可能將在2015年成 為世界上最大的新能源汽車市場(以運行率計算)。他認為,由于政府出台利好政策並持續投資新能源汽車的基礎設施,因此,新能源汽車供應鏈的前景仍然正面, 擁有較強研發能力的電動汽車相關企業,將是政府出台新能源汽車政策下的主要受益者。蝌蚪窝 黨的十八大以來,黨內法規制度建設步伐加快︰修訂廉政準則,樹立看得見、摸得著、夠得到的高標準;修訂紀律處分條例,劃出黨組織和黨員不可觸踫的底線;修訂巡視工作條例,為巡視監督提供基本遵循和制度保障…… 發揮巡視“利劍”作用天天撸 具體來看,綜合個人所得稅制是對納稅人在一定時期內取得的各種來源和各種形式的收入加總,減除各種法定的扣除額後,按統一的稅率征收,例如美國現行就是這種個人所得稅制。

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