Modular in-buffer completion framework for Emacs

View on GitHub



四六 国产自拍视频在线一区av电影 青青草国产偷拍在线av网站 一本道av免费高清无码A片 錢文端公,庚午典江西試。寫榜吏陳巨儒,須鬢如雪,求公贈手跡為榮;自陳年七十,手寫文武試三十二榜。公贈詩雲︰“桂籍憑伊腕力傳,白頭從事地行仙。自言作吏中書省,曾侍朱衣四十年。”十月,復寫武榜,解首則其孫騰蛟也。名初唱,掀髯一笑,筆墮于地。中丞阿公喜極,遣牙校馳箋,索藩司彭公家屏贈詩。彭方有劇務,幕中客擬數首,不稱公意。遣吏飛馬請蔣苕生來。蔣方與友飲酒肆;戀不肯行。吏敦促至再,扶鞭上馬,比至,則促召之使已四輩矣。彭公遽起,告以中丞索詩之使,立馬檐下。蔣笑曰︰“某不知公有此急也。”濡筆立題一絕雲︰“榜頭題處笑開眉,六十年來鬢若絲。官燭兩行人第一,夜闌回憶抱孫時。”彭公得詩狂喜,復酌苕生,送輕紗四端。苕生太夫人鐘氏,名令嘉,晚號甘荼老人;生心余,四歲,即斷竹絲作波磔,教之識字。嘗登太行山雲︰“絕磴馬蕭蕭,群峰氣勢驕。蒼雲橫上黨,寒色滿中條。極目河如帶,攔車雲未消。龍門劃諸水,禹力萬年昭。”乙酉歲,心余奉母出都,畫《歸舟安穩圖》,一時名公卿,題滿卷中。尹文端公謂余曰︰“此卷中無佳作,惟太夫人自題七章,陸健男太史四首,足傳也。”惜未抄錄。

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