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

From: Robert Pluim <[email-masked]>
Date: Fri, 23 Jun 2023 09:08:56 +0200

>>>>> On Thu, 22 Jun 2023 21:17:51 +0300, Juri Linkov <[email-masked]> said:

    Juri> diff --git a/etc/NEWS b/etc/NEWS
    Juri> index ca0d602e9ad..aa3b758a815 100644
    Juri> --- a/etc/NEWS
    Juri> +++ b/etc/NEWS
    Juri> @@ -696,7 +696,9 @@ between these modes while the user is inputting a command by hitting
    Juri>  'duplicate-line' duplicates the current line the specified number of times.
    Juri>  'duplicate-dwim' duplicates the region if it is active.  If not, it
    Juri>  works like 'duplicate-line'.  An active rectangular region is
    Juri> -duplicated on its right-hand side.
    Juri> +duplicated on its right-hand side.  The new user option
    Juri> +'duplicate-line-final-position' specifies where to move point
    Juri> +after duplicating the line.

The first thing that springs to mind here is "where on the line is
point placed?". At the beginning, end, same column as when
duplicate-line was invoked? (I know I could just read the code, but
the caffeine hasnʼt kicked in yet :-))

Robert
--