Sign up ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

In Mathematica versions < 8, the FrontEnd has a very intelligent behavior:

  • On evaluation, it by default automatically scrolls down the Notebook window to the last printed Output cell but also allows a user to scroll the Notebook window up by hand and then does not scroll down the window again automatically.

  • If the user wishes to restore automatic scrolling it is sufficient to scroll down the window to the last currently printed Output cell and automatic scrolling will be restored.

I feel such behavior very comfortable. But in Mathematica 8 we have no such behavior by default. I found that it may be partially restored by setting

 EvaluationCompletionAction -> {"ScrollToOutput"}]

But then it is not possible to stop automatic scrolling by scrolling the window by hands. It is possible to restore the old scrolling behavior?

Through Mathematica 10.1 the old scrolling behavior has not been restored.

  • Have any new options come on line to control this?

  • Is there a hook to determine scroll position that might be used for a workaround?

  • Could PrintTemporary and/or Dynamic (which is active only when visible) be used to simulate the old behavior?

  • If the old behavior is simply not achievable what is the best alternative for a similar workflow?

share|improve this question
Welcome, Alexey! – Mr.Wizard Feb 18 '12 at 4:44
Actually, I found the old behaviour rather annoying. Quite distracting when you were editing and running evaluations at the same time. – Sjoerd C. de Vries Mar 17 '12 at 13:19
@Sjoerd With the old behavior we could not only edit the input during evaluation (as we can by default now) but also inspect already printed outputs from the running evaluation (by scrolling the page). And all of this without loosing automatic scrolling when we wish! I see no advantages in loosing this. – Alexey Popkov Mar 17 '12 at 19:09
Well, it happened to me quite a lot that I got drawn to the bottom of the print area at times I didn't want to be there and when I succeeded staying above the scroll area it wasn't very stable either. – Sjoerd C. de Vries Mar 17 '12 at 21:46
@Sjoerd I agree that editing during evaluation was not always stable (of course, it does not mean that this is bad idea itself). The main advantage of the old behavior is the ability to switch between inspecting of already printed outputs and automatic scrolling. – Alexey Popkov Mar 17 '12 at 22:56

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.