GNU Emacs 23.2.1
I have downloaded rainbow-delimiters.el
and put into the following directory:
~/.emacs.d/site-list/rainbow/
In my emacs configuration file, I have the following:
(add-to-list 'load-path "~/.emacs.d/site-list/rainbow")
(require 'rainbow-delimiters)
However, when I try and start emacs I get the following error:
File error: Cannot open load file, rainbow-delimiters
Can anyone point me in the right direction?
The code looks all-right, I would put my money on a typo. In fact, the traditional name is site-lisp
(i.e. with a p
and not a t
), maybe you put the file in site-lisp
but wrote site-list
in your init file?
You can try giving the load path to the file, rather than the folder like,
(add-to-list 'load-path "~/.emacs.d/site-list/rainbow/rainbow-delimiters.el") (require 'rainbow-delimiters)
If you have already set up the Emacs startup kit (https://github.com/technomancy/emacs-starter-kit) or a fork of it, you can install rainbow delimiters like below:
package-list-packages
(this opens a buffer with list of installable packages)C-s rainbow
)The above steps will install, also load the package (evaluates the file buffer) and the rainbow delimiters is ready for use.
I was trying to start over with a minimal new init file, and was getting Cannot open load file
for (require 'dired-details)
.
Realized I forgot to include (package-initialize)
in my init file. (Necessary since that is the manager I am using.)
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