sagemath / sage-shell-mode

Emacs front end for SageMath
GNU General Public License v3.0
98 stars 16 forks source link

When repr(obj) contains a newline character, an extra blank line is inserted. #30

Open stakemori opened 7 years ago

stakemori commented 7 years ago

In Sage 7.4, if repr(obj) contains a newline character, an extra blank line is inserted. One can reproduce this in Sage in the terminal, e.g.

sage: matrix(QQ, 2)

[0 0]
[0 0]
EmmanuelCharpentier commented 7 years ago

I saw your recent update, and installed it. We're almost there, as shown by this screenshot :

capture d ecran de 2017-01-08 14-34-54

the superfluous blank line still exists for matrix output, bu has disappeared from typeset output (and plots).

HTH,