I am currently trying to install ENSIME for emacs 24.3.1 following the instructions at https://github.com/ensime/ensime-emacs under the quick start; I've added
(require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) (package-initialize) (when (not package-archive-contents) (package-refresh-contents))
to my .emacs file, as instructed. However, when I restart and do M-x package install [RETURN]ensime[RETURN], it returns [No Match] and indeed, I can't find it when I list the packages. However, I can easily find it at http://melpa.milkbox.net/#; what would be causing the discrepancy between what is available through the website and when can be installed from emacs?
Any help is much appreciated; Thank you!
Load the File Manually To use the package, all you have to do is to make emacs load the file. Alt + x load-file then give the file path. Now, emacs is aware of the package. To activate, call the command in the package.
I had to run M-x package-refresh-contents. Once I did that, the files were found.
Here's what my .emacs looks like:
(cond ((>= 24 emacs-major-version) (require 'package) (package-initialize) (add-to-list 'package-archives '("melpa-stable" . "http://stable.melpa.org/packages/") t) (package-refresh-contents) ) )
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With