When I open emacs, the following messages appear in the *Messages*
buffer, and my init.el file (located at ~/.emacs.d/init.el
) doesn't load.
Loading 00debian-vars...done
Loading /etc/emacs/site-start.d/50cedet-common.el (source)...
Error while loading 50cedet-common: Cannot open load file: cedet-autogen
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50haskell-mode.el (source)...
Loading /usr/share/emacs/site-lisp/haskell-mode/haskell-site-file.el (source)...done
Loading /etc/emacs/site-start.d/50haskell-mode.el (source)...done
Loading /etc/emacs/site-start.d/50php-elisp.el (source)...done
Loading /etc/emacs/site-start.d/51speedbar.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
I can't find any helpful information about cedet when I google it or look on the emacs wiki. Oddly, when I use M-x eval-buffer
or M-x load-file
, everything works fine. HOME
is what it should be, and I'm running version 23.3.1
.
I had been trying to get jshint working with emacs before this happened, though I'm not sure if that's at all relevant https://github.com/daleharvey/jshint-mode.
You can use the command load-file ( M-x load-file , then press return twice to accept the default filename, which is the current file being edited). You can also just move the point to the end of any sexp and press C-x C-e to execute just that sexp.
Traditionally, file ~/. emacs is used as the init file, although Emacs also looks at ~/. emacs. el , ~/.
Emacs normally finds your init file in a location under your home directory. See The Emacs Initialization File. Emacs looks for your init file using the filenames ~/. emacs.
To create a new file, use Control-X-Control-F, just as if the file already existed. When emacs asks you for the file name, type in the name you want your new file to have, and emacs will create the file, and display an empty buffer for you to type in. Emacs will perform file name completion for you.
Remove the ~/.emacs
file first. See Emacs Wiki for more detail.
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