{"action":"created","issue":{"url":"https://api.github.com/repos/cheunghy/ac-html/issues/31","labels_url":"https://api.github.com/repos/cheunghy/ac-html/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/cheunghy/ac-html/issues/31/comments","events_url":"https://api.github.com/repos/cheunghy/ac-html/issues/31/events","html_url":"https://github.com/cheunghy/ac-html/issues/31","id":104982787,"number":31,"title":"Symbol's function definition is void: ac-html-define-ac-source","user":{"login":"cdwfs","id":1944792,"avatar_url":"https://avatars.githubusercontent.com/u/1944792?v=3","gravatar_id":"","url":"https://api.github.com/users/cdwfs","html_url":"https://github.com/cdwfs","followers_url":"https://api.github.com/users/cdwfs/followers","following_url":"https://api.github.com/users/cdwfs/following{/other_user}","gists_url":"https://api.github.com/users/cdwfs/gists{/gist_id}","starred_url":"https://api.github.com/users/cdwfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdwfs/subscriptions","organizations_url":"https://api.github.com/users/cdwfs/orgs","repos_url":"https://api.github.com/users/cdwfs/repos","events_url":"https://api.github.com/users/cdwfs/events{/privacy}","received_events_url":"https://api.github.com/users/cdwfs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-04T22:46:30Z","updated_at":"2015-09-08T16:54:44Z","closed_at":null,"body":"I use the ac-html package out of MELPA. Sometime last week I started getting an error message at startup that ac-html-define-ac-source is undefined. Curiously, it's only happening on my Linux system (Emacs 24.3.1); the same suite of packages works fine on Windows (Emacs 24.5.1). Do you have any idea what might be causing this error? I'm afraid I don't have much more to offer than that; my elisp-fu is pretty weak. I'm happy to provide further information about my setup if necessary."},"comment":{"url":"https://api.github.com/repos/cheunghy/ac-html/issues/comments/138632512","html_url":"https://github.com/cheunghy/ac-html/issues/31#issuecomment-138632512","issue_url":"https://api.github.com/repos/cheunghy/ac-html/issues/31","id":138632512,"user":{"login":"cdwfs","id":1944792,"avatar_url":"https://avatars.githubusercontent.com/u/1944792?v=3","gravatar_id":"","url":"https://api.github.com/users/cdwfs","html_url":"https://github.com/cdwfs","followers_url":"https://api.github.com/users/cdwfs/followers","following_url":"https://api.github.com/users/cdwfs/following{/other_user}","gists_url":"https://api.github.com/users/cdwfs/gists{/gist_id}","starred_url":"https://api.github.com/users/cdwfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdwfs/subscriptions","organizations_url":"https://api.github.com/users/cdwfs/orgs","repos_url":"https://api.github.com/users/cdwfs/repos","events_url":"https://api.github.com/users/cdwfs/events{/privacy}","received_events_url":"https://api.github.com/users/cdwfs/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T16:54:44Z","updated_at":"2015-09-08T16:54:44Z","body":"Thanks; there's definitely a few things in the setup code you posted that I'm not doing, so I'll be adding those for sure. However, this error seems to occur at package load time, before I hit any of my setup/custimization code for web-mode or ac. If I force it to break at init time by loading packages at the beginning of my init.el:\r\n```lisp\r\n(setq package-enable-at-startup nil)\r\n(package-initialize)\r\n```\r\nand running `emacs --debug-init`, here's the backtrace I get:\r\n```\r\nDebugger entered--Lisp error: (void-function ac-html-define-ac-source)\r\n  (ac-html-define-ac-source \"haml\" :tag-prefix \"%\\\\(.*\\\\)\" :attr-prefix \":\\\\(.*\\\\)\" :attrv-prefix ac-haml-attrv-prefix :current-tag-func ac-haml-current-tag :current-attr-func ac-haml-current-attr)\r\n  eval-buffer(#<buffer  *load*-825801> nil \"/home/cort/.emacs.d/elpa/ac-html-20150904.2032/ac-html-autoloads.el\" nil t)  ; Reading at buffer position 388\r\n  load-with-code-conversion(\"/home/cort/.emacs.d/elpa/ac-html-20150904.2032/ac-html-autoloads.el\" \"/home/cort/.emacs.d/elpa/ac-html-20150904.2032/ac-html-autoloads.el\" nil t)\r\n  load(\"/home/cort/.emacs.d/elpa/ac-html-20150904.2032/ac-html-autoloads\" nil t)\r\n  package-activate-1(ac-html [(20150904 2032) ((auto-complete (1 4)) (s (1 9)) (f (0 17)) (dash (2 10))) \"auto complete source for html tags and attributes\"])\r\n  package-activate(ac-html (20150904 2032))\r\n  package-initialize()\r\n  eval-buffer(#<buffer  *load*> nil \"/home/cort/.emacs.d/init.el\" nil t)  ; Reading at buffer position 480\r\n  load-with-code-conversion(\"/home/cort/.emacs.d/init.el\" \"/home/cort/.emacs.d/init.el\" t t)\r\n  load(\"/home/cort/.emacs.d/init\" t t)\r\n  #[0 \"\b\\205\\262\u0000\t\\306=\\203\u0011\u0000\\307\b\\310Q\\202;\u0000\t\\311=\\204\u001E\u0000\\307\b\\312Q\\202;\u0000\\313\\307\\314\\315#\\203*\u0000\\316\\202;\u0000\\313\\307\\314\\317#\\203:\u0000\\320\\nB\u0012\\321\\202;\u0000\\316\\322\u0013\\323\u0001\\322\\211#\\210\u000B\\322=\\203a\u0000\\324\\325\\326\\307\b\\327Q!\\\"\\323\u0001\\322\\211#\\210\u000B\\322=\\203`\u0000\u0001\u0013\\210\u000B\\203\\243\u0000\\330\u000B!\\331\\232\\203\\243\u0000\\332\u000B!\\211\\333P\\334\u0001!\\203}\u0000\\211\\202\\210\u0000\\334\u0002!\\203\\207\u0000\u0001\\202\\210\u0000\\314\\262\u0002\u0001\\203\\241\u0000\\335\u0002\u000B\\\"\\203\\237\u0000\\336\\337\u0003\u000B#\\210\\340\\341!\\210\u0001\u0013\\266\u0002\\f?\\205\\260\u0000\\314\u001D\\323\\342\\322\\211#)\\262\u0001\\207\" [init-file-user system-type delayed-warnings-list user-init-file inhibit-default-init inhibit-startup-screen ms-dos \"~\" \"/_emacs\" windows-nt \"/.emacs\" directory-files nil \"^\\\\.emacs\\\\(\\\\.elc?\\\\)?$\" \"~/.emacs\" \"^_emacs\\\\(\\\\.elc?\\\\)?$\" (initialization \"`_emacs' init file is deprecated, please use `.emacs'\") \"~/_emacs\" t load expand-file-name \"init\" file-name-as-directory \"/.emacs.d\" file-name-extension \"elc\" file-name-sans-extension \".el\" file-exists-p file-newer-than-file-p message \"Warning: %s is newer than %s\" sit-for 1 \"default\"] 7 \"\\n\\n(fn)\"]()\r\n  command-line()\r\n  normal-top-level()\r\n```"}}