view .elisp/settings/10.company.el @ 336:ea73ef5dc38c

emacs: avoid weird package.el breakage with newish packages I've been toting around this package.el from 2009 or so, and something in the package format seems to have changed that broke me. Thanks to some related diagnostics by Lucas, I've grabbed the last package.el that worked with emacs 23 and stashed it here. This seems to work, modulo some things (notably js2-mode and smex) now seem to require emacs 24 if you install them using package.el, so this will end up being brittle on my last couple of emacs23 machines.
author Augie Fackler <raf@durin42.com>
date Thu, 29 May 2014 14:30:42 -0400
parents 46979cef73b6
children
line wrap: on
line source

(require 'company)
;; bigger popup window
(setq company-tooltip-limit 20)
;; autocomplete right after '.'
(setq company-minimum-prefix-length 0)
;; shorter delay before autocompletion popup
(setq company-idle-delay .3)
;; removes annoying blinking
(setq company-echo-delay 0)
;; start autocompletion only after typing
(setq company-begin-commands '(self-insert-command))