El autocompletado de Emacs instalado por Package desde http://marmalade-repo.org/ no funciona

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 de 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?

preguntado el 28 de agosto de 12 a las 14:08

I have the same problem. Apparently auto-complete-mode does not get loaded. I have to enter (require 'auto-complete) in order to turn it on, and if I had this code to my .emacs it does not run. -

3 Respuestas

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


(add-to-list 'ac-dictionary-directories "~/.emacs.d/dict")
(require 'auto-complete-config)

Respondido el 16 de junio de 16 a las 19:06

or, of course, something like "~/.emacs.d/elpa/auto-complete-1.4/dict". y (require 'auto-complete-config) may need to come first. - danneu

I think the first line (add-to-list) is not needed - after installing auto-complete from marmalade, when I check the value of ac-dictionary-directories (utilizando C-h v) it already has ~/.emacs.d/elpa/auto-complete-1.4/dict - iainbeeston

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)

respondido 15 mar '13, 22:03

(require 'auto-complete) appeared to be mandatory on OS X con Emacs 24 - Geradlus_ES

@Geradlus_RU it appeared to NOT be mandatory on OSX with emacs 24 for me - Cafe electrico

I installed the Auto-Complete which hosted on the repositorio github. But the installation should resemble that installed by Package.

It seems that u forgot to turn the auto-complete-mode on. Add follow fragment to your .emacs.d file and have a try.


Respondido 28 ago 12, 15:08

~/.emacs or ~/.emacs.d/init.el - hbin

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.