astoff / code-cells.el

Emacs utilities for code split into cells, including Jupyter notebooks
GNU General Public License v3.0
180 stars 11 forks source link

Define code-cells-move-cell-{up,down} #9

Closed daanturo closed 2 years ago

daanturo commented 2 years ago

Allow moving current code cell up and down. Edit: key bindings aren't decided yet.

astoff commented 2 years ago

I think this is an useful addition.

I'm considering submitting this package to GNU ELPA eventually, so I wanted to check if you signed the FSF copyright papers or are willing to do so. Sorry for not mentioning anything in the Readme (yet).

daanturo commented 2 years ago

I have already signed the copyright paper.

astoff commented 2 years ago

Sorry for the long delay. Just wanted to check, what is the purpose of the use-region argument of code-cells--bounds-of-cell-relative-from?

daanturo commented 2 years ago

I don't remember it's usage anymore, let's just delete it.

astoff commented 2 years ago

Okay, thanks! I'll add keybindings and simplify your code a bit further, I hope you don't mind.