When I start Mathematica, the first evaluation always takes forever even it's as simple as
x = 2, and when I halt the evaluation with
Alt + . and restart it again, it runs as expected but the variable that's been assigned a value won't be marked as black. Besides, my user-defined functions on
$UserBaseDirectory\kernel\init.m are highlighted but not interpreted correctly.
I have both Mathematica 9.0 and 10.4 on my Win 7 PC and the problem happens on the front end of both versions but not the kernels, so I think it has to do with some front end initialization module shared among all versions. But I'm not familiar with the infrastructre of Mathematica, so what should I check?