rejeep / drag-stuff.el

Drag stuff around in Emacs
233 stars 12 forks source link

bug: drag-stuff-up messes up following line #35

Open betaprior opened 4 years ago

betaprior commented 4 years ago

Example:

(
    foobar
    foo
    ;; baz
)

Try to drag foo one line up. Result:

(
    foo
    foobar    ;; baz
)

Note that this was in elisp mode, and the fact that ;; baz started with a comment was necessary for the repro.

duianto commented 3 years ago

It seems to be working as expected for me.

With only Emacs and the drag-stuff package installed.

Observed

(
    foo
    foobar
    ;; baz
)

System Info

drag-stuff-20161108.749
GNU Emacs 27.1 (build 1, x86_64-w64-mingw32) of 2020-08-21
Windows 10 Version 2004 (OS Build 19041.804)