I'm using Emacs on Windows 10. I want to override key bindings, so after reading How to override major mode bindings, I installed use-package
with the built-in package manager (via M-x package-install RET use-package RET
). The package came from the package archive at http://melpa.milkbox.net/packages/
.
When I write (require 'bind-key)
in my .emacs
I get the error:
File is missing: Cannot open load file, No such file or directory, bind-key
Which makes I can't use the commands bind-key*
, bind-keys*
etc. What should I do to be able to use bind-key
?
use-package
? If you used the built-in package managerpackage.el
, e.g. viaM-x package-install RET use-package RET
, then it should have installedbind-key
along withuse-package
. If you installeduse-package
manually, then you need to installbind-key
separately as well. – Basil Jun 14 '18 at 21:15package-activated-list
is(auctex auto-complete popup use-package bind-key)
– user19551 Jun 14 '18 at 21:24(package-initialize)
in youruser-init-file
before trying to(require 'bind-key)
? Also, why the milkbox URL? Why not"http(s)://melpa.org/packages/"
? – Basil Jun 14 '18 at 21:28(package-initialize)
at the first line of my init file, everything works! The URL is one I found at http://ergoemacs.org/emacs/emacs_package_system.html when I was looking for how to install MELPA packages. – user19551 Jun 14 '18 at 21:33melpa.org
. – Basil Jun 14 '18 at 21:36