rejeep / drag-stuff.el

Drag stuff around in Emacs
233 stars 12 forks source link

Dragging stuff by symbol instead of word #9

Open luxbock opened 9 years ago

luxbock commented 9 years ago
rejeep commented 9 years ago

Can you add some tests for this please!?

duianto commented 3 years ago
This seems to be working as expected. Cursor = [] S-M-; (drag-stuff-symbol-left 1) RET
Before word-1 word-2 w[o]rd-3 word-4
After word-1 w[o]rd-3 word-2 word-4 !

The cursor was on the second character, because there is an issue with dragging left or right from the word/symbols first character:

It's been reported here: bug: drag-left cursor at word[0], drags left neighbour word #29