You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the main entry use a "shim" module with minimal imports, that
dynamic-require's everything else under an exn handler that looks for
exn:fail:syntax:missing-module. Report that to the front end, which
uses a new buffer to surface a message and advice for end user --
which is much better than something flashing by the in the echo area
and then only being viewable if user opens the *Messages* buffer.
While we have the hood open, do something similar for the error
regarding not having a sufficiently new version of Racket.
(insert"The Racket Mode back end could not start because it was unable to load the module "
391
+
?' data ?'"."
392
+
"\n\n"
393
+
"This could be because you did not install the full \"main distribution\" of Racket, but instead installed only \"Minimal Racket\" (the default when using homebrew)."
394
+
"\n\n"
395
+
"In that case, you will need either to install the full main distribution, or, manually install certain additional Racket packages."
396
+
"\n\n"
397
+
"Please see ")
398
+
(save-excursion;leave point at start of link, for handy RET
0 commit comments