rejeep / drag-stuff.el

Drag stuff around in Emacs
233 stars 12 forks source link

getting drag-stuff to work in rectangle selection mode #8

Open milkypostman opened 9 years ago

milkypostman commented 9 years ago

looks like emacs 25 introduces a rectangular selection mode, but with drag-stuff it doesn't do quite what you would expect it to do which is move the whole blob around. any idea about how feasible it would be.

rejeep commented 9 years ago

Currently there is no support for moving anything up/down except for one or more lines. It shouldn't be too hard to implement this. The package is well tested so we wouldn't have to worry about breaking anything.

I'm thinking that the solution is to check if the mode is enabled and then simply move that region (which is not supported ATM).

I'm neither using Emacs 25 nor rectangle selection mode, but you're welcome to take a stab at it.