Reputation: 55273
I downloaded Auto-Complete from here: http://github.com/m2ym/auto-complete/downloads, I placed all the files from the .zip file in my load-path (C:\...Application Data\.emacs.d\plugins\auto-complete-1.0)
, and added the following to my .emacs:
;; load auto complete
(add-to-list 'load-path "~/.emacs.d/plugins/auto-complete-1.0")
(require 'auto-complete)
(global-auto-complete-mode t)
but an error message shows up:
.emacs:53:1:Error: Cannot open load file: auto-complete
Upvotes: 2
Views: 3490
Reputation: 73266
I use a trailing '/' with directory names (as per file-name-as-directory
). e.g.:
(add-to-list 'load-path (file-name-as-directory
(expand-file-name "~/.emacs.d/plugins/auto-complete-1.0")))
I rather doubt that's actually an issue, though.
Are your permissions appropriate for those files and directories?
Upvotes: 1
Reputation: 6983
Are you sure that ~
really expands to C:\...Application Data
? Do C-x d ~ RET
to be sure.
Upvotes: 1