bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Robert Pluim
Subject: bug#64185: proposal for new function: copy-line
Date: Fri, 23 Jun 2023 09:08:56 +0200

>>>>> On Thu, 22 Jun 2023 21:17:51 +0300, Juri Linkov <juri@linkov.net> 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
-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]