Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs auto-complete installed by Package from http://marmalade-repo.org/ doesn't work

I'm new to Emacs and the version is 24.

As mentioned in the title, I've installed auto-complete by M-x package-install from Marmalade-repo, and the files lies in ~/.emacs.d/elpa/auto-complete-1.4/.

Then I turned Emacs off and opened a new frame, but nothing happens when coding.

Do I need some configuration to make it run?

like image 618
rkk Avatar asked Aug 28 '12 13:08

rkk


2 Answers

I had this same issue. I fixed it by appending this to my .emacs

/auto-complete/manual.html#Manual_Installation

(add-to-list 'ac-dictionary-directories "~/.emacs.d/dict")
(require 'auto-complete-config)
(ac-config-default)
like image 102
elviejo79 Avatar answered Sep 17 '22 04:09

elviejo79


I had a similar problem. I tried what was suggested in the docs (and by elviejo), but that didn't work. I then tried to do what Pedro suggested, which did work :-) The code added to my init.el file is:

(require 'auto-complete)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
(require 'auto-complete-config)
(ac-config-default)
like image 32
Graham MacDonald Avatar answered Sep 21 '22 04:09

Graham MacDonald