victorteokw / ac-html

Emacs auto complete source for html.
22 stars 9 forks source link

auto-complete error: (void-variable ac-source-html-attribute-value) #19

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hi, Just installed this package with cask, and follow the instructions for using with web-mode an soon as i open "<" gives me this error: auto-complete error: (void-variable ac-source-html-attribute-value)

Just started using emacs and suck very much at lisp but im pretty fascinated with it :) . Anything i could be doing wrong.

Regards and congrats, seems to be a awesome package judging by the screencast.

osv commented 9 years ago

I never use cask, only "package" and my local copy of lisp files You may need add to your config

(require 'ac-html)

If you get error "Cannot open load file: ac-html" you should add load-path like below

(add-to-list 'load-path "~/myEmacsFiles/ac-html")

Btw, you don't need to reastart each time emacs, you can eval some part of your config by "M-x eval-region".

ghost commented 9 years ago

It seems i just had to (require 'ac-html). I’ve been experimenting some configs with require and provide but it didn’t occur me that :) I like cask, for what i understand it avoids having to add paths to the load path list and it allows me to easily have a bleeding edge setup with cask update. Anyway i just followed this guy https://github.com/Remchi awesome tutorial.

Thank you very much for your help :)

osv commented 9 years ago

You need (require 'ac-html) because ac-html currently do not use

;;;###autoload

, little-bit later it will be fixed.

victorteokw commented 9 years ago

commit 5648b8c31c10d5a2c5efa00b924b8a306face887 fixed this issue.