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

Stéphane Marks <[email protected]> Thu, 30 Jul 2026 16:18:36 +0200
Newsgroups gmane.emacs.devel
Message-ID <CAN+1Hbr20DJ1GExHtDwXYvNzdvZY33hVkh3wx2yaV5Vv4DBTZg@mail.gmail.com>
On Thu, Jul 30, 2026 at 2:08 AM Pedro Andres Aranda Gutierrez <
[email protected]> wrote:

> Hi,
> I've been using this for some time now as an alternative to the move-text
> package and was thinking about the possibility of releasing it in elpa:
>
> https://codeberg.org/paaguti/move-lines
>

Without commenting on the value of the package itself, at the very least,
you need to namespace your internal functions like check-space which are
too generically named.  Something like move-lines--check-space and
move-lines--interactive-p-lr would be better and reduce the potential for
namespace pollution and unexpected behavior for your users.