I have some proposals to improve the behavior of sage-shell-edit:
1, After C-c C-j, I would like to automatically jump to the next line.
If I'm on the first line of
for i in range(10):
print(i)
I would like C-c C-j to send to sage all the indented code all at once. The same goes for function definitions, conditionals, ...
I would like C-c C-r to reference which region of the code is being run, load('/tmp/sage_shell_modeUYVbcC/sage_shell_mode_temp.sage') doesn't mean much... maybe a reference to the line numbers could be an option, or if the region are a few lines, I would like the lines to be send directly.
After the code has run, sometimes I would like to include the results as comments in the file I'm working with.
I think that I could solve the first issue in my configuration, but it can take me some time, I don't know how to handle the rest.
I have some proposals to improve the behavior of sage-shell-edit:
1, After
C-c C-j
, I would like to automatically jump to the next line.I would like
C-c C-j
to send to sage all the indented code all at once. The same goes for function definitions, conditionals, ...C-c C-r
to reference which region of the code is being run,load('/tmp/sage_shell_modeUYVbcC/sage_shell_mode_temp.sage')
doesn't mean much... maybe a reference to the line numbers could be an option, or if the region are a few lines, I would like the lines to be send directly.I think that I could solve the first issue in my configuration, but it can take me some time, I don't know how to handle the rest.