简体   繁体   中英

(file-error “Cannot open load file” … error message in emacs

Invoking emacs, I got these error message.

Error: (file-error "Cannot open load file" "no such file or directory" "starter-kit-defuns")
Error: (file-error "Cannot open load file" "no such file or directory" "tex-site")

Looking into my .emacs.d directory, I see no "starter-kit-defuns" nor "tex-site" in it. I also don't remember explicitly install them.

Why do I have these errors? How to remove/resolve them?

在此处输入图片说明

This is the content of my init.el file. -> https://gist.github.com/prosseek/ec47ea3569b6f02721cf

When installing emacs, I used brew install emacs --HEAD --use-git-head --cocoa --srgb command as is described in this site . However, it seems that there are some bugs with the newest version - https://lists.gnu.org/archive/html/bug-gnu-emacs/2013-09/msg00135.html .

When I reinstalled emacs with brew install emacs --cocoa --srgb , the errors are gone.

I had the same problem after updating emacs through MacPorts. The "tex-site" error can be resolved by removing and re-installing your auctex using Mx package-list-packages .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM