emacs-jupyter / jupyter

An interface to communicate with Jupyter kernels.
GNU General Public License v3.0
914 stars 89 forks source link

request raw history #510

Closed malb closed 7 months ago

malb commented 8 months ago

If raw is nil then with SageMath kernels the history we're getting is Integer(1) + Integer(2) if 1+2 was issued as a command before, i.e. SageMath does some heavy processing of inputs.

malb commented 8 months ago

There might be a reason I'm missing why :raw nil was set, but I figured a PR that you can accept and decline is quicker than an issue first.

nnicandro commented 7 months ago

I don't think there was a reason why :raw nil was added, atleast not what I can gather from the commit history. I don't think setting :raw t would hurt anything, it is a better setting anyways since that is what the user types in at the REPL.