Re: move-lines.el: a lazy programmer's package to move lines around

Philip Kaludercic <[email protected]> Fri, 31 Jul 2026 18:42:53 +0000
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
Juri Linkov <[email protected]> writes:

>> I think something like this would be better added to Emacs
>> itself instead of as a micro-package.
>
> A good place for this command is lisp/misc.el after
> related commands 'duplicate-line' and 'duplicate-dwim'.
>
> PS: This command is also similar to 'C-x TAB <left> <right>'
> that moves the selected region vertically instead of
> horizontally that move-lines is intended to do.

I hadn't thought about this but yes!  In that case, it would also make
sense for the command to include some kind of repeat map.