My Avatar

LanternD's Castle

PhD Student in ECE @ MSU

Spacemacs Rocks Note Day 10


A series of notes that I learn Emacs hacking. More on cask and use-package, more on company-mode, backends, group-backends, how to write your own backend.


More on cask and use-package


(depends-on "monokai-theme" :git "" :ref "178dfc9")

Then we can install that stable version to avoid bugs.


company-mode advanced auto-completion


(add-hook 'python-mode-hook 
	  (lambda ()
	    (setq (make-local-variable 'company-backends) '(company-anaconda company-dabbrev))))

Group backend

(add-hook 'python-mode-hook 
	  (lambda ()
	    (setq (make-local-variable 'company-backends) '((company-anaconda company-dabbrev-code) company-dabbrev))))

Writing the Simplest Emacs company-mode Backend - Sixty-north

Sort candidates by statistics

Address this next time.

Disqus Comment 0