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

From: Mattias Engdegård <[email-masked]>
Date: Fri, 30 Jun 2023 19:13:26 +0200

29 juni 2023 kl. 09.13 skrev Juri Linkov <[email-masked]>:

> I don't know if this can be closed now, since a new option for
> duplicate-dwim could be created here as well.

Indeed, and here it is. It also fixes a bug when duplicating some rectangles, which arose from changes in Emacs 29.

There is only a single variable for both contiguous and rectangular regions; maybe we should have them separate -- not sure.

Since this is intended for emacs-29, I'm posting it here for approval first.