Subject: bug#64185: proposal for new function: copy-line

From: Mattias Engdegård <[email-masked]>
Date: Sat, 1 Jul 2023 12:07:15 +0200

1 juli 2023 kl. 11.53 skrev Eli Zaretskii <[email-masked]>:

> In a way that doesn't make any significant changes in
> rectangle--duplicate-right, for example.

That's just the part of duplicate-dwim that lives in rect.el.

> The difference is that (a) duplicate-line was a feature which was
> explicitly requested by the bug report which caused its
> implementation, and (b) the changes for duplicate-line were much
> simpler and easier to reason about.

They weren't really simpler, but that's not the point. It's about finishing a job properly.
I certainly understand the motivation behind the bug and see that it applies to duplicate-dwim as well.
We usually don't respond to requests by narrowly implementing just what the reporter asked about and nothing else.