I'm sending this to the list because I suspect I'm not the only one who will ever have this issue and the next person should now be able to google for it.
GNU Emacs 24.5.1 Darwin MacBook-Pro.lan 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64 I've been using racket-mode for a while now and enjoying it. I'm not sure what changed, but suddenly it is causing my .emacs to not load. These are the first two lines in my .emacs: (add-to-list 'load-path "~/.emacs.d/elpa/racket-mode-20161101.1859/") (require 'racket-mode) I don't recall how I installed racket-mode -- whether it was elpa, directly download, etc. When Emacs starts it throws up an error buffer saying: ------- Warning (initialization): An error occurred while loading `/Users/dstorrs/.emacs': File error: Cannot open load file, No such file or directory, s To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. ------- I've commented out everything else in the .emacs file so I know it's racket mode that is causing the issue. The error happens on the require line. I've attached the full output of the debug-init dump. I never shut Emacs down, so it's possible that I had this issue sometime long ago, resolved it for the current session, and then didn't see it again until today I decided that I would procrastinate by debugging this. Removing the (add-to-list 'load-path "~/.emacs.d/elpa/racket-mode-20161101.1859/") line and moving (require 'racket-mode) to the end of the .emacs file means that I still get the initialization error, but all of my customization has already been processed and everything including racket-mode is working fine. I have no idea what is up with this. Any thoughts on how to fix it? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Debugger entered--Lisp error: (file-error "Cannot open load file" "No such file or directory" "s") require(s) byte-code("\300\301!\210\300\302!\210\300\303!\207" [require racket-custom rx s] 2) require(racket-util) byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\207" [require racket-custom racket-keywords-and-builtins racket-util cl-lib] 2) require(racket-font-lock) byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\207" [require cl-lib thingatpt racket-custom racket-keywords-and-builtins racket-font-lock racket-indent racket-util] 2) require(racket-common) byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\207" [require cl-lib cl-macs racket-custom racket-common racket-complete racket-util hideshow] 2) require(racket-edit) byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\207" [require racket-edit racket-imenu racket-profile racket-repl racket-collection racket-bug-report racket-util easymenu] 2) require(racket-mode) eval-buffer(#<buffer *load*> nil "/Users/dstorrs/.emacs" nil t) ; Reading at buffer position 93 load-with-code-conversion("/Users/dstorrs/.emacs" "/Users/dstorrs/.emacs" t t) load("~/.emacs" t t) #[0 "\205\262 \306=\203 \307\310Q\202; \311=\204 \307\312Q\202; \313\307\314\315#\203* \316\202; \313\307\314\317#\203: \320\nB\321\202; \316\322\323\322\211#\210\322=\203a \324\325\326\307\327Q!\"\323\322\211#\210\322=\203` \210\203\243 \330!\331\232\203\243 \332!\211\333P\334!\203} \211\202\210 \334!\203\207 \202\210 \314\262\203\241 \335\"\203\237 \336\337#\210\340\341!\210\266\f?\205\260 \314\323\342\322\211#)\262\207" [init-file-user system-type delayed-warnings-list user-init-file inhibit-default-init inhibit-startup-screen ms-dos "~" "/_emacs" windows-nt "/.emacs" directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" (initialization "`_emacs' init file is deprecated, please use `.emacs'") "~/_emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default"] 7 "\n\n(fn)"]() command-line() normal-top-level()