El autocompletado de Emacs instalado por Package desde http://marmalade-repo.org/ no funciona
Frecuentes
Visto 5,507 veces
8
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?
3 Respuestas
4
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)
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
1
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)
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
0
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.
(ac-config-default)
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 emacs autocomplete elisp marmalade emacs24 or haz tu propia pregunta.
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. - Pedro Rolo