Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to sage-shell-edit #64

Open
Eloitor opened this issue Jul 21, 2022 · 0 comments
Open

Improvements to sage-shell-edit #64

Eloitor opened this issue Jul 21, 2022 · 0 comments

Comments

@Eloitor
Copy link

Eloitor commented Jul 21, 2022

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.
2. 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, ...
3. 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.
4. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant