[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64185: proposal for new function: copy-line
From: |
Eli Zaretskii |
Subject: |
bug#64185: proposal for new function: copy-line |
Date: |
Thu, 22 Jun 2023 20:45:02 +0300 |
> From: Juri Linkov <juri@linkov.net>
> Cc: zkanfer@gmail.com, 64185@debbugs.gnu.org, me@eshelyaron.com
> Date: Thu, 22 Jun 2023 20:27:04 +0300
>
> > Patches welcome, but if you want to have this in Emacs 29, please
> > hurry up with the patches.
>
> This is both simple and general allowing to specify any number
> for the new line position counting from the first/last line,
> but only values 0, 1, and -1 are really useful:
Thanks, this LGTM, with one comment:
> +(defcustom duplicate-line-pos 0
> + "Where to put point after copying the line.
A better name for this would be duplicate-line-final-position or maybe
duplicate-line-point-position.
Also, please mention this variable in NEWS, where duplicate-line is
announced.
- bug#64185: proposal for new function: copy-line, Zachary Kanfer, 2023/06/20
- bug#64185: proposal for new function: copy-line, Eshel Yaron, 2023/06/20
- bug#64185: proposal for new function: copy-line, Eli Zaretskii, 2023/06/20
- bug#64185: proposal for new function: copy-line, Zachary Kanfer, 2023/06/21
- bug#64185: proposal for new function: copy-line, Eli Zaretskii, 2023/06/22
- bug#64185: proposal for new function: copy-line, Juri Linkov, 2023/06/22
- bug#64185: proposal for new function: copy-line, Eli Zaretskii, 2023/06/22
- bug#64185: proposal for new function: copy-line, Juri Linkov, 2023/06/22
- bug#64185: proposal for new function: copy-line,
Eli Zaretskii <=
- bug#64185: proposal for new function: copy-line, Drew Adams, 2023/06/22
- bug#64185: proposal for new function: copy-line, Juri Linkov, 2023/06/22
- bug#64185: proposal for new function: copy-line, Drew Adams, 2023/06/22
- bug#64185: proposal for new function: copy-line, Juri Linkov, 2023/06/22
- bug#64185: proposal for new function: copy-line, Drew Adams, 2023/06/22
- bug#64185: proposal for new function: copy-line, Juri Linkov, 2023/06/22
- bug#64185: proposal for new function: copy-line, Eli Zaretskii, 2023/06/22
- bug#64185: proposal for new function: copy-line, Zachary Kanfer, 2023/06/23
- bug#64185: proposal for new function: copy-line, Eli Zaretskii, 2023/06/23
- bug#64185: proposal for new function: copy-line, Robert Pluim, 2023/06/23