Modular in-buffer completion framework for Emacs

View on GitHub



  撓完癢癢,又發現甦稚的干果盤子空了,又砸了七八個從西域弄來的核桃放在干果盤子里供甦稚磨牙。   曹襄的回答讓雲瑯苦笑不已,他自己知道,如果自己真的是聰慧絕倫之輩,當年早清華北大了,哪里用得著去學怎麼修飛機。2017一本道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