Skip to content

Improvements to sage-shell-edit #64

Open
@Eloitor

Description

@Eloitor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions