Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

When I start MathKernel from the Emacs shell, there are always extra spaces inserted so the cursor goes to the far right side of the screen.

For example

% emacs -q M-x shell /Applications/Mathematica.app/Contents/MacOS/MathKernel


Mathematica 9.0 for Mac OS X x86 (64-bit)  
Copyright 1988-2013 Wolfram Research, Inc.
In[1]:=                                                                       |<-

where I am using |<- to show where the cursor is after the 70 whitespace characters are inserted after In[1]:=.

Does anyone knows why such a thing happens and how to prevent it?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.